Meta: Remove duplicate manpage section generation for the website

This commit is contained in:
kleines Filmröllchen 2023-01-02 16:18:40 +01:00 committed by Jelle Raaijmakers
parent dec96bb00f
commit 69e5645955
Notes: sideshowbarker 2024-07-17 08:34:29 +09:00

View file

@ -40,26 +40,6 @@ for md_file in "${MAN_DIR}"*/*.md; do
"${md_file}"
done
# Generate man page listings through pandoc
for d in output/*/; do
section=$(basename "$d")
section_number="${section#man}"
pandoc -f gfm -t html5 -s \
-B Meta/Websites/man.serenityos.org/banner-preamble.inc \
--metadata title="Section ${section_number} - SerenityOS man pages" \
-o "output/${section}/index.html" \
<(
for f in "$d"/*; do
filename=$(basename "$f")
name="${filename%.html}"
if [[ "$filename" == "index.html" ]]; then
continue
fi
echo "- [${name}](${filename})"
done
)
done
# Generate man page listings through pandoc
for d in output/*/; do
section=$(basename "$d")