initial commit
This commit is contained in:
15
mdbook_export.sh
Executable file
15
mdbook_export.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
VAULT_DIR=$(pwd)
|
||||
EXPORT_DIR="$VAULT_DIR/export"
|
||||
|
||||
|
||||
cd "$VAULT_DIR" || exit
|
||||
|
||||
# convert links
|
||||
./convert_links.sh
|
||||
|
||||
# Run mdBook inside a Podman container
|
||||
podman run --rm -v "$VAULT_DIR":/vault -w /vault/docs mdbook-local mdbook build -d /vault/export
|
||||
|
||||
|
||||
Reference in New Issue
Block a user