aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manconf.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-10-02 14:56:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-10-02 14:56:47 +0000
commitcc61d00ed522f99c9f1a34fcc6add2d202942885 (patch)
treebd523708468309e4a2f716485ca75294c2822d66 /manconf.h
parentdfc72caad2158b1226363fe39e7bfa995ef68f78 (diff)
downloadmandoc-cc61d00ed522f99c9f1a34fcc6add2d202942885.tar.gz
mandoc-cc61d00ed522f99c9f1a34fcc6add2d202942885.tar.zst
mandoc-cc61d00ed522f99c9f1a34fcc6add2d202942885.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 'manconf.h')
-rw-r--r--manconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/manconf.h b/manconf.h
index b4cd3164..babd463b 100644
--- a/manconf.h
+++ b/manconf.h
@@ -1,4 +1,4 @@
-/* $Id: manconf.h,v 1.5 2017/07/01 09:47:30 schwarze Exp $ */
+/* $Id: manconf.h,v 1.6 2018/10/02 14:56:47 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 {