Create a template repo that can be used for rapidly scaffolding 30DaysOf projects with mkdocs-material.
Mkdocs-material provides a number of built-in or plugin-based features that check a lot of requirements for 30DaysOf projects. These include:
- Rich components & styling (with Material Design)
- Dark/Light Mode
- Built-in Search
- Markdown-based Content (with enhanced support)
- Plugin-based Extensions (for rich integrations)
- Built-in Cookie Consent (for Google Analytics)
- Customizable navigation & default overrides
- Support for Blog feature (via plugin)
- Deployment to GitHub Pages (with GitHub Actions)
- Python-based package (local preview, devcontainer support)
The best way to use this template is:
- Instantiate it (using the
Use this template
feature) - Read through the sample workshop (source in
docs/01-Workshop
) - Use it to create your own materials (e.g., as
docs/
subfolder) - Delete the
docs/01-Workshop
subfolder to remove the tutorial. - Commit changes and activate your default GitHub Pages settings in repo.
The next time you commit code, the GitHub Pages hosted endpoint should get rebuilt and redeployed automatically.