Fixes the FAQ questions in the sidebar of user_doc/html/index.html

This commit is contained in:
Samuel Gagnon 2018-03-30 22:26:29 -04:00 committed by ridiculousfish
parent f93d1c963f
commit dae0dd513d

View File

@ -12,5 +12,6 @@ for i in $@; do
NAME=`basename $NAME .hdr.in` NAME=`basename $NAME .hdr.in`
env sed <$i >>toc.txt -n \ env sed <$i >>toc.txt -n \
-e 's,.*\\page *\([^ ]*\) *\(.*\)$,- <a href="'$NAME'.html" id="toc-'$NAME'">\2</a>,p' \ -e 's,.*\\page *\([^ ]*\) *\(.*\)$,- <a href="'$NAME'.html" id="toc-'$NAME'">\2</a>,p' \
-e 's,.*\\section *\([^ ]*\) *\([^-]*\)\(.*\)$, - <a href="'$NAME'.html#\1">\2</a>,p' -e 's,.*\\section *\([^ ]*\) *\(.*\) - .*$, - <a href="'$NAME'.html#\1">\2</a>,p' \
-e 's,.*\\section *\([^ ]*\) *\(.*\)$, - <a href="'$NAME'.html#\1">\2</a>,p'
done done