Repo structure
Section |
---|
Repo structure |
- The repo contains a book, which markdown sources are in the
src
folder. - After the book is built using
mdbook
⮳, the resulting HTML and Javascript are found inbook/html
. - The intermediate (processed) Markdown is in
book/markdown
. Themdbook
⮳ configuration is inbook.toml
; the templates and assets are intheme
andstatic
respectively. - The Rust code is organized as a
cargo
⮳ workspace:- Examples that are embedded in the book are found in
deps/tests
anddeps/examples
. These are mostly single, short.rs
files. Thedeps/Cargo.toml
list all dependencies used by the embedded examples. Usecargo add <crate> -F <feature>
while in thedeps
folder to add more as required.deps/build.rs
creates the Skpetic tests that validate all embedded examples. - Additional examples that are too long or complex to be inserted in the book itself will be added under
xmpl
. tools
contains utilities that e.g. generate the sitemap file and organize links.
- Examples that are embedded in the book are found in
- The Dev Container and Docker (Compose) configuration files are found in
.devcontainer
.
TODO: edit