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:
parent
5c04a2d4b3
commit
7e52b6fa24
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