Skip to content

Commit a4a9a04

Browse files
committed
Fix links
1 parent 4541db2 commit a4a9a04

15 files changed

Lines changed: 271 additions & 217 deletions

File tree

docs/benchmark.md

Lines changed: 183 additions & 183 deletions
Large diffs are not rendered by default.

docs/benchmark.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ homepages:
232232
bash-it: https://bash-it.readthedocs.io
233233
bin: https://github.com/marcosnils/bin
234234
bun: https://bun.sh
235-
cave: https://github.com/paludis/cave
235+
cave: https://exherbo.org
236236
certbot: https://certbot.eff.org
237237
chezmoi: https://www.chezmoi.io
238238
choosenim: https://github.com/dom96/choosenim
@@ -319,10 +319,10 @@ homepages:
319319
sparkle: https://sparkle-project.org
320320
spicetify: https://spicetify.app
321321
stack: https://docs.haskellstack.org
322-
sun-tools: https://docs.oracle.com/cd/E36784_01/html/E36870/pkgadd-1m.html
322+
sun-tools: https://docs.oracle.com/cd/E88353_01/html/E72487/pkgadd-8.html
323323
swupd: https://github.com/clearlinux/swupd-client
324324
system: https://github.com/topgrade-rs/topgrade
325-
tazpkg: https://www.slitaz.org/en/doc/handbook/tazpkg.html
325+
tazpkg: https://slitaz.org
326326
tldr: https://tldr.sh
327327
tlmgr: https://www.tug.org/texlive/tlmgr.html
328328
tmux: https://github.com/tmux-plugins/tpm
@@ -333,7 +333,7 @@ homepages:
333333
vcpkg: https://vcpkg.io
334334
vim: https://www.vim.org
335335
volta-packages: https://volta.sh
336-
voom: https://github.com/yegappan/voom
336+
voom: https://www.vim.org/scripts/script.php?script_id=2657
337337
vundle: https://github.com/VundleVim/Vundle.vim
338338
waydroid: https://waydro.id
339339
wsl: https://learn.microsoft.com/windows/wsl/

docs/conf.py

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,53 @@
113113
),
114114
}
115115

116-
# GitHub renders issue comments, README tab anchors and blob line anchors with
117-
# JavaScript, so the linkcheck builder cannot find them in the static HTML.
116+
# GitHub renders issue comments, README tab anchors, blob line anchors and
117+
# commit-diff anchors with JavaScript, so the linkcheck builder cannot find
118+
# them in the static HTML.
118119
linkcheck_anchors_ignore = [
119120
r"issuecomment-\d+",
120121
r"readme",
121122
r"L\d+",
123+
r"diff-[0-9a-f]+",
124+
]
125+
126+
# GitHub markdown READMEs and CONTRIBUTING files render their heading anchors
127+
# client-side, so linkcheck can't validate any fragment on github.com pages.
128+
linkcheck_anchors_ignore_for_url = [
129+
r"https://github\.com/.+",
122130
]
123131

124132
linkcheck_ignore = [
125-
# These sites return 403 to bots but are valid.
133+
# These sites return 403/418/429/timeout to bots but are valid.
134+
r"https://claude\.ai/",
135+
r"https://devkitpro\.org",
136+
r"https://docs\.chocolatey\.org/",
137+
r"https://en\.opensuse\.org/",
138+
r"https://git\.yoctoproject\.org/",
139+
r"https://gitlab\.alpinelinux\.org/",
140+
r"https://gitlab\.manjaro\.org/",
126141
r"https://guix\.gnu\.org",
142+
r"https://liberapay\.com",
143+
r"https://medium\.com/",
144+
r"https://ohmybash\.nntoan\.com",
145+
r"https://openclipart\.org/",
146+
r"http://www\.slackware\.com/",
147+
r"https://www\.bitdefender\.com/",
148+
r"https://www\.gnu\.org/software/",
149+
r"https://www\.npmjs\.com",
150+
r"https://(www\.)?patreon\.com",
151+
r"https://www\.tug\.org/",
152+
# star-history.com renders chart fragments client-side.
153+
r"https://star-history\.com/",
127154
# GitHub fragment anchors are rendered client-side and not visible to linkcheck.
128155
r"https://github\.com/kdeldycke/click-extra#",
156+
# GitHub README tab fragments are rendered client-side.
157+
r"https://github\.com/.+\?tab=readme-ov-file#",
158+
# The unversioned `releases/latest/download/<file>` URLs in the Executables
159+
# table 404 until the release workflow publishes unversioned aliases. The
160+
# versioned `mpm-<version>-<platform>-<arch>.<ext>` artifacts do exist on
161+
# every release.
162+
r"https://github\.com/kdeldycke/meta-package-manager/releases/latest/download/.*",
129163
]
130164

