Skip to content

Commit

Permalink
docs: Improve 5.0.x <-> main branch doc linkrot
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
jepler committed Jun 14, 2020
1 parent 9285252 commit 3c3cad5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ _build
######################
genrst/
/autoapi/
/shared-bindings/**/*.rst

# ctags and similar
###################
Expand Down
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
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'
Expand Down
2 changes: 1 addition & 1 deletion ports/atmel-samd/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Port Specific modules
---------------------

.. toctree::
../../autoapi/samd/index
../../shared-bindings/samd/index
2 changes: 1 addition & 1 deletion shared-bindings/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ Modules
:glob:
:maxdepth: 2

../autoapi/*/index
../shared-bindings/*/index
help

0 comments on commit 3c3cad5

Please sign in to comment.