This repository contains the Sphinx documentation source for the iNOCulator Web User Guide.
- Python 3.11 or higher
- For Windows users: Command Prompt or PowerShell
- For Linux/macOS users: Terminal with bash/zsh
-
Clone this repository:
git clone https://github.com/yourusername/inoculator-user-guide.git cd inoculator-user-guide
-
Build the documentation:
make html
This will:
- Set up a Python virtual environment
- Install required dependencies
- Build HTML documentation in the
build/html
directory
-
Available commands:
make help # Show help message with all commands make html # Build HTML documentation once make livehtml # Auto-rebuild with live preview in browser make serve # Serve existing documentation via HTTP server make clean # Remove build artifacts and virtual environment
-
Clone this repository:
git clone https://github.com/yourusername/inoculator-user-guide.git cd inoculator-user-guide
-
Build the documentation:
make.bat html
This will build HTML documentation in the
build/html
directory.Note: You may need to install Sphinx and dependencies first:
pip install -r requirements.txt
-
Available commands:
make.bat # Show help message make.bat html # Build HTML documentation once make.bat livehtml # Auto-rebuild with live preview make.bat serve # Serve existing documentation via HTTP server make.bat clean # Remove build artifacts
After building, you can view the documentation by:
- Direct file access: Open
build/html/index.html
in your web browser - Built-in server: Run
make serve
(Linux/macOS) ormake.bat serve
(Windows) and visit http://localhost:8000/
For active development and writing, we recommend:
-
Start the auto-rebuilding server:
- Linux/macOS:
make livehtml
- Windows:
make.bat livehtml
- Linux/macOS:
-
Edit the source files in the
source
directory -
The browser will automatically refresh when you save changes
To contribute to this documentation:
- Create a new branch for your changes
- Make your changes to the
.rst
files in thesource
directory - Build and test your changes
- Submit a pull request
[Add your license information here]