diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-13 14:16:53 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-13 14:16:53 +0000 |
| commit | 1c64adaad7ad89386ae9cb44c8e3050672a59d6e (patch) | |
| tree | fa54be5a52e73e5e67d3a0bfe0f76597d82cea5f /cmake/ManualLinks.lua | |
| parent | 3b4e89d96afe203bb0e8b5b331bb30d1193d0831 (diff) | |
Build and package all language manuals with offline HTML links
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'cmake/ManualLinks.lua')
| -rw-r--r-- | cmake/ManualLinks.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/ManualLinks.lua b/cmake/ManualLinks.lua new file mode 100644 index 0000000..0fddef5 --- /dev/null +++ b/cmake/ManualLinks.lua @@ -0,0 +1,8 @@ +-- Markdown sources share links; render local HTML links or man-page names. +function Link(link) + if FORMAT == 'man' then + return link.content + end + link.target = link.target:gsub('%.[17]%.md$', '.html') + return link +end |
