mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
Meta: Remove duplicate manpage section generation for the website
This commit is contained in:
parent
dec96bb00f
commit
69e5645955
1 changed files with 0 additions and 20 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue