You can include static pages (like index or FAQ) in the generated documentation, following the steps below:
static-pages/
) with .html
or .md
files--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:
/css/styles.css
and they will be included automatically (however, use custom styles only for minor tweaks, rather than completely changing the overall appearance of the page)static-pages/
directory (however, pages nested three or more levels deep will not appear in the top menu)Directory structure:
static-pages/
index.html
FAQ.md
index.html
<h1>
MyLibrary reference documentation
</h1>
<div>
This page contains the reference documentation of MyLibrary.
</div>
FAQ.md
# FAQ
## Q1: How to install the library?
## A1: ...