Level 2 β Maker¶
Time: ~1β2 hours
You'll write real documentation pages, use components, change a design token, and deploy to GitHub Pages.
What you'll learn¶
- How to write docs with admonitions, tabs, and task lists
- How to use the component system
- How to change a design token and see it apply
- How to deploy to GitHub Pages
Prerequisites¶
- Completed Level 1 β Explorer
- A GitHub account
- Git installed
Step 1 β Write a component page¶
Create docs/guide.md:
---
date: 2026-09-19
title: My Guide
---
# My Guide
!!! note "Tip"
Admonitions are built in. Use `!!! note`, `!!! warning`, `!!! tip`, etc.
## Tabs
=== "Python"
```python
print("Hello from Void!")
```
=== "JavaScript"
```javascript
console.log("Hello from Void!")
```
## Task lists
- [x] Install Void
- [x] Scaffold a project
- [ ] Write documentation
- [ ] Deploy to GitHub Pages
Run mkdocs serve and check that admonitions, tabs, and task lists all
render correctly.
Step 2 β Use the notes panel¶
- Press
Ctrl+Shift+Nto open the notes panel. - Click "Add note" and write a note about your page.
- The note is saved in
localStorageand persists across reloads.
Step 3 β Change a design token¶
Create docs/stylesheets/extra.css:
Add it to mkdocs.yml:
Reload the site. The accent color (used for links, active states, and the progress bar) should now be green.
Step 4 β Deploy to GitHub Pages¶
- Create a GitHub repo and push your project:
git init
git add .
git commit -m "Initial docs"
git remote add origin https://github.com/your-username/my-docs.git
git push -u origin main
- Set the
site_urlinmkdocs.yml:
- Add a deploy workflow. Create
.github/workflows/docs.yml:
name: Deploy docs
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install mkdocs-void
- run: mkdocs build --strict
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
- Push and check the Actions tab β the site deploys automatically.
Verify you got it¶
- A live site at
mkdocs servewith admonitions, tabs, and task lists - A design token change visible in the browser
- Notes panel opens with
Ctrl+Shift+N - A deployed site on GitHub Pages
Next level¶
Ready to customize the theme deeply? Continue to Level 3 β Customizer.