diff options
author | Naïm Favier <n@monade.li> | 2021-12-28 13:26:35 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2021-12-28 13:26:35 +0100 |
commit | 8583c5f48bb1aea53dcebf76613a1d694d578e69 (patch) | |
tree | 17d4bd68e78c113def9d741a5ac812eba5c9bcf5 /doc | |
parent | eef4a51941579e52e02bca0900a8a07184d15f8e (diff) |
doc: remove reference to unix-man-urls.lua
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build-aux/pandoc-filters/link-unix-man-references.lua | 3 | ||||
-rw-r--r-- | doc/contributing/contributing-to-documentation.chapter.md | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/build-aux/pandoc-filters/link-unix-man-references.lua b/doc/build-aux/pandoc-filters/link-unix-man-references.lua index 12431f140fed..e437ac73a1cb 100644 --- a/doc/build-aux/pandoc-filters/link-unix-man-references.lua +++ b/doc/build-aux/pandoc-filters/link-unix-man-references.lua @@ -1,6 +1,5 @@ --[[ -Turns a manpage reference into a link, when a mapping is defined -in the unix-man-urls.lua file. +Turns a manpage reference into a link, when a mapping is defined below. ]] local man_urls = { diff --git a/doc/contributing/contributing-to-documentation.chapter.md b/doc/contributing/contributing-to-documentation.chapter.md index 178fdb36262b..1384772ebb2b 100644 --- a/doc/contributing/contributing-to-documentation.chapter.md +++ b/doc/contributing/contributing-to-documentation.chapter.md @@ -55,7 +55,7 @@ Additionally, the following syntax extensions are currently used: - []{#ssec-contributing-markup-inline-roles} If you want to link to a man page, you can use `` {manpage}`nix.conf(5)` ``, which will turn into {manpage}`nix.conf(5)`. - The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/unix-man-urls.lua`. + The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/link-unix-man-references.lua`. 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. |