Skip to content

Commit c5a3fa5

Browse files
author
Misty Stanley-Jones
authored
404 cleanup (docker#3581)
* Fix Edge API reference links * Add redirect for docker-for-mac/osx/ which is referenced by an error message * Fetch the Edge run reference
1 parent 5522090 commit c5a3fa5

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

_scripts/fetch-upstream-resources.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ wget -O md_source/engine/api/v1.29/swagger.yaml https://raw.githubusercontent.co
3535
# Get a few one-off files that we use directly from upstream
3636
wget -O md_source/engine/reference/builder.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/builder.md || (echo "Failed engine/reference/builder.md download" && exit -1)
3737
wget -O md_source/engine/reference/run.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/run.md || (echo "Failed engine/reference/run.md download" && exit -1)
38+
wget -O md_source/edge/engine/reference/run.md https://raw.githubusercontent.com/docker/docker/v17.05.0-ce/docs/reference/run.md || (echo "Failed engine/reference/run.md download" && exit -1)
3839
wget -O md_source/engine/reference/commandline/cli.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/commandline/cli.md || (echo "Failed engine/reference/commandline/cli.md download" && exit -1)
3940
wget -O md_source/engine/deprecated.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/deprecated.md || (echo "Failed engine/deprecated.md download" && exit -1)
4041
wget -O md_source/registry/configuration.md https://raw.githubusercontent.com/docker/distribution/"$DISTRIBUTION_BRANCH"/docs/configuration.md || (echo "Failed registry/configuration.md download" && exit -1)

docker-for-mac/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ redirect_from:
1010
- /installation/mac/
1111
- /engine/installation/mac/
1212
- /docker-for-mac/index/
13+
- /docker-for-mac/osx/
1314
title: Get started with Docker for Mac
1415
toc_max: 4
1516
toc_min: 1

edge/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Continue reading, or go straight to [API and CLI](#api-and-cli),
4848

4949
##### API and CLI
5050

51-
- Add [version 1.29](/engine/reference/api/v1.29/) of the Docker API.
51+
- Add [version 1.29](/engine/api/v1.29/) of the Docker API.
5252
- Add `--mount` flag to `docker run` and `docker create`
5353
{% include github-pr.md pr="32251" %}
5454
- Add the ability to specify `--type=secret` in `docker inspect`
@@ -179,7 +179,7 @@ The following major features and changes are included in Docker CE Edge 17.04.
179179

180180
##### API and CLI
181181

182-
- Add [version 1.28](/engine/reference/api/v1.28/) of the Docker API.
182+
- Add [version 1.28](/engine/api/v1.28/) of the Docker API.
183183

184184
- Add `--device-cgroup-rule` flag to give containers access to devices that appear
185185
after the container is started. {% include github-pr.md pr="22563" %}

0 commit comments

Comments
 (0)