A documentation wiki built with MkDocs, styled to match the EnergyAtlas design system.
-
Install dependencies:
pip install -r requirements.txt
-
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/ # Published wiki source
│ ├── assets/ # CSS, JavaScript, images, icons, and self-hosted fonts
│ ├── quick-start/ # Welcome and onboarding
│ ├── workflows/ # Input/output, GUI, and shading workflows
│ ├── python/ # Python reference
│ ├── web-api/ # Web API and development reference
│ ├── library/ # Objects, enums, and resource libraries
│ ├── user-stories/ # User stories
│ └── wiki-guide/ # Contribution guides and site map
├── design/
│ └── ui-design-spec.md # UI design specification (not published)
├── 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 follows design/ui-design-spec.md (its section 0 records this site's decisions):
- Light and dark themes that follow the system preference, with a toggle
- Sidebar shell: subspace switcher and page tree at the left, a framed article, and the table of contents
- Grid framing: square, flat surfaces bounded by thin rules; numbered section strips on overview pages
- Geist, Geist Mono, and Cormorant Garamond, self-hosted in
docs/assets/fonts/ - 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:
docs/assets/css/main.css(tokens at the top); fonts infonts.css; code colours insyntax.css - Theme templates:
theme/base.htmlandtheme/main.html - UI changes follow
design/ui-design-spec.md - Overview pages turn on numbered section strips with
overview: truein their front matter
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
docs/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]