context-labs / autodoc

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

Failed to find `autodoc.config.json` file. (first time running doc index) #1

Closed shi-yan closed 1 year ago

shi-yan commented 1 year ago

running doc index for the first time gave:

Failed to find autodoc.config.json file. Are you in the right directory? [Error: ENOENT: no such file or directory, open './autodoc.config.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: './autodoc.config.json' }

samheutmaker commented 1 year ago

Hey sorry this project wasn't totally launched yet! You can fix your issue by running doc init before doc index. I'm about to push a change to do this automatically :)