mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00

I simply extracted the script from .github/workflows/manpages.yml, without significant modification.
5 lines
218 B
Lua
5 lines
218 B
Lua
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
|