mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Fixes #3188
This commit is contained in:
@@ -29,7 +29,7 @@ wget -O md_source/engine/api/v1.27/swagger.yaml https://raw.githubusercontent.co
|
||||
# When you change this you need to make sure to copy the previous
|
||||
# directory into a new one in the docs git and change the index.html
|
||||
wget -O md_source/engine/api/v1.28/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.04.0-ce/api/swagger.yaml || (echo "Failed 1.28 swagger download or the 1.28 directory doesn't exist" && exit -1)
|
||||
wget -O md_source/engine/api/v1.29/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.05.x/api/swagger.yaml || (echo "Failed 1.28 swagger download or the 1.29 directory doesn't exist" && exit -1)
|
||||
wget -O md_source/engine/api/v1.29/swagger.yaml https://raw.githubusercontent.com/moby/moby/17.05.x/api/swagger.yaml || (echo "Failed 1.29 swagger download or the 1.29 directory doesn't exist" && exit -1)
|
||||
|
||||
|
||||
# Get a few one-off files that we use directly from upstream
|
||||
@@ -42,4 +42,4 @@ wget -O md_source/registry/configuration.md https://raw.githubusercontent.com/do
|
||||
# Remove things we don't want in the build
|
||||
rm md_source/registry/spec/api.md.tmpl
|
||||
rm -rf md_source/apidocs/cloud-api-source
|
||||
rm -rf md_source/tests
|
||||
rm -rf md_source/tests
|
||||
|
||||
Reference in New Issue
Block a user