Adding custom static pages

You can include static pages (like index or FAQ) in the generated documentation, following the steps below:

--static-pages-dir static-pages/

Important: The static pages are not designed to offer the functionality of a full-fledged SSG. If you want more control over the pages, is advised to use an SSG, such as Jekyll, for user documentation.

Additional notes:

Example

Example directory structure:

static-pages/
    index.md
    FAQ.html

index.md

# MyLibrary Reference Documentation

This page contains the reference documentation for MyLibrary.

## Installation
To install, run `dotnet tool install my-library`.

FAQ.html

<h1>FAQ</h1>

<h6>Q1: How to install the library?</h6>
<div class="fw-light">A1: ...</div>

Result

The resulting static pages are shown below: