Skip to content

Stop building books #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

16 changes: 0 additions & 16 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,6 @@ main() {
rustdoc --markdown-css rust.css --markdown-no-toc index.md
rustdoc --markdown-css rust.css faq.md

# build books
local books=(
book
discovery
embedonomicon
)

local tmpdir=$(mktemp -d)
for book in "${books[@]}"; do
git clone https://github.com/rust-embedded/$book $tmpdir/$book
( cd $tmpdir/$book && mdbook build )
mv $tmpdir/$book/book doc/$book
done

rm -rf $tmpdir

# check links
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
linkchecker --ignore-url "print.html" doc
Expand Down
6 changes: 3 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ before.
peripherals, sensors and bare metal programming through a series of small, fun
projects that you'll develop in Rust.

[discovery]: discovery/index.html
[discovery]: https://docs.rust-embedded.org/discovery/index.html

# Learn embedded Rust

Expand All @@ -40,7 +40,7 @@ book][book] will get you up to speed with embedded Rust development and then
teach you how to effectively use the language (AKA patterns) to build more
correct embedded software.

[book]: book/index.html
[book]: https://docs.rust-embedded.org/book/index.html

## Operating System development tutorials in Rust on the Raspberry Pi

Expand Down Expand Up @@ -81,4 +81,4 @@ of linker scripts, symbols and ABIs. You'll learn about linker script and the
language features that let you control the ABI of crates by creating a `no_std`
program for the ARM Cortex-M architecture from scratch.

[The embedonomicon]:embedonomicon/index.html
[The embedonomicon]: https://docs.rust-embedded.org/embedonomicon/index.html