Skip to main content

clap_documentation/
lib.rs

1//! Autogenerate Markdown or AsciiDoc documentation for clap command-line tools
2
3// Ensure that doc tests in the README.md file get run.
4#[doc(hidden)]
5mod test_readme {
6    #![doc = include_str!("../README.md")]
7}
8
9mod utils;
10mod asciidoc;
11mod markdown;
12mod common;
13
14pub use asciidoc::{
15    AsciiDocOptions,
16    help_asciidoc,
17    help_asciidoc_custom,
18    help_asciidoc_command,
19    help_asciidoc_command_custom,
20    print_help_asciidoc,
21};
22
23pub use markdown::{
24    MarkdownOptions,
25    help_markdown,
26    help_markdown_custom,
27    help_markdown_command,
28    help_markdown_command_custom,
29    print_help_markdown,
30};