From 6c99102cc4f776ef2d52296a58028e3771cec9b9 Mon Sep 17 00:00:00 2001 From: Usha Mandya Date: Fri, 20 Mar 2020 15:05:06 +0000 Subject: [PATCH] Update docs archive toc --- _data/toc.yaml | 7 ++----- docsarchive.md | 16 +++++++--------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/_data/toc.yaml b/_data/toc.yaml index 532f031ecc..533f8a2bed 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -302,11 +302,8 @@ guides: title: Contribute to documentation - path: /opensource/ways/ title: Other ways to contribute -- sectiontitle: Documentation archive - section: - - path: /docsarchive/ - title: View the docs archives - +- path: /docsarchive/ + title: Documentation archive reference: - sectiontitle: Command-line reference section: diff --git a/docsarchive.md b/docsarchive.md index 213f9459e7..3e3775e3e6 100644 --- a/docsarchive.md +++ b/docsarchive.md @@ -5,8 +5,8 @@ title: View the docs archives This page lists the various ways you can view the docs as they were when a prior version of Docker was shipped. -**Note**: To access documentation for an unsupported version, refer to -[Accessing unsupported archived documentation](#accessing-unsupported-archived-documentation). +**Note**: To access documentation for an unsupported version, refer to +[Accessing unsupported archived documentation](#accessing-unsupported-archived-documentation). {% for archive in site.data.docsarchive.archives %} @@ -27,7 +27,7 @@ docker run -ti -p 4000:4000 {{ archive.image }} ## {{ archive.name }} -Docs for {{ archive.name }} are accessible at [**https://docs.docker.com/{{ archive.name }}/**](/{{ archive.name }}/), or to view the docs offline on your local machine, +Docs for {{ archive.name }} are accessible at [**https://docs.docker.com/{{ archive.name }}/**](/{{ archive.name }}/), or to view the docs offline on your local machine, run: ``` @@ -40,13 +40,11 @@ docker run -ti -p 4000:4000 {{ archive.image }} ## Accessing unsupported archived documentation -Supported documentation includes the current version plus the previous five versions. +If you are using a version of the documentation that is no longer supported, which means that the version number is not listed in the site drop-down list, you can still access that documentation in the following ways: -If you are using a version of the documentation that is no longer supported, which means that the version number is not listed in the site dropdown list, you can still access that documentation in the following ways: - -- By entering your version number and selecting it from the branch selection list for this repo -- By directly accessing the Github URL for your version. For example, https://github.com/docker/docker.github.io/tree/v1.9 for `v1.9` -- By running a container of the specific [tag for your documentation version](https://cloud.docker.com/u/docs/repository/docker/docs/docker.github.io/general#read-these-docs-offline) +- By entering your version number and selecting it from the branch selection list for this repo +- By directly accessing the Github URL for your version. For example, https://github.com/docker/docker.github.io/tree/v1.9 for `v1.9` +- By running a container of the specific [tag for your documentation version](https://hub.docker.com/r/docs/docker.github.io) in Docker Hub. For example, run the following to access `v1.9`: ```bash