This directory contains the documentation for Viser.
To build the documentation:
-
Install the documentation dependencies:
pip install -r docs/requirements.txt
-
Build the documentation:
cd docs make html -
View the documentation:
# On macOS open build/html/index.html # On Linux xdg-open build/html/index.html
When adding new documentation, screenshots and visual examples significantly improve user understanding.
We need screenshots for:
- The Getting Started guide
- GUI element examples
- Scene API visualization examples
- Customization/theming examples
See Contributing Visuals for guidelines on capturing and adding images to the documentation.
source/- Source files for the documentation_static/- Static files (CSS, images, etc.)images/- Screenshots and other images
examples/- Example code with documentation*.md- Markdown files for documentation pagesconf.py- Sphinx configuration
Example documentation is automatically generated from the examples in the examples/ directory using the update_example_docs.py script. To update the example documentation after making changes to examples:
cd docs
python update_example_docs.py