You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xtask/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ This binary crate provides support for running useful tasks with `cargo xtask <.
6
6
7
7
The `mangen` task which is enabled by the `mangen` cargo feature, builds ROFF manual pages for binary crates in this repository. It uses the [`clap_mangen`](https://crates.io/crates/clap_mangen) crate to generate ROFF from the crate's argument types which implement the `clap::CommandFactory` trait, through the `clap::Parser` derive macro.
8
8
9
+
Furthmore, if the `README.md` of a crate contains an `Examples` heading, it includes it in the manual page.
10
+
9
11
```session
10
12
$ cargo xtask mangen
11
13
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
0 commit comments