guide/README.md
The one-stop-shop for everything someone might want to know about nannou!
The easiest way to build, render and read the book is as follows:
git clone https://github.com/nannou-org/nannou
cd nannou/guide
cargo install mdbook
mdbook watch the repo, re-build on file changes and host at
localhost:3000.
mdbook serve
localhost:3000 to find the rendered
markdown book.You should now have a hot-loading environment where you can edit the book markdown and see the results rendered in your browser each time you save a file.
To run the tests, do the following:
cd book-tests
cargo test
The build.rs will retrieve all rust code snippets from the markdown files
and generate a test file so that they all may be tested during cargo test.
We do this rather than using the mdbook test as mdbook test does not support
including remote dependencies.
Licensed under either of
at your option.
Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.