Either commit to keeping documentation rigorously up to date, or save yourself the effort to write it. With code it's easy: keep the documentation in the same repository as your code and make documentation an integral part of the review process.
The docs repo could have much easier criteria on whether PRs are merged, and could have more owners with commit rights. With the Github online editor, it could take seconds to update the docs.
-
-
But I'm also imagining a world where there are tools which help with writing docs which target a range of different versions, all at once. The docs would need to be versioned against the sources.
-
Seems like something that can be achieved by having an atomic contribution containing code, tests and docs. ;) Of course this has to be applied flexibly, but I'm not sure if contribution should be this frictionless: would you accept new features without anything to document them?
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.