Skip to content

Commit

Permalink
schnauzer: extend docs on generator frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
cbgbt committed Sep 27, 2023
1 parent 0e97ef0 commit 865d658
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/api/schnauzer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ std = { version = "v1", helpers = ["base64_decode"] } # or use the object form t
}
```

Templates can also be passed as a string to the schnauzer settings generator binary. In this
case the frontmatter is omitted, and requirements are passed via the CLI. See the
[settings generator docs](#the-schnauzer-settings-generator) for more information.

### The schnauzer Library
The primary user interface is provided via `schnauzer::render_template` and
`schnauzer::render_template_file`. These functions require the user to pass the template, as
Expand Down
4 changes: 4 additions & 0 deletions sources/api/schnauzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
//! }
//! ```
//!
//! Templates can also be passed as a string to the schnauzer settings generator binary. In this
//! case the frontmatter is omitted, and requirements are passed via the CLI. See the
//! [settings generator docs](#the-schnauzer-settings-generator) for more information.
//!
//! ## The schnauzer Library
//! The primary user interface is provided via `schnauzer::render_template` and
//! `schnauzer::render_template_file`. These functions require the user to pass the template, as
Expand Down

0 comments on commit 865d658

Please sign in to comment.