context-labs / autodoc

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

Database can be shared? #35

Closed yhyu13 closed 1 year ago

yhyu13 commented 1 year ago

Maybe a stupid question. So all content generated by autodoc and all contents autodoc required for querying is stored under the .autodoc folder, right? No other hidden local cache, right? As long as my server update this folder to my remote repo, I am able to share indexed database so that other developers don't have to manually index again?

Thanks!

yhyu13 commented 1 year ago

A follow up question.

How does autodoc handle resursive .autodoc folder? For instance:

.autodoc
UE5/
UE5_game/
Fristparty/prioritory_plugin/.autodoc

Where UE5's auto doc is generated without Fristparty/prioritory_plugin being cloned. and Fristparty/prioritory_plugin's autodo is generated on its own.

samheutmaker commented 1 year ago

Yes your database can be shared. Other users who want to query your index will need to clone the repo and install autodoc globally via NPM.

Recursive indexes are not supported at this time.