From 409867fcc625cc761e215b16adbeee67c983679f Mon Sep 17 00:00:00 2001 From: parulin <161326115+parulin@users.noreply.github.com> Date: Wed, 24 Sep 2025 06:44:52 -0400 Subject: [PATCH] Add style to external links in the menu Should fix QubesOS/qubes-issues#10260 --- _static/css/custom.css | 11 +++++++++++ conf.py | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 _static/css/custom.css diff --git a/_static/css/custom.css b/_static/css/custom.css new file mode 100644 index 00000000..52c3f08c --- /dev/null +++ b/_static/css/custom.css @@ -0,0 +1,11 @@ +.wy-menu.wy-menu-vertical a.reference.external::after { + /* \00a0 = no break space */ + content: "\00a0\f08e"; + font-family: FontAwesome; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + +} diff --git a/conf.py b/conf.py index f557617b..d4c1e1bf 100644 --- a/conf.py +++ b/conf.py @@ -85,7 +85,8 @@ html_theme_options = { html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/") -html_static_path = ['attachment/doc'] +html_static_path = ['attachment/doc', '_static'] +html_css_files = ['css/custom.css'] html_use_opensearch = "https://doc.qubes-os.org"