131165
# Footer content.

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ If you have difficulties to use `pip`, see
127127
````
128128
129129
````{tab-item} pipx
130-
[`pipx`](https://pipx.pypa.io/stable/installation/) is a great way to install Python applications globally:
130+
[`pipx`](https://pipx.pypa.io/latest/install-pipx/) is a great way to install Python applications globally:
131131
132132
```{code-block} shell-session
133133
$ pipx install meta-package-manager

docs/releasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The release PR must be merged via "Rebase and merge" (never squash). See the `re
1717

1818
The Chocolatey package definition is maintained in-tree at `packaging/choco/meta-package-manager/`, but is no longer pushed to the [Chocolatey community repository](https://community.chocolatey.org/packages/meta-package-manager) (see [Impact on Chocolatey](#impact-on-chocolatey) for the rejection rationale). The automated `chocolatey` job has been removed from `release.yaml`; only the in-tree nuspec remains, so users can build and install locally (see [`install.md`](install.md)) and the `choco-source` job in `tests-install.yaml` keeps the build instructions exercised.
1919

20-
The package directory name must match the nuspec basename: this is enforced by [Chocolatey-AU's `AUPackage`](https://github.com/chocolatey-community/Chocolatey-AU/blob/main/src/Private/AUPackage.ps1), which derives the nuspec path from `Split-Path -Leaf $pwd`.
20+
The package directory name must match the nuspec basename: this is enforced by [Chocolatey-AU's `AUPackage`](https://github.com/chocolatey-community/Chocolatey-AU/blob/develop/src/Private/AUPackage.ps1), which derives the nuspec path from `Split-Path -Leaf $pwd`.
2121

2222
## Guix
2323

docs/usecase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Implement a best matching strategy, across package managers of different kinds.
337337
```{admonition} Context
338338
The [Log4Shell vulnerability](https://en.wikipedia.org/wiki/Log4Shell) debacle was a wake-up call for the industry. This dependency was deeply embedded in the legacy stack of companies and administrations. They all had huge difficulty to identify its presence, writing custom detection scripts and scanning their software artifacts.
339339
340-
As a response to this crisis, [SBOM tools have now became a category of their own](https://en.wikipedia.org/wiki/Software_supply_chain). To the point that [a US executive order has also been released](https://www.whitehouse.gov/briefing-room/presidential-actions/2021/05/12/executive-order-on-improving-the-nations-cybersecurity/) to modernize cybersecurity practices and enforce the production of SBOM to track the software supply chain.
340+
As a response to this crisis, [SBOM tools have now became a category of their own](https://en.wikipedia.org/wiki/Software_supply_chain). To the point that [a US executive order has also been released](https://bidenwhitehouse.archives.gov/briefing-room/presidential-actions/2021/05/12/executive-order-on-improving-the-nations-cybersecurity/) to modernize cybersecurity practices and enforce the production of SBOM to track the software supply chain.
341341
```
342342

343343
Well `mpm` is capable of exporting the list of packages installed on a system to different SBOM standards and formats:

meta_package_manager/bar_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def getenv_bool(var, default: bool = False) -> bool:
9090
9191
Relies on ``configparser.RawConfigParser.BOOLEAN_STATES`` to translate strings
9292
into boolean. See:
93-
https://github.com/python/cpython/blob/89192c4/Lib/configparser.py#L597-L599
93+
https://github.com/python/cpython/blob/3c298e2e385fc6f462abaada2fd680deb1a2b58e/Lib/configparser.py#L596-L597
9494
"""
9595
value = MPMPlugin.getenv_str(var)
9696
if value is None:

meta_package_manager/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def bar_plugin_path(ctx: Context, param: Parameter, value: str | None):
225225
"""Print the location of the :doc:`Xbar/SwiftBar plugin <bar-plugin>`.
226226
227227
Returns the normalized path of the standalone `bar_plugin.py
228-
<https://github.com/kdeldycke/meta-package-manager/meta_package_manager/bar_plugin.py>`_
228+
<https://github.com/kdeldycke/meta-package-manager/blob/main/meta_package_manager/bar_plugin.py>`_
229229
script that is distributed with this Python module. This
230230
is made available under the :option:`mpm --bar-plugin-path` option.
231231

meta_package_manager/managers/emerge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def cleanup(self) -> None:
301301
302302
An update is forced before calling the clean commands, as `pointed to by the
303303
emerge documentation
304-
<https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet#Recommended_method>`_:
304+
<https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet>`_:
305305
306306
> As a safety measure, depclean will not remove any packages unless *all*
307307
> required dependencies have been resolved. As a consequence, it is often

meta_package_manager/managers/homebrew.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def search(self, query: str, extended: bool, exact: bool) -> Iterator[Package]:
339339
not-tetris: (Not Tetris) [no description]
340340
tetrio: (TETR.IO) Free-to-play Tetris clone
341341
342-
More doc at: https://docs.brew.sh/Manpage#search--s-options-textregex-
342+
More doc at: https://docs.brew.sh/Manpage#search
343343
"""
344344
# Keep track of package IDs already matched by the first extended search pass.
345345
matched_ids = set()
@@ -519,7 +519,7 @@ def cleanup(self) -> None:
519519
Removing: ~/Library/Logs/Homebrew/libfido2... (64B)
520520
Removing: ~/Library/Logs/Homebrew/libcbor... (64B)
521521
522-
More doc at: https://docs.brew.sh/Manpage#cleanup-options-formulacask
522+
More doc at: https://docs.brew.sh/Manpage#cleanup
523523
524524
.. code-block:: shell-session
525525

0 commit comments

Comments
 (0)