Skip to content

Commit 612ffcd

Browse files
authored
Merge pull request plone#1364 from plone/docs-include-changelog
Include CHANGELOG.md at the correct path, depending on context.
2 parents eb4c04e + d4d43ba commit 612ffcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
extensions = [
4545
"myst_parser",
4646
"sphinx.ext.autodoc",
47+
"sphinx.ext.ifconfig",
4748
"sphinx.ext.intersphinx",
4849
"sphinx.ext.todo",
4950
"sphinx_copybutton",
@@ -306,3 +307,4 @@ def source_replace(app, docname, source):
306307
def setup(app):
307308
app.add_config_value("source_replacements", {}, True)
308309
app.connect("source-read", source_replace)
310+
app.add_config_value("context", "documentation", "env")

0 commit comments

Comments
 (0)