Comment 1 for bug 2056480

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Here is a branch to do this in the new Antora Lunr way: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp2056480-only-index-main-in-lunr / user/sandbergja/lp2056480-only-index-main-in-lunr

A test plan from the commit message:
* Build the docs using perl docs/generate_docs.pl --base-url=http://example.com
* Open docs/output/index.html in your browser
* Type a search into the search box
* Note that you only get results for latest, rather than getting duplicate results from multiple versions.
* Note that the file docs/output/search-index.js is now 3.3 MB, rather than the 5.53 MB of the current production file.

Thanks to Blake for catching this issue!