Open japaric opened 3 years ago
^ we may want to do this so we get versioned mdbooks without having to set up multiple subdomains with netlify
Another option we started discussing is to migrate the book to rustdoc
, similar how egg
does it with their tutorial: https://docs.rs/egg/0.6.0/egg/tutorials/index.html
This crate has en example build script that puts the mdbook in the
target/doc
directory.The rendered API docs contain an mdbook that looks like this
some extra CSS is need to hide or tweak the
docs.rs
nav bar to get a functional mdbook.