Skip to content

Commit

Permalink
Add helpful config for generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-grodek-dsai committed Nov 10, 2023
1 parent 8b9c882 commit 5b91929
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
html_theme = "sphinx_material"
html_static_path = ["_static"]

autosectionlabel_prefix_document = True

# Mapping to link other documentations
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
Expand Down
2 changes: 2 additions & 0 deletions {{ cookiecutter.repo_name }}/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]

autosectionlabel_prefix_document = True

# Mapping to link other documentations
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
Expand Down

0 comments on commit 5b91929

Please sign in to comment.