void-packages/srcpkgs/void-docs/patches/link-fix.patch

116 lines
5.7 KiB
Diff

From 7de7c448e979392780ac6e7e74d121320575ce2e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 12 Mar 2024 14:06:27 -0400
Subject: [PATCH] src/: fix links, vmdfmt
---
src/config/external-applications.md | 2 +-
src/config/graphical-session/wayland.md | 2 +-
src/config/media/pipewire.md | 6 +++---
src/installation/guides/zfs.md | 10 ++++------
src/installation/live-images/guide.md | 2 +-
src/xbps/repositories/mirrors/index.md | 3 +--
6 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/src/config/external-applications.md b/src/config/external-applications.md
index fc25aec..258e9dc 100644
--- a/src/config/external-applications.md
+++ b/src/config/external-applications.md
@@ -93,7 +93,7 @@ Steam can be installed either via a native package, which requires [enabling the
"nonfree" repository](../xbps/repositories/index.md#nonfree), or via
[Flatpak](#flatpak). The list of dependencies for different platforms and
troubleshooting information for the native package can be found in its
-[Void-specific documentation](./package-documentation/index.html), while this
+[Void-specific documentation](./package-documentation/index.md), while this
section deals with potential issues faced by Flatpak users.
If you are using a different drive to store your game library, the
diff --git a/src/config/graphical-session/wayland.md b/src/config/graphical-session/wayland.md
index 37e9043..03816c0 100644
--- a/src/config/graphical-session/wayland.md
+++ b/src/config/graphical-session/wayland.md
@@ -85,7 +85,7 @@ compositors, and is installed as a dependency for most of them. Its package is
## Configuration
The Wayland library requires the
-[`XDG_RUNTIME_DIR`](../session-management.html#xdg_runtime_dir) environment
+[`XDG_RUNTIME_DIR`](../session-management.md#xdg_runtime_dir) environment
variable to determine the directory for the Wayland socket.
It is also possible that some applications use the `XDG_SESSION_TYPE`
diff --git a/src/config/media/pipewire.md b/src/config/media/pipewire.md
index b2d3aa4..4e548c7 100644
--- a/src/config/media/pipewire.md
+++ b/src/config/media/pipewire.md
@@ -16,7 +16,7 @@ manager, or Wayland compositor may need to be launched with
[`dbus-run-session(1)`](https://man.voidlinux.org/dbus-run-session.1).
PipeWire also requires the
-[`XDG_RUNTIME_DIR`](../session-management.html#xdg_runtime_dir) environment
+[`XDG_RUNTIME_DIR`](../session-management.md#xdg_runtime_dir) environment
variable to be defined in your environment to work properly.
If not using [elogind](../session-management.md), it is necessary to be in the
@@ -232,8 +232,8 @@ running.
[E][...] mod.protocol-native | [module-protocol-: 710 init_socket_name()] server 0x55e09658e9d0: name pipewire-0 is not an absolute path and no runtime dir found. Set one of PIPEWIRE_RUNTIME_DIR, XDG_RUNTIME_DIR or USERPROFILE in the environment
```
-This indicates [`XDG_RUNTIME_DIR`](../session-management.html#xdg_runtime_dir)
-is not set up properly.
+This indicates [`XDG_RUNTIME_DIR`](../session-management.md#xdg_runtime_dir) is
+not set up properly.
### Only a "dummy" output is found
diff --git a/src/installation/guides/zfs.md b/src/installation/guides/zfs.md
index b01b068..e81f18c 100644
--- a/src/installation/guides/zfs.md
+++ b/src/installation/guides/zfs.md
@@ -165,12 +165,10 @@ the EFI system partition:
### Installation
At this point, ordinary installation can proceed from the ["Base Installation"
-section](https://docs.voidlinux.org/installation/guides/chroot.html#base-installation).
-of the standard chroot installation guide. However, before following the
-["Finalization"
-instructions](https://docs.voidlinux.org/installation/guides/chroot.html#finalization),
-make sure that the `zfs` package has been installed and `dracut` is configured
-to identify a ZFS root filesystem:
+section](./chroot.md#base-installation). of the standard chroot installation
+guide. However, before following the ["Finalization"
+instructions](./chroot.md#finalization), make sure that the `zfs` package has
+been installed and `dracut` is configured to identify a ZFS root filesystem:
```
[xchroot /mnt] # mkdir -p /etc/dracut.conf.d
diff --git a/src/installation/live-images/guide.md b/src/installation/live-images/guide.md
index dda8fb0..780f54a 100644
--- a/src/installation/live-images/guide.md
+++ b/src/installation/live-images/guide.md
@@ -78,7 +78,7 @@ Choose a login (default `void`) and a descriptive name for that login. Then
enter and confirm the password for the new user. You will then be prompted to
verify the groups for this new user. They are added to the `wheel` group by
default and will have `sudo` access. Default groups and their descriptions are
-listed [here](../../config/users-and-groups.html#default-groups).
+listed [here](../../config/users-and-groups.md#default-groups).
Login names have some restrictions, as described in
[useradd(8)](https://man.voidlinux.org/useradd.8#CAVEATS).
diff --git a/src/xbps/repositories/mirrors/index.md b/src/xbps/repositories/mirrors/index.md
index 29f37d9..fe5ca95 100644
--- a/src/xbps/repositories/mirrors/index.md
+++ b/src/xbps/repositories/mirrors/index.md
@@ -4,8 +4,7 @@ Void Linux maintains mirrors in several geographic regions for users. A fresh
install will default to
[repo-default.voidlinux.org](https://repo-default.voidlinux.org), which may map
to any Tier 1 mirror, but you may have a better experience by [selecting a
-different
-mirror](https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html).
+different mirror](./changing.md).
> See [xmirror.voidlinux.org](https://xmirror.voidlinux.org) for more
> information and a list of available mirrors.
--
2.44.0