git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #152451 from ncfavier/unix-man-urls

doc: remove reference to unix-man-urls.lua

commit3d6fc382d67ebe2584521491f4727fda5fd804ca authorRenaud <c0bw3b@users.noreply.github.com> dateMon 3 Jan 2022, 16:05 (5 years ago) parent6d835d98583c5f
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