feature: markdown link check

This commit is contained in:
Michele Cereda
2023-12-24 19:35:27 +01:00
parent 25a6f5041a
commit 5c01de5433
24 changed files with 33 additions and 32 deletions

View File

@@ -51,3 +51,9 @@ repos:
rev: v0.12.0 rev: v0.12.0
hooks: hooks:
- id: markdownlint - id: markdownlint
- repo: https://github.com/tcort/markdown-link-check
rev: v3.11.2
hooks:
- id: markdown-link-check
args:
- -q

View File

@@ -155,4 +155,4 @@ The versions listed in such file can be:
[plugins list]: https://github.com/asdf-vm/asdf-plugins [plugins list]: https://github.com/asdf-vm/asdf-plugins
<!-- Files --> <!-- Files -->
[.tool-versions example]: ../examples/.tool-versions [.tool-versions example]: ../examples/dotfiles/.tool-versions

View File

@@ -391,7 +391,7 @@ All the references in the [further readings] section, plus the following:
[6 bash tricks you can use daily]: https://medium.com/for-linux-users/6-bash-tricks-you-can-use-daily-a32abdd8b13 [6 bash tricks you can use daily]: https://medium.com/for-linux-users/6-bash-tricks-you-can-use-daily-a32abdd8b13
[bash startup files loading order]: https://youngstone89.medium.com/unix-introduction-bash-startup-files-loading-order-562543ac12e9 [bash startup files loading order]: https://youngstone89.medium.com/unix-introduction-bash-startup-files-loading-order-562543ac12e9
[how to detect if a script is being sourced]: https://stackoverflow.com/questions/2683279/how-to-detect-if-a-script-is-being-sourced#28776166 [how to detect if a script is being sourced]: https://stackoverflow.com/questions/2683279/how-to-detect-if-a-script-is-being-sourced#28776166
[speed up your command line navigation]: https://blog.jread.com/speed-up-your-command-line-navigation-d4050207f02c [speed up your command line navigation]: https://blog.jread.com/posts/speed-up-your-command-line-navigation-part-1/
[the bash trap command]: https://www.linuxjournal.com/content/bash-trap-command [the bash trap command]: https://www.linuxjournal.com/content/bash-trap-command
[the essential bash cheat sheet]: https://betterprogramming.pub/the-essential-bash-cheat-sheet-e1c3df06560 [the essential bash cheat sheet]: https://betterprogramming.pub/the-essential-bash-cheat-sheet-e1c3df06560
[upper- or lower-casing strings]: https://scriptingosx.com/2019/12/upper-or-lower-casing-strings-in-bash-and-zsh/ [upper- or lower-casing strings]: https://scriptingosx.com/2019/12/upper-or-lower-casing-strings-in-bash-and-zsh/

View File

@@ -66,7 +66,7 @@ Based on experience.
<!-- Knowledge base --> <!-- Knowledge base -->
[safe]: safe.placeholder [safe]: safe.placeholder
[the automation paradox]: the%20automation%20paradox.placeholder [the automation paradox]: the%20automation%20paradox.md
<!-- Others --> <!-- Others -->
[a case against "platform teams"]: https://kislayverma.com/organizations/a-case-against-platform-teams/ [a case against "platform teams"]: https://kislayverma.com/organizations/a-case-against-platform-teams/

View File

@@ -173,12 +173,12 @@ All the references in the [further readings] section, plus the following:
--> -->
<!-- Upstream --> <!-- Upstream -->
[debugging cloud-init]: https://cloudinit.readthedocs.io/en/latest/topics/debugging.html [debugging cloud-init]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/howto/debugging.html
[examples]: https://cloudinit.readthedocs.io/en/latest/topics/examples.html [examples]: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
[merging user-data sections]: https://cloudinit.readthedocs.io/en/latest/topics/merging.html [merging user-data sections]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/reference/merging.html
[modules]: https://cloudinit.readthedocs.io/en/latest/topics/modules.html [modules]: https://cloudinit.readthedocs.io/en/latest/topics/modules.html
[mime multi part archive]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive [mime multi part archive]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive
[tutorial]: https://cloudinit.readthedocs.io/en/latest/topics/tutorial.html [tutorial]: https://canonical-cloud-init.readthedocs-hosted.com/en/latest/tutorial/
[website]: https://cloud-init.io/ [website]: https://cloud-init.io/
<!-- In-article sections --> <!-- In-article sections -->

View File

