From b547d916065fd7af9f5426cfa4547a61ef4f3888 Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Wed, 1 Feb 2017 15:56:44 -0800 Subject: [PATCH] Publish v1.12 archive --- Dockerfile | 2 +- _data/docsarchive/docker-compose.yml | 4 ++++ _data/toc.yaml | 2 ++ docsarchive.md | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b837a4ef85..8fd661bf01e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM starefossen/github-pages -ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11" +ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12" # Create archive; check out each version, create HTML, tweak links RUN git clone https://www.github.com/docker/docker.github.io temp; \ diff --git a/_data/docsarchive/docker-compose.yml b/_data/docsarchive/docker-compose.yml index 68b0139b740..1c9443d0013 100644 --- a/_data/docsarchive/docker-compose.yml +++ b/_data/docsarchive/docker-compose.yml @@ -30,3 +30,7 @@ v1.11: image: docs/docker.github.io:v1.11 ports: - "4111:4000" +v1.12: + image: docs/docker.github.io:v1.12 + ports: + - "4112:4000" diff --git a/_data/toc.yaml b/_data/toc.yaml index dbc7ffbaf9d..71db1d60e01 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -1819,4 +1819,6 @@ toc: title: v1.10 - path: /v1.11 title: v1.11 + - path: /v1.12 + title: v1.12 path: /docsarchive/ diff --git a/docsarchive.md b/docsarchive.md index 6c74bfaee69..1e1956835f2 100644 --- a/docsarchive.md +++ b/docsarchive.md @@ -7,12 +7,12 @@ prior version of Docker was shipped. ## View the docs archives locally -The docs archive is published as a [Docker repository at docs/archive](https://hub.docker.com/r/docs/archive/tags/). +The docs archive is published as a [Docker Hub repository at docs/docker.github.io](https://hub.docker.com/r/docs/docker.github.io/tags/). To see any of these versions, run the following command, changing -the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/archive/tags/): +the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/docker.github.io/tags/): ```shell -docker run -p 4000:4000 docs/archive:v1.4 +docker run -p 4000:4000 docs/docker.github.io:v1.4 ``` The docs for `v1.4` will then be viewable at `http://localhost:4000`.