mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
man.serenityos.org: Simplify local builds
I simply extracted the script from .github/workflows/manpages.yml, without significant modification.
This commit is contained in:
parent
5c04a2d4b3
commit
7e52b6fa24
Notes:
sideshowbarker
2024-07-18 02:03:17 +09:00
Author: https://github.com/BenWiederhake
Commit: 7e52b6fa24
Pull-request: https://github.com/SerenityOS/serenity/pull/10549
Reviewed-by: https://github.com/IdanHo ✅
4 changed files with 62 additions and 45 deletions
5
Meta/convert-markdown-links.lua
Normal file
5
Meta/convert-markdown-links.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
function Link(el)
|
||||
el.target = string.gsub(el.target, "%.md", ".html") -- change .md to .html links
|
||||
el.target = string.gsub(el.target, "man", "", 1) -- change man1/???.html to 1/???.html links
|
||||
return el
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue