Sphinx Documentation Generator's Option Parser

Richard Wilbur richard.wilbur at gmail.com
Fri Jun 24 08:37:52 UTC 2016


On Fri, Jun 24, 2016 at 2:32 AM, Richard Wilbur
<richard.wilbur at gmail.com> wrote:
> 1.  In plugins/en/conf.py I added:

import sphinx.domains.std
import re

sphinx.domains.std.option_desc_re = \
re.compile(r'((?:/|-|--)?[-\._a-zA-Z0-9]+)(\s*.*)')

(Forgot to mention 'import re'.)



More information about the bazaar mailing list