From 0d904683b088c88a2abc736e78c4d959305f7a70 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Fri, 10 Oct 2025 16:56:49 +0200 Subject: [PATCH] Add external link icon and referrer settings Added configuration options for external link icons and referrer behavior. --- book/_config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/_config.yml b/book/_config.yml index 269ca9f..9c5ee2e 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -90,6 +90,8 @@ sphinx: # Options passed on to the #tippy_custom_tips # Default value not shown (line can be removed), creates custom tips, configuration part of TeachBooks-Sphinx-Tippy (https://teachbooks.io/manual/external/teachbooks-sphinx-tippy/README.html) tippy_enable_mathjax: true # Default value (line can be removed), enables tooltips for math equations, configuration part of TeachBooks-Sphinx-Tippy (https://teachbooks.io/manual/external/teachbooks-sphinx-tippy/README.html) #tippy_js # Default value not shown (line can be removed), sets the Javascript required to enable tooltips, configuration part of TeachBooks-Sphinx-Tippy (https://teachbooks.io/manual/external/teachbooks-sphinx-tippy/README.html) + new_tab_link_show_external_link_icon: true # Recommended value, false is default value, adds icon to external links, configuration part of sphinx-new-tab-link (https://pypi.org/project/sphinx-new-tab-link/) + new_tab_link_enable_referrer: false # Default value (line can be removed), when set to false, prevents the target site from getting information about where the hyperlink was clicked, configuration part of sphinx-new-tab-link (https://pypi.org/project/sphinx-new-tab-link/) teachbooks: attribution_location: top # Default value (line can be removed), sets location of attribution admonition of external pages, configuration part of TeachBooks package (https://teachbooks.io/manual/features/external_toc.html)