From 7ee7c577b162f7cc21721a7a2a07da3bf2ea0f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Flore-Th=C3=A9bault?= Date: Fri, 22 Sep 2023 09:06:58 +0200 Subject: [PATCH] docs: fixed 404 errors identified by linkchecker (#4024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabrice Flore-Thébault --- website/blog/2023-02-15-release-0.12.md | 2 +- .../registries/insecure-registry.md | 4 ++-- website/docusaurus.config.js | 12 ++++++++++++ website/src/pages/index.tsx | 6 +++--- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/website/blog/2023-02-15-release-0.12.md b/website/blog/2023-02-15-release-0.12.md index d6ae494dbff..8e171ddf6ee 100644 --- a/website/blog/2023-02-15-release-0.12.md +++ b/website/blog/2023-02-15-release-0.12.md @@ -116,7 +116,7 @@ The documentation had many editorial reviews, and new content. - [Refresh Windows Installation](/docs/installation/windows-install) - [Revamped installation introduction](/docs/installation) - [Reorganized Linux installation](/docs/installation/linux-install) -- [Installing Podman with OpenShift Local](docs/onboarding/containers/installing-podman-with-openshift-local-on-windows) +- [Installing Podman with OpenShift Local](/docs/onboarding/containers/installing-podman-with-openshift-local-on-windows) - [Installing Podman Desktop on Windows in a restricted environment](/docs/installation/windows-install/installing-podman-desktop-and-podman-in-a-restricted-environment) - [Fixed documentation on `podman-mac-helper` setup](/docs/migrating-from-docker/using-podman-mac-helper) diff --git a/website/docs/working-with-containers/registries/insecure-registry.md b/website/docs/working-with-containers/registries/insecure-registry.md index e1b50b29acc..81c0742d76a 100644 --- a/website/docs/working-with-containers/registries/insecure-registry.md +++ b/website/docs/working-with-containers/registries/insecure-registry.md @@ -40,7 +40,7 @@ $ podman machine ssh [optional-machine-name] $ sudo vi /etc/containers/registries.conf ``` -5. Add the insecure registry: Add a new [[registry]] section for the URL of the insecure registry you want to use. For example, if your insecure registry is located at http://registry.example.com, add the following lines: +5. Add the insecure registry: Add a new [[registry]] section for the URL of the insecure registry you want to use. For example, if your insecure registry is located at `http://registry.example.com`, add the following lines: ```sh [[registry]] @@ -76,7 +76,7 @@ $ podman machine start $ sudo vi /etc/containers/registries.conf ``` -4. Add the insecure registry: Add a new [[registry]] section for the URL of the insecure registry you want to use. For example, if your insecure registry is located at http://registry.example.com, add the following lines: +4. Add the insecure registry: Add a new [[registry]] section for the URL of the insecure registry you want to use. For example, if your insecure registry is located at `http://registry.example.com`, add the following lines: ```sh [[registry]] diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 589ecd782c1..b5eec2b2b60 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -40,6 +40,18 @@ const config = { '@docusaurus/plugin-client-redirects', { redirects: [ + { + to: '/downloads/windows', + from: '/downloads/Windows', + }, + { + to: '/downloads/macos', + from: '/downloads/macOS', + }, + { + to: '/downloads/linux', + from: '/downloads/Linux', + }, { to: '/docs/compose', from: ['/docs/compose/compose-spec', '/docs/compose/podman-compose'], diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index ecd22409bc5..70de90456f0 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -381,7 +381,7 @@ function RunAnywhere() { + to="/downloads/windows">
@@ -399,7 +399,7 @@ function RunAnywhere() { + to="/downloads/macos">
@@ -414,7 +414,7 @@ function RunAnywhere() { + to="/downloads/linux">