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

Remove search.js as separate overridable asset #2236

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Conversation

mortenpi
Copy link
Member

Since we now load search.js anyway on every HTML page, we can just combine it into documenter.js, so simplify our assets handling. cc @Hetarth02 -- can you think of any reason we shouldn't do this?

This is technically breaking, since previously you could actually provide a custom search.js file that overrides Documenter's implementation. But I assume it is not used very much.. and anyway those files would be broken by the new UI.

@mortenpi mortenpi added Type: Maintenance Type: Breaking Format: HTML Related to the default HTML output labels Aug 28, 2023
@mortenpi mortenpi added this to the 1.0.0 milestone Aug 28, 2023
@Hetarth02
Copy link
Contributor

@mortenpi
I think yes, we can definitely move the search.js to documenter.js.

@mortenpi mortenpi merged commit 2c08ddd into master Aug 28, 2023
@mortenpi mortenpi deleted the mp/mv-search-js branch August 28, 2023 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Format: HTML Related to the default HTML output Type: Breaking Type: Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants