Documentation site for cooldowns.dev that
explains what dependency cooldowns are, why they matter, and how to
configure them for various package managers. Includes a helper shell
script (cooldowns.sh) that automates checking and configuring cooldowns.
-
README.mdis the single source of truth for documentation content.docs/index.mdincludes it viapymdownx.snippets(--8<-- "README.md") and only adds frontmatter. EditREADME.md, notdocs/index.md. -
cooldowns.shmust work on both Linux and macOS. Use portable constructs (e.g.awkinstead ofgrep -oP, pure-bash version comparison instead ofsort -V). -
There are two separate changelogs:
- The changelog in
cooldowns.shrecords script functionality changes (new tool support, behavior changes). Keep entries to a single line. - The changelog in
README.mdrecords documentation changes only (new tool docs, changes in configuration). Do not duplicate script-level changes here.
- The changelog in
-
Run
shellcheck cooldowns.shafter each change to the script. -
Lint markdown after each change to the documentation files:
uv run --with mdlint mdlint check
-
Build and validate docs after each change to README.md:
uv run --with zensical zensical build