mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
18 lines
306 B
Bash
18 lines
306 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
cd book/en/
|
||
|
mdbook build
|
||
|
cd ../../
|
||
|
|
||
|
cargo doc --features thumbv7-backend
|
||
|
|
||
|
mkdir -p book-target/book/
|
||
|
cp -r book/en/book/ book-target/book/en/
|
||
|
cp LICENSE-* book-target/book/en
|
||
|
cp -r target/doc/ book-target/api/
|
||
|
|
||
|
lychee --offline --format detailed book-target/book/en/
|
||
|
|
||
|
rm -rf book-target/
|