a beginner-friendly mkdocs template for creating beautiful documentation sites like d-sys.wiki. perfect for developers who want to quickly get started with documentation. β star this repo if you find it useful!
- overview
- features
- quick start guide
- customization steps
- template structure
- advanced configuration
- github actions setup
- contributing
- support this project
- license
this template provides everything you need to create a professional documentation site using mkdocs with the terminal theme, styled after d-sys.wiki. it's designed for beginners who want to:
- create beautiful documentation with minimal setup
- deploy automatically with github actions
- customize the look and feel to match their brand
- get started quickly without extensive configuration
- beautiful terminal theme: pre-configured terminal-style theme for a unique documentation experience
- github actions integration: automatic building and deployment workflow
- seo optimized: built-in seo best practices for better discoverability
- mobile responsive: looks great on all devices
- easy customization: simple files to modify for personalization
- plugin support: pre-configured with essential mkdocs plugins
- beginner friendly: clear instructions for quick setup
- rss support: built-in rss feeds for content updates
- llms.txt generation: automatic generation of llms.txt for ai discoverability
-
clone this template repository:
git clone https://github.com/captradeoff/d-sys-wiki-theme.git my-documentation cd my-documentation
-
install dependencies:
pip install mkdocs pip install mkdocs-terminal pip install mkdocs-git-revision-date-plugin pip install mkdocs-spellcheck-plugin pip install mkdocs-llmstxt pip install mkdocs-rss-plugin
-
start the development server:
mkdocs serve
-
view your site at
http://localhost:8000
follow these steps to transform this template into your own documentation site:
edit mkdocs.yml
:
site_name: Your Site Name
site_url: https://your-site-url.com
copyright: "Your copyright message"
site_author: your_username
repo_url: https://github.com/your_username/your_repo
-
edit
docs/CNAME
:your-site-url.com
-
update
docs/robots.txt
:User-agent: * Allow: / Sitemap: https://your-site-url.com/sitemap.xml
-
replace the favicon:
- add your own favicon.ico to
docs/img/
- add your own favicon.ico to
-
update the footer in
theme/main.html
:<table class="table table-striped table-hover"> <tbody> <tr> <td style="text-align: center"> <a href="https://your-community-link">join community</a> </td> <td style="text-align: center"> <a href="https://github.com/your_username/your_repo/issues">open an issue</a> </td> <td style="text-align: center"> <a href="https://twitter.com/your_username">follow on twitter</a> </td> </tr> <!-- Additional rows as needed --> </tbody> </table>
-
add your content:
- place your markdown files in the
docs/
directory - update
docs/index.md
with your landing page content
- place your markdown files in the
-
enable github pages in your repository settings:
- go to
Settings
>Pages
- select source:
GitHub Actions
- go to
-
commit and push your changes:
git add . git commit -m "Customize documentation site" git push
-
github action will automatically build and deploy your site!
my-documentation/
βββ docs/ # Content source files
β βββ index.md # Home page
β βββ CNAME # Custom domain configuration
β βββ robots.txt # SEO configuration
β βββ style.css # Custom CSS
β βββ img/ # Images and favicon
βββ theme/ # Custom theme components
β βββ main.html # Footer and layout customizations
βββ mkdocs.yml # Site configuration
βββ .github/ # GitHub Actions workflows
βββ LICENSE # License information
edit the nav
section in mkdocs.yml
:
nav:
- Home: "index.md"
- Getting Started: "getting-started.md"
- API Reference:
- Overview: "api/index.md"
- Authentication: "api/auth.md"
the default theme is gruvbox_dark
. you can change this in mkdocs.yml
:
theme:
name: terminal
custom_dir: theme
palette: nord # Options: dracula, gruvbox_light, monokai, nord, zenburn
this template includes a pre-configured github action workflow that:
- builds your mkdocs site
- deploys it to github pages
- generates rss feeds and llms.txt
all you need to do is enable github pages in your repository settings!
contributions are welcome! here's how:
- fork the repository
- create a feature branch:
git checkout -b feature/amazing-feature
- make your changes
- commit:
git commit -m 'Add amazing feature'
- push:
git push origin feature/amazing-feature
- open a pull request
if you find this template useful:
- β star this repository on github
- π fork it and use it for your own projects
- π’ share it with others who might find it helpful
- π report issues or suggest improvements
your support helps maintain and improve this project!
This template is powered by amazing open-source tools:
- MkDocs - The core documentation framework
- MkDocs Terminal Theme - Beautiful terminal-style theme
- Plugins:
- mkdocs-git-revision-date-plugin - Shows last update dates
- mkdocs-spellcheck-plugin - Spell checking for documentation
- mkdocs-llmstxt - LLMs.txt generation for AI discoverability
- mkdocs-rss-plugin - RSS feed generation
this work is dedicated to the public domain under cc0 1.0.
built with β€οΈ by captradeoff. template based on d-sys.wiki.