From dae0dd513d18660de68635219f73c1c66ac6ad5e Mon Sep 17 00:00:00 2001 From: Samuel Gagnon Date: Fri, 30 Mar 2018 22:26:29 -0400 Subject: [PATCH] Fixes the FAQ questions in the sidebar of user_doc/html/index.html --- build_tools/build_toc_txt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_tools/build_toc_txt.sh b/build_tools/build_toc_txt.sh index 5c6f65c26..62a6fa910 100755 --- a/build_tools/build_toc_txt.sh +++ b/build_tools/build_toc_txt.sh @@ -12,5 +12,6 @@ for i in $@; do NAME=`basename $NAME .hdr.in` env sed <$i >>toc.txt -n \ -e 's,.*\\page *\([^ ]*\) *\(.*\)$,- \2,p' \ - -e 's,.*\\section *\([^ ]*\) *\([^-]*\)\(.*\)$, - \2,p' + -e 's,.*\\section *\([^ ]*\) *\(.*\) - .*$, - \2,p' \ + -e 's,.*\\section *\([^ ]*\) *\(.*\)$, - \2,p' done