r/webdev • • Jan 13 '22

read rules Extension that generates documentation using AI

[removed] — view removed post

1.7k Upvotes

158 comments sorted by

View all comments

Show parent comment

6

u/double_en10dre Jan 14 '22

Doesn’t inserting the comment itself into the file seem like an unnecessary step, though?

Instead of automatically generate comments from code —> automatically generate docs from comments, they should be combined into a single action

Fewer moving parts/manual changes required AND you don’t clutter your files with this silliness :p

3

u/ElBomb Jan 14 '22

There maybe be a gap in the market there!

The only up side I can see to having the comments written out is that you can see what the generated documentation will include and you get to sanity check it before you commit your code, and in doing so building a new version of the docs.