Skip to content

Include tutorials docs in release build (fixes #3353) #3380

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

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

damusss
Copy link
Member

@damusss damusss commented Mar 11, 2025

Did as the title says as sturbuck requested in #3353 (comment), fixing #3353.

@damusss damusss added the docs label Mar 11, 2025
@damusss damusss requested a review from a team as a code owner March 11, 2025 15:01
@damusss damusss changed the title Include tutorials docs in release built (fixes https://github.com/pygame-community/pygame-ce/issues/3353) Include tutorials docs in release built (fixes #3353) Mar 11, 2025
@ankith26
Copy link
Member

Just curious, what is the wheel size change after this PR?

@damusss
Copy link
Member Author

damusss commented Mar 15, 2025

Just curious, what is the wheel size change after this PR?

Probably around 1.16 MB. I'm not a fan of this, but it's true that we technically did save enough space to "afford" it. You should chat with Starbuck about wether it's worth adding it or not.

@Starbuck5
Copy link
Member

In my testing it is not 1.16 MB, it is 227 KB. That is today's main vs this branch (wheel files).

Maybe you were not accounting for the fact that wheels are zip files, so text is compressed inside them. Where as with images it's more 1-to-1 because they're already compressed.

Copy link
Member

@Starbuck5 Starbuck5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@damusss damusss changed the title Include tutorials docs in release built (fixes #3353) Include tutorials docs in release build (fixes #3353) Mar 23, 2025
Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the increase in size is fine, especially given the reductions we have gotten in recently.

LGTM, thanks for the PR! 😎

@ankith26 ankith26 added this to the 2.5.4 milestone Mar 23, 2025
@ankith26 ankith26 merged commit 1ebf3c4 into pygame-community:main Mar 23, 2025
1 check passed
@damusss damusss deleted the release-include-tutorials branch May 12, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot open "tutorials" in the offline documentation for Pygame CE 2.5.3
3 participants