#!/bin/bash # # Basic template configuration; command-line options will override get-menu-docs() { paths=$( find "$path_root/docs" -maxdepth 1 -name '*.htm?' -exec basename {} \; \ | sort ) for p in $paths; do # we shall consider the name of the link to be the path with the extension # and sorting prefix stripped name="$( basename "${p%%.htm?}" )" echo "${name#??-}" done } html_external_css=/style.css # menu just below the header, above the index html_pre_index="$( echo '
' )" # additional content in the footer before the copyright (the awkward newline # positions are to prevent spaces in the output) html_footer=$(cat <