Example of how to set all the contents using dir
property.
This example demonstrates automat handling of "sections". Each folder gets its own section in the menu!
Just some installation instructions.
Just a user's guide.
This may be some API reference.
This may be some configuration reference
Page 1 content.
If the "label"
property is not set in the config file it will be infered from the heading of the content within this file.
We only bring in TOML
language support so the following Rust
code is not highlighted:
#[derive(Debug)]
struct Person<'a> {
name: &'a str,
age: u8
}
fn main() {
let name = "Peter";
let age = 27;
let peter = Person { name, age };
// Pretty print
println!("{:#?}", peter);
}
Page 1 content.
Page 2 content.
This is the main page.
Just a single page.
Just a single page.