mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
Meta: Add anchors to headings of man pages
This commit is contained in:
parent
82ce4acfe5
commit
670925a84f
2 changed files with 15 additions and 0 deletions
|
@ -42,6 +42,7 @@ for md_file in $(find "${MAN_DIR}" -iname '*.md' | ${SORT}); do
|
|||
pandoc -f gfm -t html5 -s \
|
||||
-B Meta/Websites/man.serenityos.org/banner-preamble.inc \
|
||||
--lua-filter=Meta/convert-markdown-links.lua \
|
||||
--lua-filter=Meta/Websites/man.serenityos.org/add-anchors.lua \
|
||||
--metadata title="${name}(${section_number}) - SerenityOS man pages" \
|
||||
-o "${output_file}" \
|
||||
"${md_file}" &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue