I've refactored the useGenDocs custom hook into a regular ts function inside the prompts directory.
The new genDocs function is called inside DocsPage.tsx to generate the prompt for generating documentation from the project's context (graph, file structure, code).
I've refactored the
useGenDocs
custom hook into a regular ts function inside theprompts
directory. The newgenDocs
function is called insideDocsPage.tsx
to generate the prompt for generating documentation from the project's context (graph, file structure, code).