deployment-script: Only include chapters in the ToC

master
BodgeMaster 2023-10-08 23:05:00 +02:00
parent 9d2b65bbb0
commit 019846a87a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
cp html_resources/index_template.html index.html
function genlinks {
for FILE in $(find . -maxdepth 1 -type f -name "*.html"); do
for FILE in $(find . -maxdepth 1 -type f -name "*-*.html"); do
echo -ne " <li><a href=\"$FILE\">\n"
grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> / /;s| </title>||'
echo " </a></li>"