Commit e15b6142 authored by Tobias Schmidt's avatar Tobias Schmidt

Add Redirects

parent 1a01e67e
......@@ -13,6 +13,13 @@
# item, use the pattern “/about/*/”; “/about/*” will also select the parent,
# because “*” matches zero or more characters.
compile '/_redirects/' do
end
route '/_redirects/' do
'/_redirects'
end
compile '/assets/*' do
end
......
# Redirects for old site structure.
/docs/introduction/getting_started/ /docs/prometheus/latest/getting_started/
/docs/introduction/install/ /docs/prometheus/latest/installation/
/docs/operating/configuration/ /docs/prometheus/latest/configuration/configuration/
/docs/operating/federation/ /docs/prometheus/latest/federation/
/docs/operating/storage/ /docs/prometheus/1.8/storage/
/docs/querying/api/ /docs/prometheus/latest/querying/api/
/docs/querying/basics/ /docs/prometheus/latest/querying/basics/
/docs/querying/examples/ /docs/prometheus/latest/querying/examples/
/docs/querying/functions/ /docs/prometheus/latest/querying/functions/
/docs/querying/operators/ /docs/prometheus/latest/querying/operators/
/docs/querying/rules/ /docs/prometheus/latest/configuration/recording_rules/
/docs/visualization/template_examples/ /docs/prometheus/latest/configuration/template_examples/
/docs/visualization/template_reference/ /docs/prometheus/latest/configuration/template_reference/
# Redirects for sections.
# TODO(ts): Auto-generate from menu.
/docs/introduction/ /docs/introduction/overview/ 302
/docs/concepts/ /docs/concepts/data_model/ 302
/docs/prometheus/ /docs/prometheus/latest/getting_started/ 302
/docs/visualization/ /docs/visualization/browser/ 302
/docs/instrumenting/ /docs/instrumenting/clientlibs/ 302
/docs/operating/ /docs/operating/security/ 302
/docs/alerting/ /docs/alerting/overview/ 302
/docs/practices/ /docs/practices/naming/ 302
/:path/index.html /:path/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment