From 330d36dd0d61620024c312980fa89f990c107fec Mon Sep 17 00:00:00 2001 From: Yurij Mikhalevich Date: Thu, 15 Sep 2022 21:35:16 +0300 Subject: [PATCH] Fix Google Tag Manager for the Lightning App docs (#14731) - updates the Lightning App docs theme to the one without Pytorch Lightning docs Google Tag Manager hardcoded - sets the GTM id in the conf.py for Lightning App docs --- docs/source-app/conf.py | 1 + requirements/app/docs.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source-app/conf.py b/docs/source-app/conf.py index de2c737bf4..62bd18a900 100644 --- a/docs/source-app/conf.py +++ b/docs/source-app/conf.py @@ -158,6 +158,7 @@ html_theme_path = [pt_lightning_sphinx_theme.get_html_theme_path()] html_theme_options = { "pytorch_project": lightning_app.__homepage__, + "analytics_id": "G-D3Q2ESCTZR", "canonical_url": lightning_app.__homepage__, "collapse_navigation": False, "display_version": True, diff --git a/requirements/app/docs.txt b/requirements/app/docs.txt index c189d6034a..a255ce32cb 100644 --- a/requirements/app/docs.txt +++ b/requirements/app/docs.txt @@ -5,4 +5,4 @@ ipython_genutils pytorch-lightning sphinx-autobuild -https://storage.googleapis.com/grid-packages/lightning-ai-sphinx-theme/build-31.3.zip +https://storage.googleapis.com/grid-packages/lightning-ai-sphinx-theme/build-32.zip