about summary refs log tree commit diff
path: root/doc/contributing/contributing-to-documentation.chapter.md
AgeCommit message (Collapse)AuthorFilesLines
2023-08-13doc/contributing-to-documentation: Rough move to new contribution doc filesSilvan Mosberger1-107/+3
Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-10Merge pull request #241656 from mobusoperandi/update-doc-contributingSilvan Mosberger1-0/+3
fix outdated contributing to documentation
2023-08-10Update doc/contributing/contributing-to-documentation.chapter.mdSilvan Mosberger1-1/+1
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-08-10Merge pull request #241871 from mobusoperandi/doc-doc-syntax-chapterSilvan Mosberger1-1/+1
doc syntax section into chapter, link from nixos manual
2023-08-03fix outdated contributing to documentationAlejandro Sanchez Medina1-0/+3
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-29Merge pull request #245358 from asymmetric/nixpkgs-doc-build-instructionspennae1-18/+4
doc/contributing: update build instructions after nrd
2023-07-25doc/contributing: update build instructionsLorenzo Manacorda1-18/+4
We have moved away from Make since nixos-render-docs was introduced to build the nixpkgs manual in #239636.
2023-07-25nixpkgs/NixOS manuals: devmode featureShahar "Dawn" Or1-0/+8
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-10nixos manual contributing link to nixpkgs syntaxAlejandro Sanchez Medina1-1/+1
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-01-27nixos/manual: render module chapters with nixos-render-docspennae1-9/+5
this converts meta.doc into an md pointer, not an xml pointer. since we no longer need xml for manual chapters we can also remove support for manual chapters from md-to-db.sh since pandoc converts smart quotes to docbook quote elements and our nixos-render-docs does not we lose this distinction in the rendered output. that's probably not that bad, our stylesheet didn't make use of this anyway (and pre-23.05 versions of the chapters didn't use quote elements either). also updates the nixpkgs manual to clarify that option docs support all extensions (although it doesn't support headings at all, so heading anchors don't work by extension).
2023-01-02doc: separate manpage URLs from the Pandoc filterNaïm Favier1-1/+1
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.
2022-08-31nixos/make-options-doc: add inline roles for varname/envarpennae1-1/+3
both of these render distinctly from plain literals in the manpage, and manpages even semantically distinguish between the two.
2022-06-12treewide: attempt at markdown option docspennae1-3/+17
2021-12-28doc: remove reference to unix-man-urls.luaNaïm Favier1-1/+1
2021-07-13doc: Linkify man page referencesJan Tojnar1-1/+3
2021-07-13doc: Add support for MyST rolesJan Tojnar1-0/+5
Officially, only the manpage role is supported at the moment. Unlike in rST, the syntax uses braces instead of colons: {manpage}`nix.conf(5)`
2021-06-07doc: Use markdown syntax for xrefsJan Tojnar1-0/+5
Syntax is taken from MyST: https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
2021-06-07doc: prepare for commonmarkJan Tojnar1-1/+1
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
2021-06-06doc: Document markup syntaxJan Tojnar1-1/+71
Not depicted: - Diagrams using Lua filter and dot - fenced code attributes (enabled by the attributes extension)
2021-06-05doc: Fix make in nix-shellJan Tojnar1-1/+1
When running make manually, makeFlags will not be passed. Let’s just use an environment variable.
2021-04-23doc/contributing/*.xml: Convert to markdownBobby Rong1-0/+24