docs: fixed 404 errors identified by linkchecker (#4024)

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
This commit is contained in:
Fabrice Flore-Thébault 2023-09-22 09:06:58 +02:00 committed by GitHub
parent 6c26d14c60
commit 7ee7c577b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 6 deletions

View file

@ -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)

View file

@ -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]]

View file

@ -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'],

View file

@ -381,7 +381,7 @@ function RunAnywhere() {
<Link
title="Download for Windows"
className="p-4 w-11/12 md:w-1/2 lg:w-1/3 no-underline hover:no-underline hover:text-white text-gray-900 dark:text-white"
to="/downloads/Windows">
to="/downloads/windows">
<div className="flex rounded-lg h-full bg-zinc-100 hover:bg-purple-500 dark:hover:bg-purple-700 dark:bg-charcoal-800 bg-opacity-60 p-8 flex-col">
<div className="flex items-center mb-3 flex-col">
<FontAwesomeIcon size="4x" icon={faWindows} />
@ -399,7 +399,7 @@ function RunAnywhere() {
<Link
title="Download for macOS"
className="no-underline hover:no-underline hover:text-white text-gray-900 dark:text-white p-4 w-11/12 md:w-1/2 lg:w-1/3"
to="/downloads/macOS">
to="/downloads/macos">
<div className="flex rounded-lg h-full bg-zinc-100 hover:bg-purple-500 dark:hover:bg-purple-700 dark:bg-charcoal-800 bg-opacity-60 p-8 flex-col">
<div className="flex items-center mb-3 flex-col">
<FontAwesomeIcon size="4x" icon={faApple} />
@ -414,7 +414,7 @@ function RunAnywhere() {
<Link
title="Download for Linux"
className="no-underline hover:no-underline hover:text-white text-gray-900 dark:text-white p-4 w-11/12 md:w-1/2 lg:w-1/3"
to="/downloads/Linux">
to="/downloads/linux">
<div className="flex rounded-lg h-full bg-zinc-100 hover:bg-purple-500 dark:hover:bg-purple-700 dark:bg-charcoal-800 bg-opacity-60 p-8 flex-col">
<div className="flex items-center mb-3 flex-col">
<FontAwesomeIcon size="4x" icon={faLinux} />