.. _dev-notes: Developer notes =============== Environment setup ----------------- .. code-block:: bash # Create / activate the dev environment python -m venv sfi_env source sfi_env/bin/activate pip install -e ".[dev,io]" Building documentation ---------------------- **Quick build** (docs only, no examples re-run): .. code-block:: bash cd docs make clean && make html # open build/html/index.html This uses pre-generated gallery ``.rst`` and images already committed under ``docs/source/gallery/``. Sphinx-gallery is *not* loaded; no example scripts are executed. **Full build** (re-run all gallery examples): .. code-block:: bash cd docs SFI_DOCS_RUN_GALLERY=1 make html This loads ``sphinx_gallery.gen_gallery``, executes every ``*_demo.py`` script, and regenerates the gallery pages from scratch. It can take a long time (10+ min) and requires all optional dependencies (matplotlib, joblib, …). Animations are rendered as **HTML5 ``