We already have a redirect for this that's defined in the docker/cli repository,
but unifying these redirects to live in the docs repository.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Docker Desktop uses an informational message that prints:
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/desktop/windows/wsl/ for details.
We see quite some users trying to copy the URL, and accidentally copying part
of the text, which results in a 404;
https://github.com/docker/docker.github.io/issues?q=in%3Atitle+%2Fdocker-for-windows%2Fwsl%2Ffor%2520details+
I'm changing the message to have the URL on a separate line for easier copying,
but having a shorter URL would make it slightly easier for users to type it in
their browser, without having to copy it.
This adds a new URL https://docs.docker.com/go/wsl2/ that we can redirect to
the most appropriate location within the docs, without having to update the
URL in Docker Desktop itself.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This URL will be referred to from the CLI to point to documentation
on using Go templates to format CLI output.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This page is used to reserve the "/go/" URL/path for redirecting purposes. This
page is not published, and should not be visible on the documentation website.
Use the `/go/` URL prefix to provide "vanity" URLs linking to the documentation.
These URLs can be used in (for example) the `docker` CLI to provide a short,
permanent link to refer to a topic in the documentation.
Having a fixed `/go/` URL allows you to redirect the URL to the most current
location in the documentation for a given topic, which may evolve over time.
For example, the `docker` CLI can output `https://docs.docker.com/go/some-topic`
in its help output, which can be redirected to elsewhere in the documentation,
using the `redirect_from` metadata field in the target page.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>