summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manconf.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-10-02 14:56:36 +0000
committerschwarze <schwarze@openbsd.org>2018-10-02 14:56:36 +0000
commit3327fa001cdea3a379b54bd358dba2db2bfce9cd (patch)
tree772c92ca4404ff7139b09bdd7dd121acc03adc20 /usr.bin/mandoc/manconf.h
parentmention INFO@openssh.com for sending SIGINFO (diff)
downloadwireguard-openbsd-3327fa001cdea3a379b54bd358dba2db2bfce9cd.tar.xz
wireguard-openbsd-3327fa001cdea3a379b54bd358dba2db2bfce9cd.zip
Add an option -T html -O toc to add a brief table of contents near
the top of HTML pages containing at least two non-standard sections. Suggested by Adam Kalisz and discussed with kristaps@ during EuroBSDCon 2018.
Diffstat (limited to 'usr.bin/mandoc/manconf.h')
-rw-r--r--usr.bin/mandoc/manconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/manconf.h b/usr.bin/mandoc/manconf.h
index 2b3a2dde671..5c5026fb4af 100644
--- a/usr.bin/mandoc/manconf.h
+++ b/usr.bin/mandoc/manconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: manconf.h,v 1.5 2017/07/01 09:47:23 schwarze Exp $ */
+/* $OpenBSD: manconf.h,v 1.6 2018/10/02 14:56:36 schwarze Exp $ */
/*
* Copyright (c) 2011, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -34,8 +34,9 @@ struct manoutput {
size_t width;
int fragment;
int mdoc;
- int synopsisonly;
int noval;
+ int synopsisonly;
+ int toc;
};
struct manconf {