Dir config

Dir config example

Dir config

Example of how to set all the contents using dir property.

Sections Example

This example demonstrates automat handling of "sections". Each folder gets its own section in the menu!

Installation

Just some installation instructions.

User's Guide

Just a user's guide.

API

This may be some API reference.

Configuration

This may be some configuration reference

Page 1

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

Page 1 content.

Page 2

Page 2 content.

Main page

This is the main page.

Single doc

Just a single page.

Single doc

Just a single page.