I’m working on an Electron project, and I can generate JSON for my code using JSDoc:
jsdoc -X > data.json
I want to use this JSON output to create a live, searchable documentation site similar to DevDocs. By that I mean:
Typing something like
get_should instantly filter and list all matching functions, classes, or variables.Users should be able to click a symbol and navigate to its detailed documentation.
The site should display which module or file each symbol belongs to.
Search and navigation should happen entirely on the client side, without page reloads.
I’m looking for guidance on:
How to use JSON generated from source code to build a documentation site with searchable, navigable content.
I’m happy to consider alternatives to JSDoc, and I’m also open to any existing tools or frameworks that can help me achieve this goal.