Files
google-apis-rs/etc/api/type-cli.yaml
Sebastian Thiel c78ea5381a feat(mkdocs): cli postprocessing support
That way, a single huge markdown file containing documentation for
commands and methods can be split up into multiple files for
individual inclusion in mkdocs.

It's done by a post-processor which is loaded by mako-render, providing
access to the entire context. Said processor may also drop results
altogether and thus prevent files to be written that have been split up
by it.
2015-04-10 13:02:36 +02:00

32 lines
749 B
YAML

mkdocs:
## A directory to bring us from the mkdocs invocation directory to the gen-root
gen_root_dir: ..
site_dir: build_html
# if docs_dir changes, remember to update the sources as well.
docs_dir: docs
mako:
post_processor_module: cli
make:
id: cli
target_name: CLIs
target_suffix: -cli
aggregated_target_suffix: -cli
depends_on_suffix: ''
documentation_engine: mkdocs
templates:
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: docs/commands.yml
- source: mkdocs.yml
- source: README.md
- source: main.rs
output_dir: src
cargo:
build_version: "0.0.1"
keywords: [cli]
is_executable: YES
dependencies:
- docopt = "*"
- docopt_macros = "*"
- rustc-serialize = "*"