-
Notifications
You must be signed in to change notification settings - Fork 21
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
Search is broken with typedoc 0.17.4 #8
Comments
🎉 This issue has been resolved in version 1.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@WilliamJns, thanks for the PR. I ended up resolving this issue in a different way. I want to allow users to use this plugin with their own themes so instead of locking the plugin into the old way that TypeDoc generated search indexes (building them on the fly in the browser), I updated the plugin to dynamically detect the version of TypeDoc being used and use the new way (generating the index at doc build time) when the version is recent enough. |
Looks like search is broken again with current TypeDoc |
Can confirm, the issue occurs again with typedoc 0.20.36 and typedoc-plugin-pages 1.1.0 |
Thanks for this incredible library 👍
Search terms
Im using TypeDoc v0.17.3 with the latest version of the
typedoc-plugin-pages
in my project.It seems that the
typedoc-plugin-pages
plugin is only compatible with TypeDoc v0.16.x and when version TypeDoc v0.17.x is used, due to a change in the structure of the search file by TypeDoc team, this library will encounter an error during build time.I will present the solution that I have found to solve this problem in a new pull request.
Expected Behavior
Handel both v0.16.x and v0.17.x by checking if
search.json
is founded on thedocs/assets/js
path.Steps to reproduce the bug
typedoc.json
guides/pages.json
typedoc
CLIrm -rf docs && npm run typedoc
Environment
The text was updated successfully, but these errors were encountered: