mirror of https://github.com/docker/docs.git
Abuse 404.html to redirect to docs.docker.com
This commit is contained in:
parent
ef4179adc5
commit
464425f12d
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Docker docs</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>We have moved away from the <strong>docker.github.io</strong> domain. Please visit <a href="https://docs.docker.com">docs.docker.com</a> instead.</p>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.location.replace("https://docs.docker.com" + window.location.pathname);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -14,7 +14,7 @@ lsi: false
|
||||||
url: https://docs.docker.com
|
url: https://docs.docker.com
|
||||||
# This needs to have all the directories you expect to be in the archives (delivered by docs-base in the Dockerfile)
|
# This needs to have all the directories you expect to be in the archives (delivered by docs-base in the Dockerfile)
|
||||||
keep_files: ["v1.4", "v1.5", "v1.6", "v1.7", "v1.8", "v1.9", "v1.10", "v1.11", "v1.12", "v1.13", "v17.03", "v17.06", "v17.09", "v17.12"]
|
keep_files: ["v1.4", "v1.5", "v1.6", "v1.7", "v1.8", "v1.9", "v1.10", "v1.11", "v1.12", "v1.13", "v17.03", "v17.06", "v17.09", "v17.12"]
|
||||||
exclude: ["_scripts", "apidocs/layouts", "Gemfile", "hooks", "index.html"]
|
exclude: ["_scripts", "apidocs/layouts", "Gemfile", "hooks", "index.html", "404.html"]
|
||||||
|
|
||||||
# Component versions -- address like site.docker_ce_stable_version
|
# Component versions -- address like site.docker_ce_stable_version
|
||||||
# You can't have - characters in these for non-YAML reasons
|
# You can't have - characters in these for non-YAML reasons
|
||||||
|
|
Loading…
Reference in New Issue