From 9f31b829848e792e5f06e590587be04f0b147fd6 Mon Sep 17 00:00:00 2001 From: Martin Miglio Date: Mon, 2 Oct 2023 14:57:43 -0400 Subject: [PATCH] add umami analytics --- docs/source/conf.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index a63eb63..101eb26 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,7 +21,6 @@ "sphinxext.opengraph", "sphinx_copybutton", ] -templates_path = ["_templates"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] autodoc_default_options = { @@ -34,6 +33,12 @@ html_theme_options = { "sidebarwidth": "19em", } -html_static_path = ["_static"] htmlhelp_basename = "pymemuc" intersphinx_mapping = {"Python Docs": ("http://docs.python.org/", None)} + +html_js_files = [ + ( + "https://analytics.martinmiglio.dev/script.js", + {"data-website-id": "28d008aa-35e3-4aaa-8964-b06ec824bfed", "async": "async"}, + ), +]