mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Merge pull request #1360 from dholbach/add-redirects
add redirects file
This commit is contained in:
commit
27a42ecd8e
2 changed files with 18 additions and 1 deletions
17
_redirects
Normal file
17
_redirects
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# individual rules
|
||||
/core-concepts https://fluxcd.io/docs/concepts 301!
|
||||
/contributing https://fluxcd.io/contributing 301!
|
||||
|
||||
# refer to https://github.com/fluxcd/flux2/discussions/367
|
||||
/dev-guides/* https://fluxcd.io/docs/gitops-toolkit/:splat 301!
|
||||
|
||||
|
||||
# this is how things looked in the navbar anyway..?
|
||||
/guides/faq-migration https://fluxcd.io/docs/migration/faq-migration 301!
|
||||
/guides/flux-v1-automation-migration https://fluxcd.io/docs/migration/flux-v1-automation-migration 301!
|
||||
/guides/flux-v1-migration https://fluxcd.io/docs/migration/flux-v1-migration 301!
|
||||
/guides/helm-operator-migration https://fluxcd.io/docs/migration/helm-operator-migration 301!
|
||||
|
||||
|
||||
# catch all
|
||||
/* https://fluxcd.io/docs/:splat 301!
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[build]
|
||||
command = "./copy-docs-assets.sh && mkdocs build"
|
||||
command = "./copy-docs-assets.sh && mkdocs build && cp _redirects site/"
|
||||
publish = "site"
|
||||
|
|
|
|||
Loading…
Reference in a new issue