Documentation Setup
This page is the Python-native equivalent of the MATLAB help-integration
guide. nSTAT-python does not register pages inside the MATLAB help browser;
instead it ships a static Sphinx documentation site and local rebuild hooks.
Install and Configure
Install from PyPI:
python -m pip install nstat-toolbox
Install from source:
git clone https://github.com/cajigaslab/nSTAT-python
cd nSTAT-python
python -m pip install -e .[dev]
Run the installer helper:
nstat-install --download-example-data prompt
Equivalent module form:
python -m nstat.install --download-example-data prompt
Build and Refresh the Search Database
The Python installer can rebuild the local Sphinx HTML search index:
nstat-install
or directly:
python -m sphinx -W -b html docs docs/_build/html
The resulting search index is written to docs/_build/html/searchindex.js.
Documentation Entry Points
Use these pages as the Python documentation entry points:
Troubleshooting
If example data is missing, rerun
nstat-install --download-example-data always.If local docs are stale, rebuild with
python -m sphinx -W -b html docs docs/_build/html.If you need a different example-data cache, set
NSTAT_DATA_DIRbefore running the installer or examples.