Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
Update book & Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Feb 1, 2024
1 parent 317ab5f commit 556236f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions update-burn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Cloning Burn"
git clone https://github.com/tracel-ai/burn
cd burn
git pull
git checkout v0.12.0
git checkout v0.12.1

echo "Updating Burn Book"
cd burn-book
Expand All @@ -24,6 +24,8 @@ echo "Updating Burn Docs"
rm -rf ../public/docs
mkdir -p ../public/docs

RUSTDOCFLAGS='--theme ../burn.css --default-theme burn' cargo doc --no-deps
# We only build the documentation for the burn crate, which redistributes the other crates.
# Otherwise we have duplicated documentation.
RUSTDOCFLAGS='--theme ../burn.css --default-theme burn' cargo doc --package burn --no-deps --no-default-features --features doc --release
mv target/doc/* ../public/docs/
cp ../burn.css ../public/docs/static.files/

0 comments on commit 556236f

Please sign in to comment.