summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov113-1346/+1069
2016-11-15Start switch to build2Boris Kolpackov98-3040/+271
2016-11-14Bump version to 1.2.0-a2Boris Kolpackov2-2/+2
2016-10-08Add class to preface TOC element so that it can be styledBoris Kolpackov1-1/+1
2016-09-03Add auto-headings testBoris Kolpackov2-0/+27
2016-09-03Add --omit-link-check optionBoris Kolpackov7-186/+342
2016-09-02Add support for escaping pre-formatted fragment markerBoris Kolpackov1-3/+10
For example: \ \\ \ Of course now we cannot specify the literal escape sequence. Perhaps we should recognize a line consisting of N (N > 1) back slashes and output all but the first.
2016-06-20Support suppressing CLI runtime generation (--suppress-cli)Boris Kolpackov5-7/+44
This is useful in pure-help pages.
2016-02-12Add support for generating vector<string> scanner (--generate-vector-scanner)Boris Kolpackov7-0/+119
2016-02-11Strip .br from man .IP value, add .br after to force newlineBoris Kolpackov1-1/+39
2016-02-11Remove empty <th> from preface TOC entriesBoris Kolpackov2-7/+12
2016-02-11Add support for re-mapping HTML headingsBoris Kolpackov5-16/+80
2016-02-11Improve generic value parser (extract char)Boris Kolpackov1-4/+7
2016-02-11Assign numbers to TOC headingsBoris Kolpackov3-9/+34
2016-02-11Implement links in TOCBoris Kolpackov2-13/+25
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov6-50/+180
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov9-79/+573
Currently only supported in the HTML output.
2016-02-09Add support for variable expansion (\$var$) in doc stringsBoris Kolpackov6-22/+125
2016-02-09Add support for relative link targetsBoris Kolpackov1-9/+3
Now we only "recognize" the link target as man page if it contains '('.
2016-02-01Add \h0 \h1 \H \h2 headings in addition to \hBoris Kolpackov1-9/+61
Currently only has effect in HTML output (in other formats they are all treated as \h). Also, automatic mapping of \h to <h1> or <h2> depending on whether \h0 or \h1 was seen only works for single doc-string documents.
2016-02-01Add support for link transformation (--link-regex)Boris Kolpackov6-25/+226
2016-01-31Include (1) in foo(1) into boldBoris Kolpackov1-11/+5
2016-01-31Make <arg> monospaceBoris Kolpackov1-2/+2
2016-01-28Add support for file expansion in prologue/epilogue filesBoris Kolpackov3-19/+72
This is similar to variable expansion ($name$) except here we detect if the name starts with ./ or ../ and treat it as a path relative to the prologue/ epilogue file.
2016-01-26Implement support for sourcing .cli filesBoris Kolpackov7-4/+147
The idea is that the file is "read in" as if its content was copy-n-pasted. For example: "\h|Installation|" source "INSTALL.cli" // Also used to generate plain text INSTALL. Unlike include, source can appear anywhere in the file.
2016-01-18Improve html and plain text outputBoris Kolpackov1-12/+111
2016-01-18Stop quoting \c in plain textBoris Kolpackov3-33/+23
The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc.
2016-01-18Initial support for plain text documentation (--generate-txt)Boris Kolpackov10-130/+638
Support for option documentation generation is still a TODO.
2016-01-16Handle newline-only lines in documentation string parserBoris Kolpackov1-23/+26
2016-01-11In long usage separate options with blank linesBoris Kolpackov1-3/+11
2016-01-11Add support for --output-{prefix,suffix} optionsBoris Kolpackov8-7/+119
2015-12-09Fix "over-qualification"Boris Kolpackov1-1/+1
2015-12-09Add --std option with c++{98,11,14} values; use function-static in C++11Boris Kolpackov12-14/+151
This way we can use option descriptions during static initialization (e.g., of an Apache module).
2015-12-03Fix unused argument warningBoris Kolpackov1-1/+1
2015-12-03Fix to work with latest build2Boris Kolpackov1-4/+4
2015-11-26Don't require ';' after option documentation blockBoris Kolpackov2-10/+26
2015-11-26Indent multi-line lists in plain text outputBoris Kolpackov2-9/+52
2015-11-24Implement support for n-dash, \-Boris Kolpackov1-0/+26
2015-11-24Implement --class-doc optionBoris Kolpackov11-87/+253
2015-11-24Implement support for documentation inside classesBoris Kolpackov13-216/+354
2015-11-23Add --include-base-last optionBoris Kolpackov7-25/+65
2015-11-23Change print_short_usage() to print_usage()Boris Kolpackov3-32/+19
2015-11-23Colorize man page linksBoris Kolpackov1-3/+15
2015-11-20Implement line break support (\n)Boris Kolpackov1-15/+65
Note that several consecutive breaks in the man format will be collapsed into a single one.
2015-11-19Implement entire page usage generationBoris Kolpackov15-267/+1273
2015-11-19Fix std::map parser implementationBoris Kolpackov1-4/+6
2015-11-19Make \h text bold if using ANSI colorBoris Kolpackov1-1/+14
2015-11-18Add support for ANSI colorization of usage outputBoris Kolpackov8-23/+148
2015-11-18Fix man font selection logicBoris Kolpackov3-154/+188
2015-11-18Add support for links in documentation: \l{<target>[ <text>]}Boris Kolpackov3-41/+202
If link target doesn't contain ':' (protocol separator), then it is assumed to be the man page reference in the form '<name>(<section>)'. If text is missing, then target is used as text.