1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Christian Bayle <bayle@debian.org>
Date: Sat, 17 May 2025 00:27:26 +0200
Subject: Fix privacy issue
Forwarded: not-needed
---
src/rocm_docs/theme.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/rocm_docs/theme.py b/src/rocm_docs/theme.py
index 5db145a..2f68fad 100644
--- a/src/rocm_docs/theme.py
+++ b/src/rocm_docs/theme.py
@@ -168,7 +168,7 @@ def _update_theme_options(app: Sphinx) -> None:
default_config_opts = {
"html_show_sphinx": False,
- "html_favicon": "https://www.amd.com/content/dam/code/images/favicon/favicon.ico",
+ "html_favicon": "favicon.ico",
"notfound_context": {"title": "404 - Page Not Found"},
"notfound_template": "404.html",
"html_context": {
@@ -183,11 +183,6 @@ def _update_theme_options(app: Sphinx) -> None:
def setup(app: Sphinx) -> dict[str, Any]:
"""Set up the module as a Sphinx extension."""
- app.add_js_file(
- "https://download.amd.com/js/analytics/analyticsinit.js",
- priority=999_999,
- loading_method="async",
- )
app.add_js_file("code_word_breaks.js", loading_method="async")
app.add_js_file("renameVersionLinks.js", loading_method="async")
app.add_js_file("rdcMisc.js", loading_method="async")
|