mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 01:36:39 +08:00
Fixes the FAQ questions in the sidebar of user_doc/html/index.html
This commit is contained in:
parent
f93d1c963f
commit
dae0dd513d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user