Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prometheus-version docsearch meta tag to pages (#1636)
* Add prometheus-version docsearch meta tag to pages I hope this will cause the Aloglia indexing engine to add a "prometheus-version" indexing facet to our pages, so that when adding Algolia search to the site in a subsequent step (I can already test it locally), we can use this to search only for pages that are either the latest Prometheus version (otherwise we get 10x the same-looking result), or have no Prometheus version at all (the doc pages outside of the versioned Prometheus sub-tree). I need to explicitly add "none" as a version for the non-versioned pages, as Algolia search doesn't allow facet filtering on null / undefined values. Signed-off-by: Julius Volz <[email protected]> * Fix "unversioned" -> "none" Signed-off-by: Julius Volz <[email protected]>
- Loading branch information