From 0d904683b088c88a2abc736e78c4d959305f7a70 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Fri, 10 Oct 2025 16:56:49 +0200 Subject: [PATCH 1/2] 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) From c7bfc73bdee5d40946321899544326196cce96b3 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Sun, 12 Oct 2025 15:35:54 +0200 Subject: [PATCH 2/2] Clean up .gitignore by removing Python packaging entries Removed unnecessary entries related to Python packaging. --- .gitignore | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 7803c8f..ab65de5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,29 +3,8 @@ __pycache__/ *.py[cod] *$py.class -# C extensions -*.so - -# Distribution / packaging +# Python .Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST .vscode/ # PyInstaller