This directory contains the Sphinx-based documentation for Hyperactive.
Install the required dependencies:
pip install -r requirements.txtYou'll also need to have Hyperactive installed:
pip install -e .. # Install Hyperactive in development mode from parent directoryFrom the source directory:
cd source
make clean # Clean previous builds
make html # Build HTML documentationThe built documentation will be in build/html/. Open build/html/index.html in your browser to view.
For development, you can use auto-rebuild mode:
cd source
make autobuildThis will start a local server (typically at http://127.0.0.1:8000) that automatically rebuilds when you make changes to the documentation source files.
source/- Documentation source filesconf.py- Sphinx configurationindex.rst- Main landing pageapi_reference/- API reference documentation (auto-generated)user_guide/- User guide pages (currently stubs)examples/- Example notebooks and galleries (currently stubs)get_involved/- Contributing guidelines (currently stubs)about/- About pages (currently stubs)_templates/- Custom Sphinx templates_static/- Static files (CSS, images, etc.)
build/- Built documentation (generated, not tracked in git)
The documentation is currently set up with:
- ✅ Full API reference auto-generated from docstrings
- ✅ Sphinx configuration following SK-Time's approach
- ✅ pydata_sphinx_theme for consistent look with scientific Python ecosystem
- ✅ Structural placeholders for future static content
Static pages (User Guide, Examples, etc.) are currently placeholder stubs marked "under construction" that can be filled in later.
The API reference is automatically generated from docstrings. To update:
- Ensure your class/function has proper NumPy-style docstrings
- Add the class/function to the appropriate
api_reference/*.rstfile using theautosummarydirective - Rebuild the documentation
To add content to the placeholder pages:
- Edit the corresponding
.rstor.mdfile in the appropriate directory - Remove the "under construction" note
- Add your content using reStructuredText or Markdown syntax
- Rebuild to see your changes
- All API documentation is 100% auto-generated from source code docstrings
- The structure allows for easy addition of static content in the future
- Build warnings about missing references are normal during early development