A modern, elegant DocFX template inspired by GitBook's clean documentation aesthetic.
- Clean, readable typography with Source Serif Pro and Inter fonts
- Warm, paper-like color scheme with teal accents
- Dark mode support with system preference detection
- Responsive sidebar navigation
- Table of contents with scroll spy
- Search integration
- Code syntax highlighting with custom theme
- Smooth animations and micro-interactions
cd your-docfx-project
git submodule add https://github.com/HYMMA/docfx-gitbook-template.git templates/gitbookDownload and extract to your project's templates/ folder.
Update your docfx.json:
{
"build": {
"template": [
"default",
"modern",
"templates/gitbook"
]
}
}Edit CSS variables in public/main.css:
:root {
--gitbook-accent: #0D9488;
--gitbook-bg: #FDFCFA;
--gitbook-text: #1F2937;
}Override partials/logo.tmpl.partial with your own logo markup.
MIT © HYMMA

