summaryrefslogtreecommitdiff
path: root/cli/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27Separate tests and examples into individual packagesKaren Arutyunov1-2742/+0
Also make cli module to be explicitly enabled via the config.cli configuration variable.
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-07-27Add support for option merging (--generate-merge)Boris Kolpackov1-8/+13
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-08-02Allow lists inside notes for HTML outputBoris Kolpackov1-1/+5
2018-05-21Update copyright yearKaren Arutyunov1-1/+1
2018-04-16Add support for note formatting in plain text outputBoris Kolpackov1-14/+29
2018-04-12Change "inline block" term to "span" not to confuse with "block block"Boris Kolpackov1-108/+108
2018-04-12Add support for note block and spanBoris Kolpackov1-5/+87
For example: \N|This is a block note. It may consist of multiple paragraphs.| And this is \N{an inline note} that is inside a paragraph. Notes are currently only support for the html output.
2018-03-19Add support for exclude-base value in --class-doc optionBoris Kolpackov1-0/+2
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 Kolpackov1-2/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov1-4/+4
2016-11-15Start switch to build2Boris 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 Kolpackov1-11/+14
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 Kolpackov1-12/+27
2016-02-11Assign numbers to TOC headingsBoris Kolpackov1-0/+20
2016-02-11Implement links in TOCBoris Kolpackov1-0/+8
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov1-19/+118
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov1-7/+292
Currently only supported in the HTML output.
2016-02-09Add support for variable expansion (\$var$) in doc stringsBoris Kolpackov1-10/+97
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 Kolpackov1-25/+127
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 Kolpackov1-15/+56
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-18Improve html and plain text outputBoris Kolpackov1-12/+111
2016-01-18Stop quoting \c in plain textBoris Kolpackov1-10/+0
The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc.
2015-11-26Indent multi-line lists in plain text outputBoris Kolpackov1-3/+18
2015-11-24Implement support for n-dash, \-Boris Kolpackov1-0/+26
2015-11-24Implement --class-doc optionBoris Kolpackov1-0/+51
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 Kolpackov1-11/+74
2015-11-19Make \h text bold if using ANSI colorBoris Kolpackov1-1/+14
2015-11-18Add support for ANSI colorization of usage outputBoris Kolpackov1-4/+36
2015-11-18Fix man font selection logicBoris Kolpackov1-39/+73
2015-11-18Add support for links in documentation: \l{<target>[ <text>]}Boris Kolpackov1-39/+198
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.
2015-11-16Get rid of warningBoris Kolpackov1-2/+1
2015-11-13Add support for man formattingBoris Kolpackov1-25/+129
2015-11-12Implement plain text formatting for new blocksBoris Kolpackov1-382/+75
2015-11-12New formatter implementationBoris Kolpackov1-39/+430
2015-11-11Implement list supportBoris Kolpackov1-63/+207