MkDocs
Quick Start
Use Astral uv to handle dependencies:
Create a mkdocs.yml configuration file:
Edit the mkdocs.yml configuration file to customize your site. Use my example as a starting point.
Test the installation:
Serve the documentation on localhost:
How to publish in gh-pages?
Manually deploy the site to GitHub Pages:
Custom Page
Create folder for override html files:
Create custom page:
Templates
Wiki template
---
sidebar_position: 1
title: Git Fundamentals
id: git-how-to
created: 2025-06-19
updated: 2026-06-19
tags:
- git
---
<!-- TOC -->
add the content here
<!-- /TOC -->
TODO: overrides
Check the basic example in the my portfolio repo: https://github.com/Cyber-Syntax/cyber-syntax.github.io
Check the advanced example in binbashar's repo: https://github.com/binbashar/le-ref-architecture-doc/blob/master/material/overrides/main.html
Configure mkdocs.yml:
Create md files for each custom page to be able to use custom html templates:
Add yaml front matter to each md file to show their own templates:
Add nav to mkdocs.yml to define the navigation structure: