Add edge to archive list (#5528)

This commit is contained in:
Misty Stanley-Jones 2017-12-15 15:29:14 -08:00 committed by GitHub
parent 6d5f0e8c4b
commit 078f3f7427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,11 @@
name: v17.09
image: docs/docker.github.io:latest
current: true
# When you make a new stable archive version, move the edge one to be second in
# the list. The image for edge should be the same as latest.
- archive:
name: Edge
image: docs/docker.github.io:latest
- archive:
name: v17.06
image: docs/docker.github.io:v17.06

View File

@ -17,8 +17,11 @@ run:
```
docker run -ti -p 4000:4000 {{ archive.image }}
```
{% else %}
{% if archive.name != 'edge' %}
## {{ archive.name }}
Docs for {{ archive.name }} are accessible at [**https://docs.docker.com/{{ archive.name }}/**](/{{ archive.name }}/), or
@ -27,5 +30,7 @@ run:
```
docker run -ti -p 4000:4000 {{ archive.image }}
```
{% endif %} <!-- edge check -->
{% endif %}
{% endfor %}