context-labs / autodoc

Experimental toolkit for auto-generating codebase documentation using LLMs
MIT License
1.93k stars 113 forks source link

Add support for querying multiple autodoc indexes at the same time. #13

Open samheutmaker opened 1 year ago

samheutmaker commented 1 year ago

Currently Autodoc can only query a package in which it has been directly installed. It would like to support querying dependencies and peer packages that have been distributed with an Autodoc index.

Dependency packages fairly easy. For example, in my autodoc.config.json, I could specify that I want Autodoc into node_modules for packages that have an .autodoc folder and include them when query. This allows for composability of documentation across the dependency graph of any given project.

It's slightly more tough for peer packages. You would need some way to define peers and then have Autodoc pull in their .autodoc indexes from somewhere external.

slavakurilyak commented 1 year ago

Supporting multiple Autodoc indexes would be a useful feature! A potential solution for querying peer packages or multiple Autodoc indexes could be a cloud-based Autodoc database for a fee.