1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00

Initial work for git-managed redirects (#556)

This is the initial work for what should be a git-managed set of nginx
configs we can include into the Nginx Docs server.

The idea here is we manage redirects in git, and either chron-copy them
to a location we can include via the sites-available/<file>, *or* we
just include them from the git path (if nginx tolerates that)

I can't really _test_ these right now since they are using live URLs. if
we move forward with the soft-launch, we'll have a few opportunities to
maybe test a subset of these URLs and see what happens.

Please let me know if there is anything *obviously* wrong here.

ToDo: The Legacy Docs redirects
This commit is contained in:
Ravind Kumar
2022-09-20 12:27:40 -04:00
committed by GitHub
parent bb39d1139e
commit 1cc507564c
37 changed files with 1446 additions and 9 deletions

View File

@ -142,7 +142,8 @@ elif tags.has("macos"):
'reference/kubectl-minio-plugin*',
'reference/minio-server*',
'reference/minio-mc*',
'developers/*'
'developers/*',
'integrations/*'
]
elif tags.has("windows"):
# html_baseurl is used for generating the sitemap.xml for each platform. These are combined in a sitemapindex.xml.
@ -159,7 +160,8 @@ elif tags.has("windows"):
'reference/kubectl-minio-plugin*',
'reference/minio-server*',
'reference/minio-mc*',
'developers/*'
'developers/*',
'integrations/*'
]
elif tags.has("container"):
html_baseurl = 'https://min.io/docs/minio/container/'
@ -177,7 +179,8 @@ elif tags.has("container"):
'reference/kubectl-minio-plugin*',
'reference/minio-server*',
'reference/minio-mc*',
'developers/*'
'developers/*',
'integrations/*'
]
elif tags.has("k8s"):
html_baseurl = 'https://min.io/docs/minio/kubernetes/upstream/'
@ -191,7 +194,8 @@ elif tags.has("k8s"):
'operations/manage-existing-deployments.rst',
'reference/minio-server*',
'reference/minio-mc*',
'developers/*'
'developers/*',
'integrations/*'
]
else: