path: root/cli
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19Add vector_scanner::reset()Boris Kolpackov2-0/+9
2018-03-13Add missing include when generating vector_scanner supportBoris Kolpackov1-2/+5
2018-03-05Set "code" style for code-only paragraphs, cleanup nested <code></code>Boris Kolpackov1-1/+54
2018-03-04Add "\ " escaping to specify non-ignorable spaceBoris Kolpackov1-0/+25
This can used to manually align things (e.g., in synopsis) but will only work if the entire lines are in \c{}.
2018-02-12Don't translate arguments in pre-formatted fragmentsBoris Kolpackov1-25/+44
2018-01-11Fix implicit fallthrough warningsBoris Kolpackov2-4/+2
2018-01-11Minor fixesBoris Kolpackov1-2/+2
2017-08-24Don't clean generated cli files from srcKaren Arutyunov1-2/+5
2017-08-21Don't distribute generated version.hxx and don't clean versionKaren Arutyunov1-1/+0
2017-07-30Convert to use utility libraryKaren Arutyunov1-4/+5
2017-07-15Make use of wildcards in buildfilesKaren Arutyunov1-37/+4
2017-05-03Remove stray semicolon from generated codeBoris Kolpackov1-1/+1
2017-04-29Bump version to 1.2.0-b.0.z, switch to version moduleBoris Kolpackov4-1/+53
2017-03-03Rework build2 cli compilationBoris Kolpackov1-6/+6
2017-01-03Update copyright yearBoris Kolpackov65-66/+66
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov4-12/+12
2016-11-15Start switch to build2Boris Kolpackov68-1046/+197
2016-11-14Bump version to 1.2.0-a2Boris Kolpackov1-1/+1
2016-10-08Add class to preface TOC element so that it can be styledBoris Kolpackov1-1/+1
2016-09-03Add --omit-link-check optionBoris Kolpackov5-11/+41
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 Kolpackov1-4/+9
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 Kolpackov2-0/+25
2016-02-11Implement links in TOCBoris Kolpackov1-0/+8
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov4-19/+148
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov7-79/+433
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 Kolpackov5-4/+141
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 Kolpackov6-7/+104
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 Kolpackov10-14/+143
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-11-26Don't require ';' after option documentation blockBoris Kolpackov1-9/+21
2015-11-26Indent multi-line lists in plain text outputBoris Kolpackov2-9/+52