Merge branch 'stable'

This commit is contained in:
shimizukawa
2015-01-17 16:05:00 +09:00
2 changed files with 3 additions and 1 deletions

View File

@@ -234,6 +234,7 @@ Bugs fixed
python-mecab is not installed.
* #1674: Do not crash if a module's ``__all__`` is not a list of strings.
* #1673: Fix crashes with :confval:`nitpick_ignore` and ``:doc:`` references.
* #1686: ifconfig directive doesn't care about default config values.
Documentation
-------------

View File

@@ -49,7 +49,8 @@ class IfConfig(Directive):
def process_ifconfig_nodes(app, doctree, docname):
ns = app.config.__dict__.copy()
ns = {k: app.config[k] for k in app.config.values}
ns.update(app.config.__dict__.copy())
ns['builder'] = app.builder.name
for node in doctree.traverse(ifconfig):
try: