mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
7e52b6fa24
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
|