Offline docs
pickfire opened this issue · 2 comments
pickfire commented
Is it possible to have serde.rs docs be part of cargo doc
so that it could be viewed offline after users downloaded the serde crate?
This is good for the users who want to check serde examples offline while in an airplane, leveraging the existing cargo doc
.
Example https://docs.rs/cargo-crev/0.8.3/cargo_crev/doc/user/getting_started/index.html
dtolnay commented
You can get the site offline by running:
$ npm install gitbook-cli -g
$ git clone https://github.com/serde-rs/serde-rs.github.io
$ cd serde-rs.github.io
$ gitbook install
$ gitbook serve
Then the site will be at http://localhost:4000.