Skip to content

Commit 255375d

Browse files
authored
Merge pull request pallets#2271 from davidism/collapse-changelogs
Collapse old changelog directives
2 parents 7bd54e9 + 75b8565 commit 255375d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
'flaskdocext'
3939
]
4040

41+
try:
42+
__import__('sphinxcontrib.log_cabinet')
43+
except ImportError:
44+
print('sphinxcontrib-log-cabinet is not installed.')
45+
print('Changelog directives will not be re-organized.')
46+
else:
47+
extensions.append('sphinxcontrib.log_cabinet')
48+
4149
# Add any paths that contain templates here, relative to this directory.
4250
templates_path = ['_templates']
4351

0 commit comments

Comments
 (0)