IndexNow deployment discovery
After each successful GitHub Pages deployment, scripts/docs_site/indexnow.py submits every canonical sitemap URL to https://api.indexnow.org/indexnow.
- Buildtrusted docs builder writes
_publish/sitemap.xml - Validateexact sitemap 0.9
locelements; HTTPS under exactly the configured site address; empty or foreign-host input fails before any network call - Batchdeduplicated, 10,000 URLs per request, written to an ephemeral runner directory; stale batches removed
- Submitstandard-library client, bounded timeout and retries; a failed batch does not skip later ones, and the step fails only after all are attempted
| Topic | Rule |
|---|---|
| Request | Host, public key, key location, URL list |
| Ownership | Public key file 7c5062acbc32b8a88d2e6b627d65cbfa.txt; no repository secret |
| Failure | continue-on-error: never blocks or rolls back publication |
| Ordering | Runs after the Pages deployment step reports the site live |
| Dependencies | Python 3.12 standard library only |
| Sitemap, robots, Google verification | Unchanged |
Mechanisms compared
| Mechanism | Coverage | Choice |
|---|---|---|
| Passive sitemap discovery | All sitemap-aware crawlers | Kept; does not notify on change |
| IndexNow batch | Participating search engines | Used after every publication |
| Google Search Console | Google, which ignores IndexNow | Separately verified; no deployment credential |
Ranking, crawl timing and indexing are outside the system's control.
Workflow step: .github/workflows/docs-pages.yml. Tests: tests/unit/config/test_docs_publish_indexnow.py.
Last updated · 2026-11-25