From 161b5e99e5e327e744eb5a566c440958cfb375ea Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Wed, 3 Mar 2021 00:06:17 +0000 Subject: [PATCH 1/2] Stop building books --- CNAME | 1 - ci/script.sh | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index eeb4654..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -docs.rust-embedded.org diff --git a/ci/script.sh b/ci/script.sh index ea6a9be..6af9e5c 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -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 From fdfd705c7a5a087de6f33a6989314f21a05d549c Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Wed, 3 Mar 2021 00:11:33 +0000 Subject: [PATCH 2/2] Update URLs to allow link-checker to work --- index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.md b/index.md index 279f828..3d0e8c4 100644 --- a/index.md +++ b/index.md @@ -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 @@ -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 @@ -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