Closed WilliamJns closed 4 years ago
:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@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
CLIEnvironment