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

build napari-docs on theme PR #156

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

psobolewskiPhD
Copy link
Member

@psobolewskiPhD psobolewskiPhD commented Feb 14, 2024

Add a GitHub workflow to build the current napari docs (dev) using a PR branch of this theme.
Note at the moment I'm letting the gallery build, but deleting the .doctrees folder which was 400Mb!

This partially addresses #155
The CircleCI previews would be more user friendly, but require some extra secrets.

@psobolewskiPhD
Copy link
Member Author

You can see for example the mastodon link from previous PR:
#153
image

@psobolewskiPhD
Copy link
Member Author

Dang, nuking the .doctrees saved 500Mb. the artifacts listed as <100 mb and unzipped it's <130 locally:

❯ du -h -d 1
832K	./_downloads
296K	./roadmaps
5.4M	./_modules
2.1M	./plugins
7.2M	./gallery
2.5M	./_sources
 18M	./_static
236K	./further-resources
3.2M	./release
 63M	./_images
724K	./_tags
1.3M	./guides
6.1M	./api
4.6M	./tutorials
 52K	./_sphinx_design_static
600K	./community
8.4M	./howtos
1.1M	./naps
1.9M	./developers
129M	.

@psobolewskiPhD
Copy link
Member Author

As an alternative we could build just the mini-site that is in this repo, but it has few of the napari.org features.
You can see that here:
psobolewskiPhD#1

@psobolewskiPhD psobolewskiPhD requested a review from jni February 16, 2024 23:27
@jni
Copy link
Member

jni commented Feb 20, 2024

Fantastic, thanks! 🚀

@jni jni merged commit 2a4e574 into napari:main Feb 20, 2024
1 check passed
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.

2 participants