mirror of
https://github.com/prometheus/docs.git
synced 2026-02-05 06:45:01 +01:00
Redirect top level spec/<proj> dir to the latest version (#2773)
This is to allow redirect of openmetrics.io domain to https://prometheus.io/docs/specs/om/ on CNCF side and then be able to dynamically switch latest on our side. Signed-off-by: bwplotka <bwplotka@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a04d7ce0f3
commit
4a5230e6bc
@@ -26,6 +26,11 @@
|
||||
/docs/specs/remote_write_spec /docs/specs/prw/remote_write_spec
|
||||
/docs/specs/remote_write_spec_2_0 /docs/specs/prw/remote_write_spec_2_0
|
||||
|
||||
# Per spec sub dirs should point the currently "latest" version.
|
||||
# E.g. https://openmetrics.io redirects to https://prometheus.io/docs/specs/om
|
||||
/docs/specs/om /docs/specs/om/open_metrics_spec
|
||||
/docs/specs/prw /docs/specs/prw/remote_write_spec_2_0
|
||||
|
||||
# Redirect for HTTP SD docs, which briefly lived in the wrong category / repo.
|
||||
/docs/instrumenting/http_sd/ /docs/prometheus/latest/http_sd/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user