summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-10-18 00:24:37 +0100
committerColin Watson <cjwatson@debian.org>2022-10-18 00:24:38 +0100
commit71aefedddd2c1156c5cea8ebd27debc4e23b458a (patch)
treefde6d4b0ec06accf7cf74bc55996d359b2b2acc0 /man
parent09304c00a4a3dea95da5d1f0aa1ad4c20c292f3b (diff)
Add 3type to default section list
This is used by the Linux man-pages package, and should be lower priority than section 2. Suggested by Alejandro Colomar. Fixes https://gitlab.com/cjwatson/man-db/-/issues/5. * include/manconfig.h (STD_SECTIONS): Add `3type` between sections `2` and `5`. * m4/man-arg-sections.m4 (MAN_ARG_SECTIONS): Likewise. * man/man5/manpath.man5 (FORMAT): Update documentation of SECTION. * src/tests/man-exact-section-matches: Update default section order. * src/man_db.conf.in (SECTION): Update documentation. * NEWS.md: Document this.
Diffstat (limited to 'man')
-rw-r--r--man/man5/manpath.man52
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man5/manpath.man5 b/man/man5/manpath.man5
index 0ea293f9..151ebb74 100644
--- a/man/man5/manpath.man5
+++ b/man/man5/manpath.man5
@@ -192,7 +192,7 @@ directives in the configuration file, the default is:
.PP
.RS
.nf
-.if !'po4a'hide' SECTION 1 n l 8 3 0 2 5 4 9 6 7
+.if !'po4a'hide' SECTION 1 n l 8 3 0 2 3type 5 4 9 6 7
.fi
.RE
.PP