GitHub Pages
Just the Docs
Just the Docs is a responsive
Jekylltheme with built-in search that is easily customizable and hosted onGitHub Pages.
Just the Docs custom schemes 4; configuration.md 5 has title and nav_order; index.md 6
title: Home
layout: home
nav_order: 1
description: "Just the Docs is a responsive Jekyll theme with built-in search that is easily customizable and hosted on GitHub Pages."
permalink: /
Available Layout Values
Based on the _layouts directory, Just the Docs supports these layout options:
| Layout | Purpose |
|---|---|
default | Main layout with navigation sidebar, search, and full theme styling (e.g. CHANGELOG, search, 404 page) |
page | Basic page layout (minimal wrapper) |
home | Homepage layout, only top level index.md |
post | Post/blog layout |
minimal | Minimal layout with navigation disabled by default |
Front Matter Variables
| Variable | Type | Purpose |
|---|---|---|
nav_enabled | boolean | Show/hide left navigation sidebar (page-level override); false for minimal layout |
has_toc | boolean | Show/hide table of contents and child pages |
heading_anchors | boolean | Generate anchor links for headings; default opt-in from template |
search_enabled | boolean | Show/hide search footer |
mermaid | object | Enable Mermaid diagram rendering; official has version: "9.1.6" |
lang | string | HTML language attribute (default: en-US) |
nav_exclude | boolean | Exclude page from navigation |
search_exclude | boolean | Exclude page from search |
last_modified_date | string | Display last modified date |
Permalink Examples
Standard Jekyll permalink patterns (apply to Just the Docs):
# Pretty URLs (most common)
permalink: /docs/getting-started/
# Custom URL
permalink: /guides/installation
# Date-based (posts)
permalink: /blog/:year/:month/:day/:title
# Category-based
permalink: /:categories/:title
# Flat structure
permalink: /:title
# With file extension
permalink: /docs/:title.html
# Nested path
permalink: /api/v1/:title
# Root level
permalink: /:title/
Sample Front Matter
---
layout: page
title: Getting Started
nav_order: 1
has_toc: true
search_exclude: false
permalink: /docs/getting-started/
last_modified_date: 2026-03-28
---
MkDocs
mkdocs-deploy-gh-pages — GitHub Action to deploy an MkDocs site to GitHub Pages 12
MkDocs deploying your docs 13