Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to speed up local development #287

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

hoxbro
Copy link
Collaborator

@hoxbro hoxbro commented Jul 19, 2023

  • Checks for local gif file before downloading.
  • Download thumbnails and fix links threaded
  • Add jobs option to sphinx-build -j auto (except when pyodide is enabled)
  • Add an s in pygments to "pygments_light_style" and "pygments_dark_style" to suppress a warning.

@hoxbro hoxbro marked this pull request as draft July 19, 2023 13:01
@hoxbro
Copy link
Collaborator Author

hoxbro commented Aug 15, 2023

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

@hoxbro hoxbro requested a review from philippjfr June 6, 2024 07:47
@hoxbro hoxbro marked this pull request as ready for review June 21, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant