From 7fbb657ea140dc234395c98762782dd5ec244f6e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 16 Mar 2020 11:06:56 +0100 Subject: [PATCH] config: remove docs.docker.com as site URL Having this variable set causes redirects to always redirect to https://docs.docker.com, which makes it not possible to preview redirects locally, or to host them on a different domain (e.g. on a staging domain). Signed-off-by: Sebastiaan van Stijn --- _config.yml | 1 - _config_authoring.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/_config.yml b/_config.yml index 399adc30ab..0642a14156 100644 --- a/_config.yml +++ b/_config.yml @@ -11,7 +11,6 @@ incremental: true permalink: pretty safe: false lsi: false -url: https://docs.docker.com # This needs to have all the directories you expect to be in the archives (delivered by docs-base in the Dockerfile) keep_files: ["v17.06", "v18.03", "v18.09"] exclude: ["_scripts", "apidocs/layouts", "Gemfile", "hooks", "index.html", "404.html"] diff --git a/_config_authoring.yml b/_config_authoring.yml index bff865c335..6dd919ce49 100644 --- a/_config_authoring.yml +++ b/_config_authoring.yml @@ -11,7 +11,6 @@ incremental: false permalink: pretty safe: false lsi: false -url: https://docs.docker.com # This needs to have all the directories you expect to be in the archives (delivered by docs-base in the Dockerfile) keep_files: ["v17.06", "v18.03", "v18.09"] exclude: ["_scripts", "apidocs/layouts", "Gemfile", "hooks", "index.html", "404.html"]