An introduction to embedded linux using Automotive Grade Linux as development platform
For those who want to read, go directly to the main webpage.
This project uses:
- mdbook and mdbook-plantuml: To build the html that you will read. I like this project since you can create books with markdown formatting plus make use of plantuml diagrams (using mdbook-plantuml preprocessing) which are useful to give a general view of what we try to achieve on each topic.
-
Install rust. Mdbook is package created in Rust(awesome language btw) and distributed it as a crate in Cargo( Rust build system).
-
Install mdbook and mdbook-plantuml(PlantUML support)
cargo install mdbook
cargo install mdbook-plantuml --no-default-features
-
Install java Runtime Environment. Required for Plantuml diagrams.
run
sudo apt install default-jre
for Linuxor download package from java
-
Download plantuml.jar and GraphViz following the instructions in PlantUML. Put the plantuml.jar executable in the project root.
Graphviz depends on the OS:
For Windows: download graphviz.exe and install. Or use chocolatey choco install graphviz
For Linux: sudo apt install graphviz
You are all set!
- First build the book and then deploy it locally
mdbook build
mdbook serve
Now book is deployed locally at URL http://localhost:3000.
We use aspell for checking word sytax and lychee to look for broken links. Install and perform checking before PR, otherwise spellChecker or linkChecker actions will fail.
sudo apt-get install aspell
cargo install lychee
lychee ./src/**/*.md -> look for broken links bash tools/spellcheck.sh list -> look for misspelled words