@@ -64,5 +64,5 @@ All the references in the [further readings] section, plus the following:
[encrypted root filesystem]: encrypted%20root%20filesystem.md [encrypted root filesystem]: encrypted%20root%20filesystem.md
<!-- Files --> <!-- Files -->
[create an encrypted btrfs device]: scripts/create-an-encrypted-btrfs-device.sh [create an encrypted btrfs device]: ../scripts/create-an-encrypted-btrfs-device.sh
[create an encrypted zfs device]: scripts/create-an-encrypted-btrfs-device.sh [create an encrypted zfs device]: ../scripts/create-an-encrypted-zfs-device.sh

View File

@@ -145,7 +145,7 @@ All the references in the [further readings] section, plus the following:
<!-- Upstream --> <!-- Upstream -->
[book]: https://everything.curl.dev/ [book]: https://everything.curl.dev/
[config file]: https://everything.curl.dev/cmdline/configfile [config file]: https://everything.curl.dev/cmdline/configfile
[http2]: https://everything.curl.dev/http/http2 [http2]: https://everything.curl.dev/http/versions/http2
<!-- In-article sections --> <!-- In-article sections -->
[further readings]: #further-readings [further readings]: #further-readings

View File

@@ -38,8 +38,8 @@ All the references in the [further readings] section, plus the following:
[further readings]: #further-readings [further readings]: #further-readings
<!-- Knowledge base --> <!-- Knowledge base -->
[kubectl]: kubectl.md [kubectl]: kubernetes/kubectl.md
[kubernetes]: README.md [kubernetes]: kubernetes/README.md
<!-- Others --> <!-- Others -->
[get the environment variables of running process in container]: https://unix.stackexchange.com/a/412730 [get the environment variables of running process in container]: https://unix.stackexchange.com/a/412730

View File

@@ -9,6 +9,8 @@
References References
--> -->
<!-- Upstream -->
[fedora silverblue]: https://fedoraproject.org/silverblue/
<!-- Knowledge base --> <!-- Knowledge base -->
[fedora silverblue]: fedora%20silverblue.md
[microos]: microos.md [microos]: microos.md

View File

