We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16f3bc0 + ebd5536 commit 093be00Copy full SHA for 093be00
generate-book.sh
@@ -8,15 +8,15 @@ fi
8
9
printf '[Introduction](introduction.md)\n\n' > src/SUMMARY.md
10
11
-find ./text ! -type d -print0 | xargs -0 -I {} ln -frs {} -t src/
+find text ! -type d -print0 | xargs -0 -I {} ln -fs ../{} src/
12
13
find ./text ! -type d -name '*.md' -print0 \
14
| sort -z \
15
| while read -r -d '' file;
16
do
17
- printf -- '- [%s](%s)\n' "$(basename "$file" ".md")" "$(basename "$file")"
+ printf -- '- [%s](%s)\n' "$(basename "$file" ".md")" "$(basename "$file")"
18
done >> src/SUMMARY.md
19
20
-ln -frs README.md src/introduction.md
+ln -fs ../README.md src/introduction.md
21
22
mdbook build
0 commit comments