holoviz-dev / nbsite

Build a tested, sphinx-based website from notebooks
https://nbsite.holoviz.org
BSD 3-Clause "New" or "Revised" License
29 stars 13 forks source link

Try to speed up local development #287

Closed hoxbro closed 3 months ago

hoxbro commented 1 year ago
hoxbro commented 1 year ago

Running 9298f1b with the following on the HoloViews:

set -euo pipefail

git clean -xfd
python -m pip install -ve .

nbsite generate-rst --org holoviz --project-name holoviews

SECONDS=0
nbsite build --what=html --output=builtdocs --org holoviz --project-name holoviews
echo elapsed $SECONDS seconds

I get it to finish in 232 seconds, and current main 1350 seconds.

Panel docs build don't want to finish with -j auto set on sphinx-build:

set -euo pipefail

git clean -xfd
python -m pip install -ve .

nbsite generate-rst --org holoviz --project-name panel
python ./doc/generate_modules.py panel -d ./doc/api -n panel -e tests

SECONDS=0
nbsite build --what=html --output=builtdocs --org holoviz --project-name panel
echo elapsed $SECONDS seconds