Skip to content

Commit 8978ca2

Browse files
kinowmr-c
authored andcommitted
Add autolabels so intersphinx can link to anchors like index#install
1 parent dbc4c4c commit 8978ca2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ value
5555

5656
# Folder created when using make
5757
cwltool_deps
58+
docs/_build/
59+
docs/autoapi/
60+

docs/conf.py

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
extensions = [
3939
"sphinx.ext.autodoc",
4040
"sphinx.ext.autosummary",
41+
"sphinx.ext.autosectionlabel",
4142
"sphinx.ext.intersphinx",
4243
"sphinx.ext.inheritance_diagram",
4344
"autoapi.extension",
@@ -46,6 +47,8 @@
4647
"sphinxcontrib.autoprogram",
4748
]
4849

50+
autosectionlabel_prefix_document = True
51+
4952
intersphinx_mapping = {
5053
"python": ("https://docs.python.org/3", None),
5154
"schema_salad": ("https://schema-salad.readthedocs.io/en/stable/", None),

0 commit comments

Comments
 (0)