sphinx_rtd_theme icon indicating copy to clipboard operation
sphinx_rtd_theme copied to clipboard

External Links in Sidebar are not styled

Open JakobDev opened this issue 3 years ago • 2 comments

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

JakobDev avatar Feb 22 '23 15:02 JakobDev

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.

benjaoming avatar Feb 23 '23 10:02 benjaoming

Yea, I just wanted a quick fix :)

ericholscher avatar Feb 23 '23 19:02 ericholscher