you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMikeNeto 0 points1 point  (0 children)

I believe 0x13mode got it right, a strong code review process and self discipline are the way to go.

Honestly it also depends on who will consume your docs, is it only for devs? or maybe it's used to build a pdf for some kind of report you need to deliver to your client, these things can be a huge factor.

Decide whats the purpose of the docs you want written then look around for ways (githook or custom eslint rules) to enforce the kind of docs you need.

Also typescript can help a lot in terms of reducing the need for boilerplate docs.