Skip to content

ubnt-intrepid/cargo-docserve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A cargo subcommand for serving outputs of `cargo doc`

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published