Docs: fix broken links in search results

Upgrade to sphinx-rtd-theme 2.0.x
to fix broken links in search results
(for searches rendered client side).

See https://github.com/sphinx-doc/sphinx/issues/11608#issuecomment-1684410476
and https://github.com/readthedocs/sphinx_rtd_theme/pull/1507
This commit is contained in:
Mike Edmunds
2024-02-29 13:12:51 -08:00
parent 706fce60ac
commit a2c0ed6817
2 changed files with 5 additions and 5 deletions

View File

@@ -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. 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 [1]: https://github.com/readthedocs/sphinx_rtd_theme/blob/2.0.0/src/sass/_theme_rst.sass#L484
[2]: https://github.com/rtfd/sphinx_rtd_theme/blob/0.4.2/sass/_theme_rst.sass#L287-L289 [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 Related: https://github.com/readthedocs/sphinx_rtd_theme/issues/153
https://github.com/rtfd/sphinx_rtd_theme/issues/92 https://github.com/readthedocs/sphinx_rtd_theme/issues/92
*/ */
.rst-content a code.xref { .rst-content a code.xref {
color: inherit; color: inherit;

View File

@@ -3,4 +3,4 @@
Pygments~=2.16.1 Pygments~=2.16.1
readme-renderer~=41.0 readme-renderer~=41.0
sphinx~=7.2 sphinx~=7.2
sphinx-rtd-theme~=1.3.0 sphinx-rtd-theme~=2.0.0