mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Enable Sphinx auto section labels. Minor doc link fix.
This commit is contained in:
@@ -54,7 +54,10 @@ release = "0.7.0"
|
||||
# - No subnav making it really hard to navigate
|
||||
# - Kinda hacky setup https://stackoverflow.com/questions/2701998/sphinx-autodoc-is-not-automatic-enough
|
||||
# - I couldn't customise the template to show submodules above members which makes API discovery hard for users
|
||||
extensions = ["autoapi.extension"]
|
||||
extensions = ["autoapi.extension", "sphinx.ext.autosectionlabel"]
|
||||
|
||||
# Auto add document prefixes to help guarantee uniqueness of automatic section references.
|
||||
autosectionlabel_prefix_document = True
|
||||
|
||||
# We'll add the toctree entry ourselves to distinguish between C++ and Python
|
||||
autoapi_add_toctree_entry = True
|
||||
|
||||
Reference in New Issue
Block a user