This directory contains the Sphinx documentation for the Polybridge Python Client.
Install the documentation dependencies:
# Using uv (recommended)
uv pip install -e ".[docs]"
# Or using pip
pip install -e ".[docs]"cd docs
make htmlThe generated HTML will be in build/html/. Open build/html/index.html in your browser to view.
# Build PDF (requires LaTeX)
make latexpdf
# Build epub
make epub
# Clean build files
make cleansource/conf.py- Sphinx configurationsource/index.rst- Main documentation pagesource/installation.rst- Installation instructionssource/quickstart.rst- Quick start guidesource/user-guide.rst- Comprehensive user guidesource/api-reference.rst- Auto-generated API documentationsource/examples.rst- Usage examplessource/changelog.rst- Version history
The documentation is automatically built and hosted on ReadTheDocs at: https://polybridge-python-client.readthedocs.io
Configuration is in .readthedocs.yaml in the project root.
- Create a new
.rstfile insource/ - Add it to the
toctreeinsource/index.rst - Build locally to test:
make html - Commit and push - ReadTheDocs will automatically rebuild
- Use reStructuredText (
.rst) for documentation pages - Use NumPy-style docstrings in Python code
- Include code examples with proper syntax highlighting
- Keep line length under 100 characters for readability