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: switch to readthedocs search addon #398

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

thephez
Copy link
Collaborator

@thephez thephez commented Oct 9, 2024

The search extension is no longer supported and readthedocs has moved to providing search via an addon. This PR switches to using that addon (must be enabled in the Addons settings of the ReadTheDocs admin dashboard).

This is still a custom integration that requires some extra JS to make work. Eventually the theme may directly support the integration (see pydata/pydata-sphinx-theme#1977), but for now this is what we have.

Note: some CSS updates for dark mode need to be made to improve the UX.

Based on dashpay/docs-core#122

Preview: https://dash-docs--398.org.readthedocs.build/en/398/

@thephez thephez marked this pull request as draft October 9, 2024 16:21
@thephez
Copy link
Collaborator Author

thephez commented Oct 9, 2024

Waiting for the dashboard to be accessible for this project before merging in case addon settings need to be modified.

@thephez thephez marked this pull request as ready for review October 9, 2024 18:23
@thephez thephez marked this pull request as draft October 9, 2024 18:24
@thephez thephez marked this pull request as ready for review October 10, 2024 15:34
@thephez thephez merged commit f2ba14a into dashpay:21.0.0 Oct 10, 2024
@thephez thephez deleted the rtd-search-addon branch October 10, 2024 15:34
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.

1 participant