A documentation wiki built with MkDocs, styled to match the EnergyAtlas design system.
-
Install dependencies:
pip install -r requirements.txt
-
Ensure assets are in docs directory: The
assetsfolder must exist in thedocs/directory for MkDocs to find CSS and images. If you make changes to files in the rootassets/folder, copy them todocs/assets/. -
Serve locally:
mkdocs serve
The wiki will be available at
http://127.0.0.1:8000Note: If CSS is not loading:
- Stop the server (Ctrl+C) and restart it
- Hard refresh your browser (Ctrl+F5)
- Check browser console for 404 errors on CSS files
-
Build static site:
mkdocs build
The static site will be generated in the
site/directory.
.
├── docs/ # Documentation source files (Markdown)
│ ├── index.md # Home page
│ ├── getting-started/ # Getting started guides
│ ├── core-topics/ # Core topic documentation
│ └── resources/ # Resources and references
├── assets/ # Static assets (CSS, images)
│ ├── css/
│ │ ├── main.css # Main stylesheet (EnergyAtlas design system)
│ │ └── statusBar.css # Status bar styles
│ └── images/ # Images and icons
├── theme/ # Custom MkDocs theme
│ ├── base.html # Base template
│ └── main.html # Main content template
├── mkdocs.yml # MkDocs configuration
└── requirements.txt # Python dependencies
The wiki uses a custom theme that matches the EnergyAtlas design system:
- Dark theme with EnergyAtlas color palette
- Two-column layout: Navigation sidebar + main content
- Card-based content sections
- Roboto Flex typography
- Responsive design for mobile and desktop
- Create a new Markdown file in the appropriate
docs/subdirectory - Add the page to
mkdocs.ymlin thenavsection - The page will automatically appear in the navigation
- Main styles:
assets/css/main.css - Theme templates:
theme/base.htmlandtheme/main.html - CSS variables are defined in
main.cssfor easy customization
Pages can be structured with markdown headers. The theme will automatically style:
- Headings (h1-h6)
- Links
- Code blocks
- Tables
- Lists
- Blockquotes
When running mkdocs serve, the site will automatically reload when you make changes to:
- Markdown files in
docs/ - Theme templates in
theme/ - CSS files in
assets/css/ - Configuration in
mkdocs.yml
mkdocs buildThe static site will be in the site/ directory, ready to deploy to any static hosting service.
[Add your license here]