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

Feat Request: Un-uglify docsearch.js #63

Open
dylanh724 opened this issue Jan 9, 2025 · 2 comments
Open

Feat Request: Un-uglify docsearch.js #63

dylanh724 opened this issue Jan 9, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@dylanh724
Copy link

When the breaking UI poofing bug appeared, I couldn't debug it since it's uglified:

image

Please un-uglify this so we can better help you folks identify issues and potentially even resolve it ourselves. You're missing a big benefit of being FOSS!

Uglifying a somewhat small file has negligible gains for what benefits you can gain from clarity. Perhaps you could have a conf.py option to uglify, instead (ideal).

@kai687 kai687 added the enhancement New feature or request label Jan 9, 2025
@kai687
Copy link
Collaborator

kai687 commented Jan 9, 2025

This extension bundles DocSearch from the jsDelivr CDN. As far as I can tell, all the DocSearch files on jsDelivr are already minified/uglified.

If I looked correctly, then the best course of action is to make that feature request in the DocSearch project on GitHub to distribute unminified.

Only if the files are distributed in unminified form, we can integrate them here.

@dylanh724
Copy link
Author

Added: algolia/docsearch#2435

Thanks! You could optionally close this, since there's nothing we can do if/until they add this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants