Repository navigation
The docs site's home page carries the Google Search Console ownership tag - #603
Merged
Merged
Conversation
… tag Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
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.iocan'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: onegoogle-site-verificationmeta tag, emitted on the home page only (inside the existingpage.is_homepageblock). The value is a public ownership token, not a secret. Search Console reads it from the page by design.Compatibility, rollout and rollback
DOCS_SITE_ENABLEDistrue, which it now is), press Verify in Search Console.Tests
mkdocs build --strictpasses, and the tag appears inindex.htmland no other built page.tests/unit/test_public_copy.py,test_docs_site_hooks.pyandtest_doc_links.pypass (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.htmlalone), 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 typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. (Template-only change: the docs-site, public-copy and doc-link tests above.)main; no merged migration is edited. (None.)frontend/changed. (Not changed.)docs/describe the system as it now is, and this description names any operator steps and wire changes.tests/unit/test_public_copy.py).git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code