Repository navigation
Sitemap: list API pages in their own sitemap below a sitemap index - #4979
Merged
Merged
Conversation
sitemap.xml becomes an index over sitemap-docs.xml and sitemap-api.xml. The page type of each API tree decides which pages the sitemap lists: versionless pages and older majors, not /next or the numbered copy of the newest major. `assembler sitemap` rewrites the narrative pages and keeps the API file of the build, because the search index holds operations, not pages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4979/ Sample changed pages: |
…view by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…@infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…w by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ew by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…oad (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s.txt (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eview by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 23, 2026
reakaleek
added a commit
that referenced
this pull request
Nov 24, 2026
* Leave the API Servers pages out of the sitemap and the index The Servers page exists only so old Bump.sh links land. PR #4979 listed it in `sitemap-api.xml` after a review comment, which put 9 `/servers` URLs in the live sitemap. `StructuralNavigationItem` now reports `InSitemap` and `ExcludeFromIndexing` as false and true for Servers. The page renders `noindex`, so the sitemap and the robots meta agree. The Authentication page stays listed and indexed, even when the sidebar hides it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fix: let hidden Authentication pages render as indexable (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test: pin that a hidden version tree keeps an indexable landing (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fix: keep the landing of a hidden version tree indexable (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Jan Calanog <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[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.
Why
/docs/apiURL.lastmodwork, the crawl check, and the Bump.sh cutover.Closes elastic/docs-eng-team#1219
What
/docs/sitemap.xmlis now a sitemap index oversitemap-docs.xml(narrative pages) andsitemap-api.xml(API pages). The index keeps the URL that Search Console already knows./next, the numbered copy of the newest major, redirects and.mdrenderings.assembler-api-explorerflag renders them, so production lists none until the cutover.Notes
assembler sitemaprewrites only the narrative pages with dates from the search index and keeps the API file of the build. The search index holds operations, not pages: it lacks the group and type pages, and it has documents for operation URLs that redirect. APIlastmodstays the build time until the follow-up issue on content dates.sitemap.xmlafterassembler sitemap. elastic/docs-internal-workflows#1251 uploads and invalidates everysitemap*.xmlfile. It works with the current docs-builder too, so it can merge first.sitemap-docs.xml.🤖 Generated with Claude Code