@@ -30,4 +30,4 @@ $ kapp -y deploy -a 'my-app' -f <(ytt -f './examples/simple-app-example/config-1
--> -->
<!-- Upstream --> <!-- Upstream -->
[website]: https://get-kapp.io [website]: https://carvel.dev/kapp/

View File

@@ -632,7 +632,7 @@ All the references in the [further readings] section, plus the following:
<!-- Knowledge base --> <!-- Knowledge base -->
[jsonpath]: ../jsonpath.md [jsonpath]: ../jsonpath.md
[krew]: krew.md [krew]: krew.placeholder
[kubernetes]: README.md [kubernetes]: README.md
<!-- Others --> <!-- Others -->

View File

@@ -56,8 +56,6 @@ options brcmfmac roamoff=1 feature_disable=0x82000
## Sources ## Sources
All the references in the [further readings] section, plus the following:
- The [Kernel module][arch wiki kernel module] page in the [Arch wiki] - The [Kernel module][arch wiki kernel module] page in the [Arch wiki]
- The [Kernel modules][gentoo wiki kernel modules] - The [Kernel modules][gentoo wiki kernel modules]
@@ -65,9 +63,6 @@ All the references in the [further readings] section, plus the following:
References References
--> -->
<!-- In-article sections -->
[further readings]: #further-readings
<!-- Others --> <!-- Others -->
[arch wiki]: https://wiki.archlinux.org [arch wiki]: https://wiki.archlinux.org
[arch wiki kernel module]: https://wiki.archlinux.org/title/Kernel_module [arch wiki kernel module]: https://wiki.archlinux.org/title/Kernel_module

View File

@@ -36,5 +36,5 @@ find "$(brew --prefix)/etc" -type 'f' -name 'cert.pem' -path '*/openssl*' -exec
[github]: https://github.com/raggi/openssl-osx-ca [github]: https://github.com/raggi/openssl-osx-ca
<!-- Knowledge base --> <!-- Knowledge base -->
[homebrew]: homebrew.md [homebrew]: ../homebrew.md
[mac os x]: README.md [mac os x]: README.md

View File

@@ -37,7 +37,6 @@ See [MicroOS Desktop] for more and updated information.
## Sources ## Sources
- [MicroOS Desktop]
- [MicroOS Portal] - [MicroOS Portal]
<!-- <!--
@@ -45,7 +44,6 @@ See [MicroOS Desktop] for more and updated information.
--> -->
<!-- Upstream --> <!-- Upstream -->
[microos desktop]: https://opensuse.github.io/openSUSE-docs-revamped-temp/microos_getting_started/
[microos portal]: https://en.opensuse.org/Portal:MicroOS [microos portal]: https://en.opensuse.org/Portal:MicroOS
<!-- Knowledge base --> <!-- Knowledge base -->

View File

@@ -54,7 +54,7 @@ pipx uninstall 'azure-cli'
--> -->
<!-- Upstream --> <!-- Upstream -->
[website]: https://pypa.github.io/pipx/ [website]: https://pipx.pypa.io/stable/
<!-- Knowledge base --> <!-- Knowledge base -->
[pip]: pip.md [pip]: pip.md

View File

@@ -120,7 +120,7 @@ All the references in the [further readings] section, plus the following:
<!-- Knowledge base --> <!-- Knowledge base -->
[grafana]: grafana.md [grafana]: grafana.md
[node exporter]: node%20exporter.md [node exporter]: node%20exporter.md
[smnp exporter]: smnp%20exporter.md [snmp exporter]: snmp%20exporter.md
<!-- Files --> <!-- Files -->
[docker/monitoring]: ../docker/monitoring/README.md [docker/monitoring]: ../docker/monitoring/README.md

View File

@@ -28,4 +28,4 @@ replicated admin --tty=0 retrieve-iact
[replicatedctl]: replicatedctl.md [replicatedctl]: replicatedctl.md
<!-- Files --> <!-- Files -->
[configuration file example]: ../examples/terraform%20enterprise/replicated.settings.json [configuration file example]: ../examples/terraform/enterprise/replicated.settings.json

View File

@@ -28,5 +28,5 @@ uuencode file.txt | mail -s "Subject" recipient@mail.server
--> -->
<!-- Others --> <!-- Others -->
[linux mail command examples]: https://www.binarytides.com/linux-mail-command-examples [linux mail command examples]: https://www.binarytides.com/linux-mail-command-examples/
[uuencode]: https://linux.101hacks.com/unix/uuencode/ [uuencode]: https://linux.101hacks.com/unix/uuencode/

View File

@@ -25,7 +25,7 @@ echo "w /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load - - - - 1" | s
--> -->
<!-- Knowledge base --> <!-- Knowledge base -->
[cpufreq]: cpufreq.md [cpupower]: cpupower.md
<!-- Others --> <!-- Others -->
[laptop overheating and battery duration reduction]: https://wiki.archlinux.org/?title=BOINC#Laptop_overheating_and_battery_duration_reduction [laptop overheating and battery duration reduction]: https://wiki.archlinux.org/?title=BOINC#Laptop_overheating_and_battery_duration_reduction

View File

@@ -219,7 +219,7 @@ All the references in the [further readings] section, plus the following:
[further readings]: #further-readings [further readings]: #further-readings
<!-- Files --> <!-- Files -->
[michelecereda/keybaseio-client]: ../docker/keybaseio-client/README.md [michelecereda/keybaseio-client]: ../docker/keybaseio-git-client/README.md
<!-- Others --> <!-- Others -->
[configuring deduplication block on the synology]: https://onedrive.live.com/?authkey=%21ACYMJq62iJaU7HY&cid=1E8D74207941B8DD&id=1E8D74207941B8DD%21243&parId=1E8D74207941B8DD%21121&o=OneUp [configuring deduplication block on the synology]: https://onedrive.live.com/?authkey=%21ACYMJq62iJaU7HY&cid=1E8D74207941B8DD&id=1E8D74207941B8DD%21243&parId=1E8D74207941B8DD%21121&o=OneUp

View File

@@ -65,4 +65,4 @@ reload_config
[the uci system]: https://openwrt.org/docs/guide-user/base-system/uci [the uci system]: https://openwrt.org/docs/guide-user/base-system/uci
<!-- Knowledge base --> <!-- Knowledge base -->
[Turris Omnia]: turris.md [Turris Omnia]: turris%20os.md

View File

@@ -46,4 +46,4 @@ sudo useradd --system username
--> -->
<!-- Others --> <!-- Others -->
[cheat.sh]: cheat.sh/useradd [cheat.sh]: https://cheat.sh/useradd

View File

@@ -29,4 +29,4 @@ sudo userdel --remove username
--> -->
<!-- Others --> <!-- Others -->
[cheat.sh]: cheat.sh/userdel [cheat.sh]: https://cheat.sh/userdel

View File

@@ -45,4 +45,4 @@ sudo usermod --move-home --home path/to/new_home lonny
--> -->
<!-- Others --> <!-- Others -->
[cheat.sh]: cheat.sh/usermod [cheat.sh]: https://cheat.sh/usermod