mirror of https://github.com/docker/docs.git
remove old compliance upstream resource
It's no longer referenced from the TOC, and redirects to the homepage. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
c1943d381a
commit
f3da53a7b4
|
|
@ -84,10 +84,6 @@ defaults:
|
||||||
path: registry/spec
|
path: registry/spec
|
||||||
values:
|
values:
|
||||||
edit_url: "https://github.com/docker/distribution/tree/master/docs/spec"
|
edit_url: "https://github.com/docker/distribution/tree/master/docs/spec"
|
||||||
- scope:
|
|
||||||
path: compliance
|
|
||||||
values:
|
|
||||||
edit_url: "https://github.com/mirantis/compliance/tree/master/docs/compliance"
|
|
||||||
|
|
||||||
# Hide Enterprise content from sitemap. These directories still contains stubs
|
# Hide Enterprise content from sitemap. These directories still contains stubs
|
||||||
# that are needed to redirect old URLs
|
# that are needed to redirect old URLs
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ svn co "https://github.com/docker/cli/${engine_svn_branch}/docs/extend"
|
||||||
svn co "https://github.com/docker/docker/${engine_svn_branch}/docs/api" ./engine/api || (echo "Failed engine/api download" && exit 1)
|
svn co "https://github.com/docker/docker/${engine_svn_branch}/docs/api" ./engine/api || (echo "Failed engine/api download" && exit 1)
|
||||||
svn co "https://github.com/docker/compose-cli/${compose_cli_svn_branch}/docs" ./cloud || (echo "Failed compose-cli/docs download" && exit 1)
|
svn co "https://github.com/docker/compose-cli/${compose_cli_svn_branch}/docs" ./cloud || (echo "Failed compose-cli/docs download" && exit 1)
|
||||||
svn co "https://github.com/docker/distribution/${distribution_svn_branch}/docs/spec" ./registry/spec || (echo "Failed registry/spec download" && exit 1)
|
svn co "https://github.com/docker/distribution/${distribution_svn_branch}/docs/spec" ./registry/spec || (echo "Failed registry/spec download" && exit 1)
|
||||||
svn co "https://github.com/mirantis/compliance/trunk/docs/compliance" ./compliance || (echo "Failed docker/compliance download" && exit 1)
|
|
||||||
|
|
||||||
# Fix up URls in swagger files
|
# Fix up URls in swagger files
|
||||||
find ./engine/api -type f -name '*.yaml' | while read i; do sed -i 's#https://docs.docker.com/#/#g' "$i"; done;
|
find ./engine/api -type f -name '*.yaml' | while read i; do sed -i 's#https://docs.docker.com/#/#g' "$i"; done;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue