Merge pull request #242 from japaric/fix-doc-build

0.4: don't cross compile docs
This commit is contained in:
Jorge Aparicio 2019-09-15 20:06:18 +00:00 committed by GitHub
commit 8689dfdebf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ main() {
curl -L https://github.com/rtfm-rs/cortex-m-rtfm/archive/v${ver}.tar.gz | tar xz --strip-components 1 -C $src
pushd $src
rm -f .cargo/config
cargo doc || cargo doc --features timer-queue
cp -r target/doc $td/$prefix/api
sed 's|URL|rtfm/index.html|g' $root/redirect.html > $td/$prefix/api/index.html