sphinx_rtd_theme
sphinx_rtd_theme copied to clipboard
External Links in Sidebar are not styled
Problem
Give details on your issue.
Reproducible Project
Just add this to your conf.py
html_theme_options = {
"style_external_links": True
}
And this comes into your index.rst:
.. toctree::
:maxdepth: 2
Test <https://github.com/readthedocs/sphinx_rtd_theme>
Error Logs/Results
None
Expected Results
The External Link in the Sidebar should be styled as External Link, like all other External Links, but it does not.
Environment Info
- Python Version: 3.11.0
- Sphinx Version: 6.1.3
- RTD Theme Version: 1.2.1a1
CC: @ericholscher fun timing since we just added styling here: https://github.com/readthedocs/readthedocs.org/pull/10039
Maybe we should just move it to the theme, I think it's generally useful.
Yea, I just wanted a quick fix :)