Skip to content

Commit 937fdd0

Browse files
authored
Merge pull request #2555 from sir4ur0n/sir4ur0n/fixDocumentationRelativeLinkHeader
doc: Enable relative links with anchors
2 parents 15902b1 + 79b4c4c commit 937fdd0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,7 @@
8383
# relative to this directory. They are copied after the builtin static files,
8484
# so a file named "default.css" will overwrite the builtin "default.css".
8585
html_static_path = ['_static']
86+
87+
# Enable linking to an anchor of a relative page
88+
# See https://github.com/executablebooks/MyST-Parser/issues/443
89+
myst_heading_anchors = 2

0 commit comments

Comments
 (0)