Merge pull request #2271 from davidism/collapse-changelogs

Collapse old changelog directives
This commit is contained in:
David Lord 2017-05-04 18:42:33 -07:00 committed by GitHub
commit 255375d72c

View file

@ -38,6 +38,14 @@ extensions = [
'flaskdocext'
]
try:
__import__('sphinxcontrib.log_cabinet')
except ImportError:
print('sphinxcontrib-log-cabinet is not installed.')
print('Changelog directives will not be re-organized.')
else:
extensions.append('sphinxcontrib.log_cabinet')
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']