1
Fork 0
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:
Gurkirat Singh 2023-10-23 21:47:43 +05:30 committed by Sam Atkins
parent 82ce4acfe5
commit 670925a84f
2 changed files with 15 additions and 0 deletions

View file

@ -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}" &