From 1465790db08f31df5cba6783cc33ef35d5a8575b Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Thu, 29 Sep 2016 18:55:02 -0700 Subject: [PATCH] Custom 404, Docs Archive, Archive Forwarding --- 404.md | 36 ++++++++++++++++++++++++++ _config.yml | 63 +--------------------------------------------- _data/toc.yaml | 20 ++------------- _layouts/docs.html | 2 +- docsarchive.md | 34 +++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 81 deletions(-) create mode 100644 404.md create mode 100644 docsarchive.md diff --git a/404.md b/404.md new file mode 100644 index 0000000000..4b21aaf69a --- /dev/null +++ b/404.md @@ -0,0 +1,36 @@ +--- +permalink: /404.html +--- + + diff --git a/_config.yml b/_config.yml index 5d16ef45df..fc6a361e21 100644 --- a/_config.yml +++ b/_config.yml @@ -23,65 +23,4 @@ defaults: type: "pages" values: layout: docs - -menu: - - main: - name: "Component Projects" - identifier: "mn_components" - weight: 8 - - main: - name: "About" - identifier: "mn_about" - weight: 9 - - main: - name: "Docs archive" - identifier: "mn_versions" - weight: 10 - - main: - name: "Version 1.11" - identifier: "smn_eleven" - parent: "mn_versions" - url: "http://docs.docker.com/v1.11/" - weight: -11 - - main: - name: "Version 1.10" - identifier: "smn_ten" - parent: "mn_versions" - url: "http://docs.docker.com/v1.10/" - weight: -10 - - main: - name: "Version 1.9" - identifier: "smn_nineteen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.9/" - weight: -9 - - main: - name: "Version 1.8" - identifier: "smn_eightteen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.8/" - weight: -8 - - main: - name: "Version 1.7" - identifier: "smn_seventeen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.7/" - weight: -7 - - main: - name: "Version 1.6" - identifier: "smn_sixteen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.6/" - weight: -6 - - main: - name: "Version 1.5" - identifier: "smn_fifteen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.5/" - weight: -5 - - main: - name: "Version 1.4" - identifier: "smn_fourteen" - parent: "mn_versions" - url: "http://docs.docker.com/v1.4/" - weight: -4 + archiveserver: "54.71.194.30" diff --git a/_data/toc.yaml b/_data/toc.yaml index a6acfa08c4..c692454e8d 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -1369,21 +1369,5 @@ toc: title: Docker Release Notes - path: /engine/reference/glossary/ title: Docker Glossary -- sectiontitle: Docs archive - section: - - path: http://docs.docker.com/v1.11/ - title: Version 1.11 - - path: http://docs.docker.com/v1.10/ - title: Version 1.10 - - path: http://docs.docker.com/v1.9/ - title: Version 1.9 - - path: http://docs.docker.com/v1.8/ - title: Version 1.8 - - path: http://docs.docker.com/v1.7/ - title: Version 1.7 - - path: http://docs.docker.com/v1.6/ - title: Version 1.6 - - path: http://docs.docker.com/v1.5/ - title: Version 1.5 - - path: http://docs.docker.com/v1.4/ - title: Version 1.4 +- title: Docs archive + path: /docsarchive/ diff --git a/_layouts/docs.html b/_layouts/docs.html index 78447954b1..5a354d5e0a 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -201,7 +201,7 @@ ng\:form {