From 1a6cde47f6c524dc63c4a837ee6b94041320c681 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Nov 2015 10:48:13 +0200 Subject: Add support for links in documentation: \l{[ ]} If link target doesn't contain ':' (protocol separator), then it is assumed to be the man page reference in the form '(
)'. If text is missing, then target is used as text. --- cli/generator.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/generator.cxx') diff --git a/cli/generator.cxx b/cli/generator.cxx index 04f2b89..b45d0ec 100644 --- a/cli/generator.cxx +++ b/cli/generator.cxx @@ -489,6 +489,8 @@ generate (options const& ops, semantics::cli_unit& unit, path const& p) if (!ops.stdout_ ()) { + // Remember to update link derivation if changing this. + // path html_path (base + ops.html_suffix ()); if (!ops.output_dir ().empty ()) -- cgit v1.1