Engineering Standards Documentation with MkDocs¶
This guide explains how to work with our MkDocs-based documentation system.
Local Development¶
Using Python¶
- Install Python 3.11 or higher
-
Install dependencies:
Bash -
Run the development server:
Bash -
Open http://localhost:8000 in your browser
Using Docker¶
- Install Docker and Docker Compose
-
Run the development server:
Bash -
Open http://localhost:8000 in your browser
Building for Production¶
Local Build¶
| Bash | |
|---|---|
The static site will be generated in the site directory.
Docker Build¶
Integration Options¶
Backstage Integration¶
The documentation is structured to be compatible with Backstage's TechDocs:
-
Add the following to your
catalog-info.yaml: -
Update your Backstage configuration to include this repository
Confluence Integration¶
The documentation can be synced to Confluence using markdown support:
- Set up Confluence space
- Configure markdown rendering
- Set up automated sync (optional)
File Structure¶
| Text Only | |
|---|---|
Customization¶
Theme Customization¶
The documentation uses Material for MkDocs theme. You can customize:
- Colors and fonts in mkdocs.yml
- Navigation structure
- Search functionality
- Additional features through plugins
Adding New Content¶
- Add markdown files to appropriate directories
- Update
mkdocs.ymlnavigation if needed - Use supported markdown extensions:
- Code highlighting
- Admonitions
- Task lists
- Diagrams (Mermaid)