From f3da53a7b488307a5a8d999325ddc8f7aade5549 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 13 Sep 2021 11:47:55 +0200 Subject: [PATCH] remove old compliance upstream resource It's no longer referenced from the TOC, and redirects to the homepage. Signed-off-by: Sebastiaan van Stijn --- _config_production.yml | 4 ---- _scripts/fetch-upstream-resources.sh | 1 - 2 files changed, 5 deletions(-) diff --git a/_config_production.yml b/_config_production.yml index 31a1963c26..e9694966a8 100644 --- a/_config_production.yml +++ b/_config_production.yml @@ -84,10 +84,6 @@ defaults: path: registry/spec values: 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 # that are needed to redirect old URLs diff --git a/_scripts/fetch-upstream-resources.sh b/_scripts/fetch-upstream-resources.sh index 18ed33aad9..75fa542559 100755 --- a/_scripts/fetch-upstream-resources.sh +++ b/_scripts/fetch-upstream-resources.sh @@ -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/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/mirantis/compliance/trunk/docs/compliance" ./compliance || (echo "Failed docker/compliance download" && exit 1) # 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;