A small demo documentation site built with GitHub Pages and Jekyll.
Learn how to customise and extend this documentation site.
All pages are written in Markdown. To edit a page, open the corresponding .md file and make your changes.
# Example: edit the home page
nano index.md
Every page begins with front matter – a YAML block between --- delimiters that controls page metadata:
---
layout: default
title: My Page Title
nav_order: 5
---
| Key | Description |
|---|---|
layout |
Which Jekyll layout to use (use default for standard pages) |
title |
The page title shown in the browser tab and headings |
nav_order |
Controls the order of pages in the navigation |
Create a new .md file, either in the root or in the docs/ folder:
touch docs/my-new-page.md
Add front matter at the top:
---
layout: default
title: My New Page
nav_order: 5
---
Write your content in Markdown below the front matter.
Commit and push – GitHub Pages rebuilds the site automatically.
Edit _config.yml to change global settings:
title: My Project Docs
description: Documentation for my awesome project.
theme: jekyll-theme-minimal
⚠️ Note: Changes to
_config.ymlrequire a server restart when previewing locally (Ctrl+C, thenbundle exec jekyll serve).
| Element | Syntax |
|---|---|
| Heading | # H1, ## H2, ### H3 |
| Bold | **bold text** |
| Italic | *italic text* |
| Link | [label](url) |
| Image |  |
| Code | `inline code` |
| Code block | ` language ` |
| Blockquote | > quote |
| List | - item or 1. item |
| Table | \| col \| col \| |