A modern, responsive documentation website for satware.ai, built with MkDocs and the beautiful Material for MkDocs theme. This repository serves as the source for the static website deployed to GitHub Pages.
Developing locally is streamlined using Docker, which encapsulates all necessary dependencies.
Prerequisites:
Steps:
Fork the original repository: Fork the satwareAG/satware.ai repository to your GitHub account.
Clone your fork:
git clone https://github.com/YOUR_USERNAME/satware.ai.git
cd satware.ai
(Replace YOUR_USERNAME with your GitHub username.)
Start the development server:
./mkdocs.sh
This command will build the Docker image (if not already built) and start a local development server. The website will be accessible at http://localhost:8000. Any changes you make to the documentation files (docs/) will automatically trigger a live reload in your browser.
The mkdocs.sh script provides multiple commands for streamlined development:
Basic Commands:
./mkdocs.sh # Start development server (default)
./mkdocs.sh serve # Same as above
./mkdocs.sh build # Build static site to site/ directory
./mkdocs.sh clean # Remove build artifacts
./mkdocs.sh status # Check if container is running
./mkdocs.sh stop # Stop running development server
./mkdocs.sh help # Show all available commands
Advanced Commands:
./mkdocs.sh build --clean # Clean build (removes old artifacts first)
./mkdocs.sh rebuild # Force rebuild Docker image
./mkdocs.sh serve --verbose # Start server with verbose logging
Common Workflows:
./mkdocs.sh ā Opens at http://localhost:8000./mkdocs.sh build ā Check site/ directory./mkdocs.sh status ā View running state./mkdocs.sh stop && ./mkdocs.sh clean && ./mkdocs.shFeatures:
For detailed documentation, see docs/internal/mkdocs-sh-v2-improvements.md
.
āāā .clinerules/ # Project-specific AI assistant rules (MANDATORY)
ā āāā satware-ai-dev.md # Development rules for this project
āāā .github/ # GitHub Actions workflows for CI/CD
ā āāā workflows/ # Contains deploy-live.yml and deploy-preview.yml
āāā .gitignore # Specifies intentionally untracked files to ignore
āāā .repoinsight/ # Configuration for repository insights (if applicable)
āāā docker/ # Docker-related files
ā āāā mkdocs-material/ # Dockerfile for the MkDocs Material environment
āāā docs/ # Markdown source files for the documentation
ā āāā internal/ # ā ļø INTERNAL DOCS - NOT PUBLISHED (excluded via mkdocs.yml)
ā āāā index.md # Homepage content
ā āāā ... # Other documentation pages and assets
āāā mkdocs.sh # Script for local development with Docker
āāā mkdocs.yml # Main MkDocs configuration file
āāā overrides/ # Custom theme overrides and assets (e.g., SCSS)
ā āāā assets/
ā āāā css/
ā āāā custom.scss
āāā scss_watcher.py # Python script to watch and compile SCSS
āāā tasks.md # Markdown file for project tasks/notes
āāā README.md # This file
ā ļø CRITICAL: All internal documentation MUST be placed in docs/internal/
The docs/internal/ directory is automatically excluded from the published website via the mkdocs-exclude plugin configured in mkdocs.yml. This ensures that internal development notes, analysis documents, and sensitive information are never published to satware.ai.
Rules:
docs/internal/dev-ci-parity-analysis.md, architecture-notes.md)docs/docs/internal/Verification:
# Test locally before pushing
./mkdocs.sh
# Navigate to http://localhost:8000
# Verify internal docs are NOT listed in navigation or search
What belongs in docs/internal/:
Enforcement: The .clinerules/satware-ai-dev.md file contains MANDATORY rules for AI assistants working on this project to enforce this policy automatically.
pysasscscss_watcher.py)The satware.ai website is automatically deployed to GitHub Pages.
Workflow for your fork (for testing/preview):
https://github.com/YOUR_USERNAME/satware.ai), specifically to the main-mkdocs branch.gh-pages branch.ci.yml) is triggered.gh-pages branch of your fork.https://YOUR_USERNAME.github.io/satware.ai/.Workflow for the main repository (live site):
main-mkdocs branch of the original satwareAG/satware.ai repository will trigger the live site deployment to https://satware.ai/.scss_watcher.py is running correctly within your Docker container. Check the Docker logs for any errors during SCSS compilation. The scss_watcher.py monitors overrides/assets/css/custom.scss and compiles it to docs/assets/css/custom.css../mkdocs.sh script, verify that Docker is running and that you have the necessary permissions.Found a bug, have a feature request, or experiencing issues with the satware.ai website? Please report all issues to our main repository:
šÆ Report Issues Here
When reporting issues, please include:
This helps our team address your concerns quickly and effectively. We appreciate your feedback in making satware.ai better for everyone!
Contributions are welcome! Please see our CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or support, please contact [email protected].