This repository contains the comprehensive documentation for Isaac for Healthcare, a three-computer solution for healthcare robotics built with MkDocs and Material theme.
- Python 3.10+
- Git
- Clone the repository:
git clone https://github.com/isaac-for-healthcare/i4h-docs.git
cd i4h-docs- Create a virtual environment and install dependencies:
python -m venv .venv
source .venv/bin/activate # On Linux/Mac
# .venv\Scripts\activate # On Windows
pip install -r requirements.txt- Serve the documentation locally:
./serve_docs.sh
# Or directly: mkdocs serveThe documentation will be available at http://localhost:8001
The documentation follows the Diátaxis framework principles:
docs/- Source documentation filesworkflows/- Complete Solutions: End-to-end healthcare robotics applications- Robotic Ultrasound - Autonomous diagnostic imaging
- Robotic Surgery - Surgical automation workflows
- Telesurgery - Remote surgical operation
asset-catalog/- Resources: Pre-built simulation assets and AI modelssensor-simulation/- Capabilities: Physics-based medical sensor emulationmodels/- AI Models & Policies: Pre-trained models and control policiessdg/- Synthetic Data Generation: Tools for creating training dataassets/- Images and static resources
scripts/- Documentation maintenance toolssync_readmes.py- Synchronizes README files from source repositoriesreadme-sync-config.yml- Configuration for README synchronizationlicense_header_validator.py- Validates and adds license headers to code files
mkdocs.yml- MkDocs configuration.github/workflows/- GitHub Actions for automated deployment
The documentation is automatically built and deployed through GitHub Actions:
-
Automated triggers:
- On every push to main
- Weekly on Mondays at 00:00 UTC
- Manual workflow dispatch
-
The workflow:
- Clones the three source repositories (i4h-asset-catalog, i4h-sensor-simulation, i4h-workflows)
- Runs the sync script to pull latest README content
- Validates all Python/shell files have proper license headers
- Builds the MkDocs site
- Deploys to GitHub Pages at https://isaac-for-healthcare.github.io/i4h/
-
Content synchronization is configured in
scripts/readme-sync-config.yml, which maps:- Source README files from the three repositories
- Target locations in the documentation structure
-
To update documentation:
- Direct edits: Modify files in
docs/directory - Synced content: Update README files in the source repositories
- Navigation: Edit the
navsection inmkdocs.yml
- Direct edits: Modify files in
To sync README files from source repositories:
# Clone source repositories first (required)
git clone https://github.com/isaac-for-healthcare/i4h-asset-catalog.git
git clone https://github.com/isaac-for-healthcare/i4h-sensor-simulation.git
git clone https://github.com/isaac-for-healthcare/i4h-workflows.git
# Sync content from source repositories
python scripts/sync_readmes.py
# Preview changes without modifying files
python scripts/sync_readmes.py --dry-run
# Fix broken images in all markdown files (manual repair tool)
python scripts/sync_readmes.py --fix-all-images# Build static site
mkdocs build
# Serve with live reload on specific host/port
mkdocs serve -a 0.0.0.0:8001
# Strict mode (fails on warnings)
mkdocs build --strict
# Verbose output
mkdocs serve --verbose