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.
[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;