Skip to content

Commit ce1a0f1

Browse files
add myst-parser header anchor option to sphinx conf to avoid warnings (#33700)
* add myst-parser header anchor config option to get rid of sphinx warnings * trigger ci
1 parent 140e49a commit ce1a0f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/sphinx/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,3 +276,8 @@
276276

277277
# If false, no module index is generated.
278278
#latex_domain_indices = True
279+
280+
# Used my myst-parser
281+
# https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#syntax-header-anchors
282+
# Controls allowable header anchors in markdown files. Value allows header anchors for h1 - h6
283+
myst_heading_anchors = 6

0 commit comments

Comments
 (0)