onury / docma

A powerful tool to easily generate beautiful HTML documentation from JavaScript (JSDoc), Markdown and HTML files.
https://onury.io/docma
MIT License
335 stars 34 forks source link

navigate/search across all pages #86

Open trusktr opened 5 years ago

trusktr commented 5 years ago

If I place my classes in separate files, it doesn't look like I can search them all in the sidebar. Looks like I can only search/filter the content of the current page only.

What I want to do is have something like https://threejs.org/docs, where we can filter the sidebar which contains the classes for the whole library, but each class lives in a separate page.

I don't want to put all my classes on one long page.

Would it be possible to modify the Zebra template to do this?

onury commented 5 years ago

Sidebar is an outliner. Not a nav menu. It only searches (actually filters) the API of the current route. But searching in all documented APIs would be a nice feature.