Skip to content

The docs site's home page carries the Google Search Console ownership tag - #603

Merged
zlareb1 merged 1 commit into
mainfrom
docs-site/search-console-verification
Nov 13, 2026
Merged

zlareb1 merged 1 commit into
mainfrom
docs-site/search-console-verification

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

...

Why

The documentation site at https://clickhouse.github.io/loom/ needs to be registered in Google Search Console, so its sitemap can be submitted and its pages indexed. A project site on github.io can't be verified by DNS, so ownership is proven with Google's HTML meta tag on the property's home page.

Scope and risk

scripts/docs_site/overrides/main.html: one google-site-verification meta tag, emitted on the home page only (inside the existing page.is_homepage block). The value is a public ownership token, not a secret. Search Console reads it from the page by design.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: after the site redeploys (the deploy job runs while the repository variable DOCS_SITE_ENABLED is true, which it now is), press Verify in Search Console.
  • Rollback: revert. Removing the tag later un-verifies the property.

Tests

mkdocs build --strict passes, and the tag appears in index.html and no other built page. tests/unit/test_public_copy.py, test_docs_site_hooks.py and test_doc_links.py pass (243).

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code. Checked by hand: the tag renders inside the home-page block only (strict build, tag present in index.html alone), and the token is the one Search Console issued for this property.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed. (Template-only change: the docs-site, public-copy and doc-link tests above.)
  • Generated files are regenerated in this PR, not by hand. (None affected.)
  • A new migration is additive and numbered after the latest on main; no merged migration is edited. (None.)
  • A behaviour change to any file a plugin ships bumps both plugin manifests' version. (None.)
  • The frontend builds and its tests pass, if frontend/ changed. (Not changed.)
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.
  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers; the history goes in this description (tests/unit/test_public_copy.py).
  • Commits are signed off (git commit -s), as CONTRIBUTING.md asks.

🤖 Generated with Claude Code

@zlareb1
zlareb1 merged commit 754f7ac into main Nov 13, 2026
39 of 40 checks passed
@zlareb1
zlareb1 deleted the docs-site/search-console-verification branch November 13, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant