1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +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:
Ben Wiederhake 2021-10-20 21:35:46 +02:00 committed by Idan Horowitz
parent 5c04a2d4b3
commit 7e52b6fa24
4 changed files with 62 additions and 45 deletions

View 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