diff --git a/Dockerfile b/Dockerfile index c954b97dfbd..16efe7849f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,8 @@ ENV ENGINE_BRANCH="17.06.x" ENV DISTRIBUTION_SVN_BRANCH="branches/release/2.6" ENV DISTRIBUTION_BRANCH="release/2.6" -RUN sh md_source/_scripts/fetch-upstream-resources.sh \ +RUN apk --update add bash \ + && bash ./md_source/_scripts/fetch-upstream-resources.sh \ && jekyll build -s md_source -d target --config md_source/_config.yml \ && rm -rf target/apidocs/layouts \ && find target -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \ diff --git a/_config.yml b/_config.yml index f6a6f946a81..c71cd7e1387 100644 --- a/_config.yml +++ b/_config.yml @@ -13,10 +13,13 @@ lsi: false url: https://docs.docker.com keep_files: ["v1.4", "v1.5", "v1.6", "v1.7", "v1.8", "v1.9", "v1.10", "v1.11", "v1.12", "v1.13", "v17.03", "v17.06"] -# Component versions -- address like site.docker-ce_stable_version -docker-ce_stable_version: "17.09" -docker-ce_edge_version: "17.09" -docker-ee_version: "17.06" +# Component versions -- address like site.docker_ce_stable_version +# You can't have - characters in these for non-YAML reasons + +docker_ce_stable_version: "17.09" +latest_stable_docker_engine_api_version: "1.32" +docker_ce_edge_version: "17.09" +docker_ee_version: "17.06" compose_version: "1.16.1" machine_version: "0.12.2" distribution_version: "2.6" diff --git a/_data/toc.yaml b/_data/toc.yaml index d76790a3e77..53e856a2584 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -608,10 +608,12 @@ reference: title: Get started - path: /engine/api/sdks/ title: SDKs - - path: /engine/api/v1.32/ - title: v1.32 Reference - - sectiontitle: Previous API versions + - path: /engine/api/latest/ + title: v{{ site.latest_stable_docker_engine_api_version }} reference + - sectiontitle: API reference by version section: + - path: /engine/api/v1.32/ + title: v1.32 Reference - path: /engine/api/version-history/ title: Version history overview - path: /engine/api/v1.31/ diff --git a/_includes/ee-linux-install-reuse.md b/_includes/ee-linux-install-reuse.md index bbb85cb34c0..ba6de89cc77 100644 --- a/_includes/ee-linux-install-reuse.md +++ b/_includes/ee-linux-install-reuse.md @@ -151,7 +151,7 @@ You can install Docker EE in different ways, depending on your needs: ```bash $ sudo yum list docker-ee --showduplicates | sort -r - docker-ee.x86_64 {{ site.docker-ee_version }}.ee.2-1.el7.{{ linux-dist }} docker-ee-stable-17.06 + docker-ee.x86_64 {{ site.docker_ee_version }}.ee.2-1.el7.{{ linux-dist }} docker-ee-stable-17.06 ``` The contents of the list depend upon which repositories you have enabled, @@ -246,7 +246,7 @@ upgrade Docker EE. 1. Go to the Docker EE repository URL associated with your trial or subscription in your browser. Go to - `{{ linux-dist-url-slug }}/7/x86_64/stable-{{ site.docker-ee_version }}/Packages` and + `{{ linux-dist-url-slug }}/7/x86_64/stable-{{ site.docker_ee_version }}/Packages` and download the `.{{ package-format | downcase }}` file for the Docker version you want to install. diff --git a/_layouts/docs.html b/_layouts/docs.html index 6613c91ccb9..dbac2469817 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -248,7 +248,7 @@
Redirecting to the latest version of the Docker Engine API reference.
+
\ No newline at end of file
diff --git a/engine/installation/linux/docker-ce/binaries.md b/engine/installation/linux/docker-ce/binaries.md
index 6c05434faa3..5d262846938 100644
--- a/engine/installation/linux/docker-ce/binaries.md
+++ b/engine/installation/linux/docker-ce/binaries.md
@@ -163,7 +163,7 @@ the `dockerd.exe` and `docker.exe` binaries are included.
1. Use the following PowerShell commands to install and start Docker:
```none
- PS C:\> Invoke-WebRequest https://download.docker.com/win/static/stable/x86_64//docker-{{ site.docker-ce_stable_version }}.0-ce.zip -UseBasicParsing -OutFile docker.zip
+ PS C:\> Invoke-WebRequest https://download.docker.com/win/static/stable/x86_64//docker-{{ site.docker_ce_stable_version }}.0-ce.zip -UseBasicParsing -OutFile docker.zip
PS C:\> Expand-Archive docker.zip -DestinationPath $Env:ProgramFiles
diff --git a/engine/installation/linux/docker-ce/centos.md b/engine/installation/linux/docker-ce/centos.md
index 299f9b4ae96..a9bbadeb68e 100644
--- a/engine/installation/linux/docker-ce/centos.md
+++ b/engine/installation/linux/docker-ce/centos.md
@@ -151,7 +151,7 @@ from the repository.
```bash
$ yum list docker-ce --showduplicates | sort -r
- docker-ce.x86_64 {{ site.docker-ce_stable_version }}.ce-1.el7.centos docker-ce-stable
+ docker-ce.x86_64 {{ site.docker_ce_stable_version }}.ce-1.el7.centos docker-ce-stable
```
The contents of the list depend upon which repositories are enabled, and
diff --git a/engine/installation/linux/docker-ce/debian.md b/engine/installation/linux/docker-ce/debian.md
index 2a15d3d2b19..8c85ebddddf 100644
--- a/engine/installation/linux/docker-ce/debian.md
+++ b/engine/installation/linux/docker-ce/debian.md
@@ -219,7 +219,7 @@ from the repository.
```bash
$ apt-cache madison docker-ce
- docker-ce | {{ site.docker-ce_stable_version }}.0~ce-0~debian | https://download.docker.com/linux/debian jessie/stable amd64 Packages
+ docker-ce | {{ site.docker_ce_stable_version }}.0~ce-0~debian | https://download.docker.com/linux/debian jessie/stable amd64 Packages
```
The contents of the list depend upon which repositories are enabled. Choose
diff --git a/engine/installation/linux/docker-ce/fedora.md b/engine/installation/linux/docker-ce/fedora.md
index 3000bdb3a7b..268ec48a786 100644
--- a/engine/installation/linux/docker-ce/fedora.md
+++ b/engine/installation/linux/docker-ce/fedora.md
@@ -144,7 +144,7 @@ from the repository.
```bash
$ dnf list docker-ce --showduplicates | sort -r
- docker-ce.x86_64 {{ site.docker-ce_stable_version }}.0.fc24 docker-ce-stable
+ docker-ce.x86_64 {{ site.docker_ce_stable_version }}.0.fc24 docker-ce-stable
```
The contents of the list depend upon which repositories are enabled, and
diff --git a/engine/installation/linux/docker-ce/ubuntu.md b/engine/installation/linux/docker-ce/ubuntu.md
index 50d297a14e7..d9ba3d51682 100644
--- a/engine/installation/linux/docker-ce/ubuntu.md
+++ b/engine/installation/linux/docker-ce/ubuntu.md
@@ -205,7 +205,7 @@ the repository.
```bash
$ apt-cache madison docker-ce
- docker-ce | {{ site.docker-ce_stable_version }}.0~ce-0~ubuntu | {{ download-url-base }} xenial/stable amd64 Packages
+ docker-ce | {{ site.docker_ce_stable_version }}.0~ce-0~ubuntu | {{ download-url-base }} xenial/stable amd64 Packages
```
The contents of the list depend upon which repositories are enabled. Choose
diff --git a/engine/installation/linux/docker-ee/suse.md b/engine/installation/linux/docker-ee/suse.md
index d1ced86f840..92b4570e6a7 100644
--- a/engine/installation/linux/docker-ee/suse.md
+++ b/engine/installation/linux/docker-ee/suse.md
@@ -118,7 +118,7 @@ from the repository.
```bash
$ sudo zypper addrepo \
-