Can we have a search feature when taking out the HTML output?
It will be helpful to the end user in case of lengthy and complex documentation. It shouldn’t restrict to searching text in ToC. It should search everywhere. Probably not in the components which are ‘Initially hidden’.
If it is already there, then I’m not aware of it or couldn’t find in the user manual.
There are JavaScript APIs mentioned in “Custom JavaScript in HTML5 Output” section in the user manual. But I’m afraid that there is no API for search feature.
I think you should separate your project into multiple short projects, and create an index page to link to those project outputs. Your users can search in the index page to jump to appropriate section.