Skip to content

Commit 2ccda52

Browse files
committed
book.toml: clean up linkcheck exclusions, fix a couple links
1 parent bc4333f commit 2ccda52

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

book.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ format = "pdf"
2525
paper = "us-letter"
2626
text-font = "Libertinus Serif"
2727
link-color = "black"
28+
# XXX: needs fix for zeros showing up
29+
# heading-numbering = "1.1"
2830

2931
[output.typst.advanced]
3032
typst-markup-header = """
@@ -50,6 +52,11 @@ typst-markup-header = """
5052
}
5153
#show raw.where(block: false): box.with(fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt)
5254
#show raw.where(block: true): box.with(fill: luma(240), inset: 8pt, radius: 3pt)
55+
// XXX: needs fix for zeros showing up
56+
#let skip_zeros(..args) = {
57+
numbering("1.1", ..args.pos().filter((i) => i != 0))
58+
}
59+
#set heading(numbering: skip_zeros)
5360
"""
5461

5562
[output.gemini]
@@ -59,17 +66,12 @@ optional = true
5966
optional = true
6067
follow-web-links = true
6168
exclude = [
62-
'kernel\.org',
63-
'ntp\.org',
6469
'\.onion',
6570
'localhost',
66-
'userbase\.kde\.org',
67-
'sjtu\.edu\.cn',
68-
'mirrors\.cnnic\.cn',
69-
'void\.webconverger\.org',
70-
'mirror\.vofr\.net',
71-
'void\.chililinux\.com',
72-
'voidlinux\.com\.br',
7371
'reddit\.com',
7472
'raspberrypi\.com',
73+
'xnux\.eu',
74+
'canonical\.com',
75+
'freedesktop\.org',
7576
]
77+
user-agent = "Mozilla/5.0"

src/installation/guides/arm-devices/raspberry-pi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ functionality.
1212
The [command line](../../../config/kernel.md#cmdline) parameters passed to the
1313
kernel are in the `/boot/cmdline.txt` file. Some of the relevant parameters are
1414
documented in the [official
15-
documentation](https://www.raspberrypi.com/documentation/computers/configuration.html#the-kernel-command-line).
15+
documentation](https://www.raspberrypi.com/documentation/computers/configuration.html#kernel-command-line-cmdline-txt).
1616

1717
## Supported Models
1818

src/installation/guides/fde.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ LUKS2 is only partially supported by GRUB; specifically, only the PBKDF2 key
5252
derivation function is
5353
[implemented](https://git.savannah.gnu.org/cgit/grub.git/commit/?id=365e0cc3e7e44151c14dd29514c2f870b49f9755),
5454
which is *not* the default KDF used with LUKS2, that being Argon2i ([GRUB Bug
55-
59409](https://savannah.gnu.org/bugs/?59409)). LUKS encrypted partitions using
56-
Argon2i (as well as the other KDF) can *not* be decrypted. For that reason, this
57-
guide only recommends LUKS1 be used.
55+
59409](https://web.archive.org/web/20250320141758/https://savannah.gnu.org/bugs/?59409)).
56+
LUKS encrypted partitions using Argon2i (as well as the other KDF) can *not* be
57+
decrypted. For that reason, this guide only recommends LUKS1 be used.
5858

5959
Keep in mind the encrypted volume will be `/dev/sda2` on EFI systems, since
6060
`/dev/sda1` is taken up by the EFI partition.

0 commit comments

Comments
 (0)