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).
This commit is contained in:
parent
9285252fbc
commit
3c3cad5ae6
1
.gitignore
vendored
1
.gitignore
vendored
@ -53,6 +53,7 @@ _build
|
||||
######################
|
||||
genrst/
|
||||
/autoapi/
|
||||
/shared-bindings/**/*.rst
|
||||
|
||||
# ctags and similar
|
||||
###################
|
||||
|
1
conf.py
1
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'
|
||||
|
@ -21,4 +21,4 @@ Port Specific modules
|
||||
---------------------
|
||||
|
||||
.. toctree::
|
||||
../../autoapi/samd/index
|
||||
../../shared-bindings/samd/index
|
||||
|
@ -19,5 +19,5 @@ Modules
|
||||
:glob:
|
||||
:maxdepth: 2
|
||||
|
||||
../autoapi/*/index
|
||||
../shared-bindings/*/index
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user