Skip to content

Commit 32dc064

Browse files
committed
docs: Add some more documentation
1 parent d9d8fff commit 32dc064

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+25469
-63
lines changed

bin/docs/prepare.sh

100644100755
+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ source "$env_file"
2121
# Download everything in output/notes.example.com/share/...
2222
share_url="$SHARE_PROTOCOL://$SHARE_HOST/share/$ROOT_NOTE_ID"
2323
wget -rpEk -e robots=off "$share_url" -P "$output_dir"
24+
if [ $? -ne 0 ]; then
25+
echo -e \\nDownloading failed, make sure you are using the real wget package and not the busybox one.
26+
exit 1
27+
fi
2428

2529
# Get rid of the domain in the output folder
2630
mv "$output_dir/$SHARE_HOST"/* "$output_dir/"

0 commit comments

Comments
 (0)