mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
docs: Add some more documentation
This commit is contained in:
4
bin/docs/prepare.sh
Normal file → Executable file
4
bin/docs/prepare.sh
Normal file → Executable file
@@ -21,6 +21,10 @@ source "$env_file"
|
||||
# Download everything in output/notes.example.com/share/...
|
||||
share_url="$SHARE_PROTOCOL://$SHARE_HOST/share/$ROOT_NOTE_ID"
|
||||
wget -rpEk -e robots=off "$share_url" -P "$output_dir"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e \\nDownloading failed, make sure you are using the real wget package and not the busybox one.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get rid of the domain in the output folder
|
||||
mv "$output_dir/$SHARE_HOST"/* "$output_dir/"
|
||||
|
||||
Reference in New Issue
Block a user