From cc85dc05b7117abce941b71843c192b38cb8182a Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 2 May 2024 21:56:19 -0400 Subject: [PATCH] docs: re-enable google analytics (#43974) We recently switched to using the new ReadTheDocs with "addons". That includes its own analytics, which is nice, but we also want to continue using our GA4 analytics. Adding GA4 is no longer supported by RTD, so we have to add it manually. - [x] re-add the gtag to all pages, manually Signed-off-by: Todd Gamblin --- lib/spack/docs/_templates/layout.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/spack/docs/_templates/layout.html diff --git a/lib/spack/docs/_templates/layout.html b/lib/spack/docs/_templates/layout.html new file mode 100644 index 00000000000..393cb1ebc16 --- /dev/null +++ b/lib/spack/docs/_templates/layout.html @@ -0,0 +1,12 @@ +{% extends "!layout.html" %} + +{%- block extrahead %} + + + +{% endblock %}