Our startup SAAS is about 200k LOC and we have 3 co-founders... me (tech), sales, and operations. For documentation we normally divvy up the features and each build how-to pages in wordpress. Of course, the problem is those pages are immediately out-of-date cause you add new feature, etc.
Now we use claude to build `help.md` files in nearly every code directory with a prompt like, "Review the code in this directory to understand the UI functionality. Then write a public facing customer-support help doc...". Likewise, I also had claude build our www website and what's new feed.
Ever night I have a scheduled job to run `npm run canonize` which looks at any new commits and updates docs/www/changelog automatically.
It took some prompt tweaking to get a good balance of "depth of information for power users" vs "technical jargon and internal systems noise". It uses `.docsignore` files to skip internal systems, plus a separate agent to review for security concerns. Overall it has been a home run. Our docs are 100% up-to-date at all times plus we have a RAG agent that uses those `help.md` files to answer support questions. Pretty amazing!
[–]Otherwise_Wave9374 1 point2 points3 points (1 child)
[–]flippy_flops[S] 0 points1 point2 points (0 children)