nixpkgs/doc/contributing
Naïm Favier a8d4cf149c
doc: separate manpage URLs from the Pandoc filter
Move the manpage-to-URL mapping to `doc/manpage-urls.json` so that we can
reuse that file elsewhere, and generate the `link-manpages.lua` filter from
that file.

Also modify the Pandoc filter so that it doesn't wrap manpages that are
already inside a link.

Keeping a Lua filter is essential for speed: a Python filter would
increase the runtime `md-to-db.sh` from ~20s to ~30s (but Python is not
to blame; marshalling Pandoc types to and from JSON is a costly operation).
Parsing in Lua seems tedious, so I went with the Nix way.
2023-01-02 14:11:22 +01:00
..
coding-conventions.chapter.md doc/contributing/coding-conventions: add subsection for language servers 2022-12-25 10:57:29 -03:00
contributing-to-documentation.chapter.md doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
quick-start.chapter.md doc: Use markdown syntax for xrefs 2021-06-07 06:34:59 +02:00
reviewing-contributions.chapter.md doc: fix typos 2022-12-17 18:21:48 -05:00
submitting-changes.chapter.md doc,nixos/doc: unescape ellipses 2022-12-27 17:13:49 +01:00
vulnerability-roundup.chapter.md documentation: Add content about Vulnerability roundups 2021-03-17 13:39:24 -07:00