diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-18 10:48:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-18 10:48:13 +0200 |
commit | 1a6cde47f6c524dc63c4a837ee6b94041320c681 (patch) | |
tree | c4cdfe3606cb77d4c3fdb7d9f12c02c48d2574bc /cli/generator.cxx | |
parent | 5a2da5767e796bcfdaf5ebf3b80b93c57d31d0aa (diff) |
Add support for links in documentation: \l{<target>[ <text>]}
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.
Diffstat (limited to 'cli/generator.cxx')
-rw-r--r-- | cli/generator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ()) |