Skip to content

Commit 50cac7f

Browse files
committed
Use sphinx.ext.autosectionlabel
1 parent 00f3ef9 commit 50cac7f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
# ones.
3131
extensions = [
3232
'sphinx.ext.autodoc',
33+
'sphinx.ext.autosectionlabel',
3334
'sphinx_rtd_theme',
3435
]
3536

@@ -205,6 +206,9 @@
205206
# Output file base name for HTML help builder.
206207
htmlhelp_basename = 'fmfdoc'
207208

209+
autosectionlabel_maxdepth = 2
210+
autosectionlabel_prefix_document = True
211+
208212
# -- Options for manual page output ---------------------------------------
209213

210214
# One entry per manual page. List of tuples

0 commit comments

Comments
 (0)