nixpkgs/doc
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
..
build-aux/pandoc-filters doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
builders Merge pull request #208176 from ncfavier/markdown-no-trailing 2023-01-01 14:15:05 +01:00
contributing doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
doc-support doc/lib-functions: print libset name before description 2022-12-22 11:31:11 +01:00
functions doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
hooks patchRcPathBash, patchRcPathCsh, patchRcPathFish, patchRcPathPosix: init 2022-11-10 09:23:52 +08:00
languages-frameworks .editorconfig: apply trailing whitespace removal 2022-12-29 01:40:50 +01:00
old doc: fix typos 2022-12-17 18:21:48 -05:00
stdenv doc: fix typos 2022-12-17 18:21:48 -05:00
using lib/customisation.overrideDerivation: propagate evaluation condition 2023-01-01 14:10:42 +01:00
.gitignore
default.nix doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
functions.xml
Makefile doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
manpage-urls.json doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
manual.xml doc: move testers to their own chapter 2022-04-22 16:24:29 +03:00
overrides.css
preface.chapter.md
README.md
shell.nix
style.css

Nixpkgs/doc

This directory houses the sources files for the Nixpkgs manual.

You can find the rendered documentation for Nixpkgs unstable on nixos.org.

Docs for Nixpkgs stable are also available.

If you want to contribute to the documentation, here's how to do it.

If you're only getting started with Nix, go to nixos.org/learn.