git.iko.soy/typeable/nixpkgs
on master help sign in
doc: remove reference to unix-man-urls.lua
commit8583c5f48bb1aea53dcebf76613a1d694d578e69 authorNaïm Favier <n@monade.li> dateTue 28 Dec 2021, 13:26 (5 years ago) parenteef4a51
2 files changed+2−3
doc/build-aux/pandoc-filters/link-unix-man-references.lua+1−2 doc/contributing/contributing-to-documentation.chapter.md+1−1
doc/build-aux/pandoc-filters/link-unix-man-references.lua+1−2
@@ -1,6 +1,5 @@
11--[[
2−Turns a manpage reference into a link, when a mapping is defined
3−in the unix-man-urls.lua file.
2+Turns a manpage reference into a link, when a mapping is defined below.
43]]
54
65local man_urls = {
doc/contributing/contributing-to-documentation.chapter.md+1−1
@@ -55,7 +55,7 @@ Additionally, the following syntax extensions are currently used:
5555- []{#ssec-contributing-markup-inline-roles}
5656 If you want to link to a man page, you can use `` {manpage}`nix.conf(5)` ``, which will turn into {manpage}`nix.conf(5)`.
5757
58− The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/unix-man-urls.lua`.
58+ The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/link-unix-man-references.lua`.
5959
6060 This syntax is taken from [MyST](https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#roles-an-in-line-extension-point). Though, the feature originates from [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-manpage) with slightly different syntax.
6161