summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-06-14 11:11:44 -0500
committerJeff Epler <jepler@gmail.com>2020-06-14 11:12:35 -0500
commit3c3cad5ae6f050150931373e1472098671779973 (patch)
treee321a3cb2622fa666eeae9b379fb6d4c97320ba9 /conf.py
parent9285252fbcbe4db654bc69621210883380fb6981 (diff)
docs: Improve 5.0.x <-> main branch doc linkrot
This improves, but does not entirely fix, the broken links that result from the autoapi change. It fixes module-level links, but class links still do not work (e.g., /shared-bindings/displayio/Palette.html (5.0.x) is now just /shared-bindings/displayio/#displayio.Palette).
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 3980ea8e1..06aab271b 100644
--- a/conf.py
+++ b/conf.py
@@ -79,6 +79,7 @@ autoapi_add_toctree_entry = False
autoapi_options = ['members', 'undoc-members', 'private-members', 'show-inheritance', 'special-members', 'show-module-summary']
autoapi_template_dir = 'docs/autoapi/templates'
autoapi_python_use_implicit_namespaces = True
+autoapi_root = "shared-bindings"
# The encoding of source files.
#source_encoding = 'utf-8-sig'