Merge pull request #10497 from usha-mandya/docs-archive-patch

Update docs archive toc
This commit is contained in:
Sebastiaan van Stijn
2020-03-20 16:22:18 +01:00
committed by GitHub
2 changed files with 9 additions and 14 deletions

View File

@@ -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:

View File

@@ -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