From 3abe1497e80d407fcaf4f32b039398f73b6b76d1 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 22 May 2024 09:54:37 -0700 Subject: [PATCH] docs: Add analytics code for documentation (#222) --- docs/macros.py | 2 +- mkdocs.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/macros.py b/docs/macros.py index 0484d079..bdde1d88 100644 --- a/docs/macros.py +++ b/docs/macros.py @@ -16,7 +16,7 @@ PAGE_REPLACEMENTS = { "index.md": ( (" AFGs ", r" [AFGs](default:AFG) "), - (" AWGs ", r" [AWGs](default:AFG) "), + (" AWGs ", r" [AWGs](default:AWG) "), (" Scopes ", r" [Scopes](default:Scope) "), (" PSUs ", r" [PSUs](default:PSU) "), (" SMUs ", r" [SMUs](default:SMU) "), diff --git a/mkdocs.yml b/mkdocs.yml index 141969af..ba665a99 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -22,6 +22,8 @@ validation: anchors: warn theme: name: readthedocs + analytics: + gtag: G-SDPEX4WBKJ highlightjs: false custom_dir: docs/_templates/readthedocs include_homepage_in_sidebar: false