Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 726 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 726 Bytes

cargo-docserve

A cargo subcommand for serving the artifacts from cargo doc.

Status

Experimental

Usage

Generates API documentation and start the HTTP server on localhost:8000

$ cargo docserve

Watches the modification in src/

$ cargo docserve --watch

Install

$ cargo install --git https://github.com/ubnt-intrepid/cargo-docserve.git

Testing

$ git clone https://github.com/ubnt-intrepid/cargo-docserve.git
$ cd cargo-docserve/
$ cargo run docserve [OPTIONS]

TODOs

  • Detect filesystem notification and re-run cargo doc
  • Cache-Control
  • Bumps up cargo to 0.30.0

License

MIT or Apache-2.0