forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Renamed docker-compose.yaml to archives.yaml since we are not using it as a docker-compose.yaml anymore - Added current docs into that archive list, added a key that can be set to to indicate that the archive is the latest - Output a new file that can be used by non-current archives to build up a list of all archives including what's current, dynamically - Single-sourced and liquefied the list that builds up the archives in the latest version
- Loading branch information
Misty Stanley-Jones
committed
Mar 8, 2017
1 parent
3fbdd21
commit fcc4ea0
Showing
7 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
- archive: | ||
name: v17.03 | ||
image: docs/docker.github.io:latest | ||
current: true | ||
- archive: | ||
name: v1.13 | ||
image: docs/docker.github.io:v1.13 | ||
- archive: \ | ||
name: v1.12 | ||
image: docs/docker.github.io:v1.12 | ||
- archive: | ||
name: v1.11 | ||
image: docs/docker.github.io:v1.11 | ||
- archive: | ||
name: v1.10 | ||
image: docs/docker.github.io:v1.10 | ||
- archive: | ||
name: v1.9 | ||
image: docs/docker.github.io:v1.9 | ||
- archive: | ||
name: v1.8 | ||
image: docs/docker.github.io:v1.8 | ||
- archive: | ||
name: v1.7 | ||
image: docs/docker.github.io:v1.7 | ||
- archive: | ||
name: v1.6 | ||
image: docs/docker.github.io:v1.6 | ||
- archive: | ||
name: v1.5 | ||
image: docs/docker.github.io:v1.5 | ||
- archive: | ||
name: v1.4 | ||
image: docs/docker.github.io:v1.4 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="btn-group"> | ||
<button type="button" class="btn btn-default dropdown-btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
{% for item in site.data.docsarchive.archives %}{% if item.current == true %}Docker {{ item.name }} (current) {% endif %} {% endfor %}<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu"> | ||
{% for item in site.data.docsarchive.archives %}{% if item.current != true %}<li><a href="/{{ item.name }}/">Docker {{ item.name }}</a></li>{% endif %}{% endfor %} | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: null | ||
--- | ||
{{ site.data.docsarchive.archives }} |