From 20e059533135a0be78bef4cd5447a6454eafe7a7 Mon Sep 17 00:00:00 2001 From: Jo Stichbury Date: Tue, 30 May 2023 12:01:49 +0100 Subject: [PATCH 1/2] add verification file and change to conf Signed-off-by: Jo Stichbury --- docs/source/conf.py | 1 + docs/source/googlebce3ad2fda582ae8.html | 1 + 2 files changed, 2 insertions(+) create mode 100644 docs/source/googlebce3ad2fda582ae8.html diff --git a/docs/source/conf.py b/docs/source/conf.py index 58175c2c8b..4f9582f577 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -64,6 +64,7 @@ # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] html_static_path = ["_static"] +html_extra_path = ["googlebce3ad2fda582ae8.html"] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: diff --git a/docs/source/googlebce3ad2fda582ae8.html b/docs/source/googlebce3ad2fda582ae8.html new file mode 100644 index 0000000000..1430a9dbe7 --- /dev/null +++ b/docs/source/googlebce3ad2fda582ae8.html @@ -0,0 +1 @@ +google-site-verification: googlebce3ad2fda582ae8.html \ No newline at end of file From 7a59c96c8abad1b0e542e7b2e738d7d8a063e68d Mon Sep 17 00:00:00 2001 From: Jo Stichbury Date: Fri, 2 Jun 2023 10:06:04 +0100 Subject: [PATCH 2/2] Fix conf.py so google file is moved to root of docs build Signed-off-by: Jo Stichbury --- docs/source/conf.py | 4 +++- docs/source/googlebce3ad2fda582ae8.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 4f9582f577..753a56e988 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -64,7 +64,6 @@ # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] html_static_path = ["_static"] -html_extra_path = ["googlebce3ad2fda582ae8.html"] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: @@ -202,6 +201,9 @@ # to ignore or allow certain links. html_extra_path = [str(here / "robots.txt")] +# Likewise for search console verification +html_extra_path = [str(here / "googlebce3ad2fda582ae8.html")] + # Removes, from all docs, the copyright footer. html_show_copyright = False diff --git a/docs/source/googlebce3ad2fda582ae8.html b/docs/source/googlebce3ad2fda582ae8.html index 1430a9dbe7..150a8fac5f 100644 --- a/docs/source/googlebce3ad2fda582ae8.html +++ b/docs/source/googlebce3ad2fda582ae8.html @@ -1 +1 @@ -google-site-verification: googlebce3ad2fda582ae8.html \ No newline at end of file +google-site-verification: googlebce3ad2fda582ae8.html