Comprehensive Documentation for the Sim4Life Simulator Plugin Framework
This repository contains the documentation for the Sim4Life Simulator Plugin Framework. The documentation is built using MkDocs with the Material theme.
-
Clone the repository:
git clone https://github.com/yourusername/s4l-plugins-documentation.git cd s4l-plugins-documentation
-
Set up the development environment:
make devenv
This will create a virtual environment and install all required packages.
To serve the documentation locally during development:
make serve
This will start a local development server at http://127.0.0.1:8000/
with auto-reload enabled.
To build the documentation site:
make build
This will create a site
directory with the built HTML files.
Before deploying, make sure to update the repository URL in mkdocs.yml
with your actual GitHub username:
- Update
site_url
tohttps://yourusername.github.io/s4l-plugins-documentation/
- Update
repo_url
tohttps://github.com/yourusername/s4l-plugins-documentation
To deploy the documentation to GitHub Pages:
make gh-deploy
This command builds the site and pushes it to the gh-pages
branch of your repository.
-
Push your repository to GitHub:
git init git add . git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/yourusername/s4l-plugins-documentation.git git push -u origin main
-
Navigate to your repository on GitHub > Settings > Pages:
- Source: Deploy from a branch
- Branch: gh-pages
- Folder: / (root)
- Click Save
After deployment, your documentation will be available at https://yourusername.github.io/s4l-plugins-documentation/
.