| Crates.io | dadada |
| lib.rs | dadada |
| version | 0.9.4 |
| created_at | 2019-09-13 15:22:17.070453+00 |
| updated_at | 2019-09-16 11:18:39.402082+00 |
| description | Artisanal Rust inlined code documentation renderer |
| homepage | https://github.com/gnunicorn/dadada |
| repository | https://github.com/gnunicorn/dadada |
| max_upload_size | |
| id | 164589 |
| size | 43,427 |
Artisanal Rust inlined code documentation renderer (forked off from dada by Rui Vieira; inspired by docco)
Here Screenshot / Action video
You can install it quite easily with cargo install dadada.
dadada will be installed as command line tool for you to run. Just specify the files you want to have rendered and it will do so. If you do not provide a target output file (--output / -o) the result will be printed to stdout.
The full list of cli arguments is:
Benjamin Kampmann <ben@gnunicorn.org>, Rui Vieira <ruidevieira@googlemail.com>
Artisanal Rust inlined code documentation renderer
USAGE:
dadada [FLAGS] [OPTIONS] <FILE>...
FLAGS:
-h, --help Prints help information
--no-css Do not add CSS to output
--no-js Do not add Javascript to output
-V, --version Prints version information
OPTIONS:
-o, --output <FILE> target file to render to, stdout if not given
-t, --title <String> The HTML title to render
ARGS:
<FILE>... rust source files
An example to render all the rust files in your crate under target/dadada-output.html therefor would be: dadada --title "All my Code Example" -o target/dadada-output.html src/*.rs.
--title-CLI parameter to add title--meta, --header and --footer parameters to allow for easy customisationtravis.yml example to build on pushbuild.rs script-example to automagically build all examples of a crate