-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
350b453
commit dfa40f2
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# For each url in this list, download and extract the executable. | ||
|
||
URLS=( | ||
'https://github.com/rust-lang/mdBook/releases/download/v0.4.25/mdbook-v0.4.25-x86_64-unknown-linux-gnu.tar.gz' | ||
'https://github.com/slowsage/mdbook-pagetoc/releases/download/v0.1.5/mdbook-pagetoc-v0.1.5-x86_64-unknown-linux-gnu.tar.gz' | ||
'https://github.com/badboy/mdbook-mermaid/releases/download/v0.12.6/mdbook-mermaid-v0.12.6-x86_64-unknown-linux-gnu.tar.gz' | ||
'https://github.com/tommilligan/mdbook-admonish/releases/download/v1.8.0/mdbook-admonish-v1.8.0-x86_64-unknown-linux-gnu.tar.gz' | ||
) | ||
|
||
# iterate URLS and download and extract each one\ | ||
for url in "${URLS[@]}"; do | ||
curl -L "$url" | tar xvz | ||
done | ||
|
||
# curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.25/mdbook-v0.4.25-x86_64-unknown-linux-gnu.tar.gz | tar xvz | ||
# cargo install mdbook-catppuccin | ||
# cargo install mdbook-toc | ||
# cargo install mdbook-pagetoc | ||
# cargo install mdbook-mermaid | ||
# cargo install mdbook-admonish | ||
# mdbook-admonish install --css-dir theme tutorial/ | ||
cargo install mdbook-yml-header | ||
cargo install mdbook-epub |