Merge pull request #2271 from davidism/collapse-changelogs
Collapse old changelog directives
This commit is contained in:
commit
255375d72c
1 changed files with 8 additions and 0 deletions
|
|
@ -38,6 +38,14 @@ extensions = [
|
||||||
'flaskdocext'
|
'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.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue