Skip to content

Commit 4d1ce4a

Browse files
committed
docs: serve Google Search Console verification file via html_extra_path
Keeps googlecbf55b468ef76c2e.html in the published site root so it survives every docs rebuild (publish-docs.yml deploys with rsync --delete).
1 parent 6b4db4c commit 4d1ce4a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-site-verification: googlecbf55b468ef76c2e.html

‎docs/source/conf.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
templates_path = ["_templates"]
4141
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
4242
html_static_path = ["_static"]
43+
# Files copied verbatim to the site root (e.g. Google Search Console verification).
44+
html_extra_path = ["_extra"]
4345

4446
html_theme = "pydata_sphinx_theme"
4547
html_theme_options = {

0 commit comments

Comments
 (0)