]> git.proxmox.com Git - pmg-docs.git/commit
asciidoc-pmg: ignore link targets for non-manpages
authorMira Limbeck <m.limbeck@proxmox.com>
Thu, 4 Jun 2020 09:28:24 +0000 (11:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jun 2020 14:41:58 +0000 (16:41 +0200)
commitdc0603a1cc8a884a49b54495cb71499154ce2683
tree89db9ba64ffd702f5d9249baca9839ab6459d114
parent7e7126d6a878419388635e6c889e501fe5691514
asciidoc-pmg: ignore link targets for non-manpages

(This is taken from pve-docs commit
7de8bba68de1875aca04ebd1cd941a2992c24753)

To allow linking from to a chapter/section not included in a manpage
allow the manpage link resolver to just return text in a case the
link target text is in fact no manpage.

If the link is a valid one in general will be checked in a lot of
other places, so here we won't run into a regression where a wrong,
non-existing, link does not get detected by the build system.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Originally-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
asciidoc-pmg.in