elastic / elastic/docs

Create a secondary sitemap for our site search that includes all live versions

Open
#1,847 0 comments 0 reactions 0 assignees View on GitHub
defer docs-build enhancement
Dominant language
Ruby
Stars
265
Forks
347
Avg merge
3d 15h
Merged PRs (30d)
2

Description

Today, the [docs sitemap](https://github.com/elastic/built-docs/blob/master/html/sitemap.xml) only includes the current version. IIRC, this was deliberate to encourage Google to weight the current version over old versions.

In our own site search, we want to be able to surface other versions, and only having current in the sitemap complicates that for the current crawler-based implementation.

If we generate a secondary sitemap that includes all of the versions we want to index for our site search, we can probably reduce some of the pain around indexing new minor releases.

This would be an interim improvement until we can replace the current crawler-based search.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.