Skip to content

Commit

Permalink
Docs: fix broken links in search results
Browse files Browse the repository at this point in the history
Upgrade to sphinx-rtd-theme 2.0.x
to fix broken links in search results
(for searches rendered client side).

See sphinx-doc/sphinx#11608 (comment)
and readthedocs/sphinx_rtd_theme#1507
  • Loading branch information
medmunds committed Feb 29, 2024
1 parent 706fce6 commit f228466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/_static/anymail-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ table.sticky-left th:first-of-type[colspan] > p {
This makes code.xref's inside an <a> use standard link coloring instead.
[1]: https://github.com/rtfd/sphinx_rtd_theme/blob/0.4.2/sass/_theme_rst.sass#L293-L294
[2]: https://github.com/rtfd/sphinx_rtd_theme/blob/0.4.2/sass/_theme_rst.sass#L287-L289
[1]: https://github.com/readthedocs/sphinx_rtd_theme/blob/2.0.0/src/sass/_theme_rst.sass#L484
[2]: https://github.com/readthedocs/sphinx_rtd_theme/blob/2.0.0/src/sass/_theme_rst.sass#L477
Related: https://github.com/rtfd/sphinx_rtd_theme/issues/153
https://github.com/rtfd/sphinx_rtd_theme/issues/92
Related: https://github.com/readthedocs/sphinx_rtd_theme/issues/153
https://github.com/readthedocs/sphinx_rtd_theme/issues/92
*/
.rst-content a code.xref {
color: inherit;
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Pygments~=2.16.1
readme-renderer~=41.0
sphinx~=7.2
sphinx-rtd-theme~=1.3.0
sphinx-rtd-theme~=2.0.0

0 comments on commit f228466

Please sign in to comment.