Skip to content

Commit

Permalink
poetry: Update Sphinx and RTD-theme.
Browse files Browse the repository at this point in the history
We were not using a proper release for sphinx-rtd-theme
in order to work around some bugs. Meanwhile, a proper
release has come out, so let's upgrade to 1.0.0.

Also bump Sphinx to 4.4.

Also update and fix workarounds for cross references.
Fixes #98.
  • Loading branch information
laurensvalk committed Mar 22, 2022
1 parent 0a31bc7 commit 4101f9b
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 192 deletions.
13 changes: 1 addition & 12 deletions doc/common/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,7 @@
]

# not sure why, but this is needed for typing.IO in uselect
nitpick_ignore.append(('py:class', 'IO'))

# Workaround until change below is released.
# https://github.com/sphinx-doc/sphinx/commit/86091934db5ec593b4b0c982b7f08f3231ef995b
nitpick_ignore.extend([
('py:class', '0'),
('py:class', '1'),
('py:class', '2'),
('py:class', '3'),
('py:class', 'big'),
('py:class', 'little'),
])
nitpick_ignore.append(('py:obj', 'typing.IO'))

# -- Autodoc options ------------------------------------------------------

Expand Down

0 comments on commit 4101f9b

Please sign in to comment.