We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5871c1 commit ec753bdCopy full SHA for ec753bd
1 file changed
books.sh
@@ -6,7 +6,9 @@ for book in csv logging why-rust regex json yaml sqlite
6
do
7
echo Book $book
8
9
- ./mdbook build books/$book
+ cd books/$book
10
+ ./mdbook build
11
+ cd ../..
12
perl -i -p -e 's{href="index.html"}{href="."}g' books/${book}/book/toc.js
13
perl -i -p -e 's{(href="[a-zA-Z0-9.][^"]+)\.html"}{$1"}g' books/${book}/book/toc.js
14
find books/${book}/book/ -name *.html | xargs perl -i -p -e 's{href="index.html"}{href="."}g'
0 commit comments