Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Fixes the use of the gtag extension (#2871)

João Gustavo A. Amorim6ba98da8de3c
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 9bbb60f99..46b66f793 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -151,6 +151,12 @@ html_theme_options = {
# html_logo = '_static/img/kornia_logo_only.png'
html_favicon = "_static/img/kornia_logo_favicon.png"
+# Config the `sphinxcontrib.gtagjs` extension
+# NOTE: if this didn't work, we can remove the extension itself
+gtagjs_ids = [
+ "G-YSCFZB2WDV", # Shouldn't be necessary if the readthedocs autoinjection work
+]
+
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".