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

Docs transfer sizes are now larger with new theme #160

Open
JacksonChen666 opened this issue Oct 18, 2024 · 0 comments
Open

Docs transfer sizes are now larger with new theme #160

JacksonChen666 opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@JacksonChen666
Copy link
Collaborator

New docs with new theme is now significantly larger (2.76 MB / 1.07 MB transferred with uBO), larger than a heavily optimized PNG (212 KB, oxipng -o max, "Laptop with HiDPI Screen" on https://synadm.readthedocs.io/en/latest/synadm.cli.room.html in light theme). Using uBO to prevent scripts and fonts from loading (breaking functionality somewhat) reduces that down to 485.54 kB / 94.31 kB transferred, so there is definitely room for improvement.

Previous docs theme is only 792.22 kB / 276.40 kB transferred (uBO). (No scripts and fonts is 190.25 kB / 36.26 kB transferred)

The first thing to look at is reducing/replacing FontAwesome (https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/fonts.html)

@JacksonChen666 JacksonChen666 added the documentation Improvements or additions to documentation label Oct 18, 2024
@JacksonChen666 JacksonChen666 self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant