I would actually suggest the opposite: keep documentation in a different repository so that it's easier to update at any time. Documentation almost always follows code, so when it's in the same repo, it's difficult to hold up a release because the docs aren't ready.
-
-
Replying to @propensive
I believe that having atomic commits that bind together production code, testing code and documentation (along with other necessary artifacts—e.g. deployment scripts) is the only way to keep documentation up to date. If the docs are outdated, they'll cause a bad user experience.
2 replies 0 retweets 0 likes -
Replying to @stefanobaghino
I think it would be nice, but too difficult to achieve. If a method is discovered to be buggy after release, there's no way to tell users that in the version of the documentation that's in that release. Documentation needs to evolve to be kept up-to-date...
4 replies 0 retweets 0 likes -
Replying to @propensive
Final point: if by policy you delay docs release, how are your users incentivized to keep up to date about your project (including it's bugs) with those.
1 reply 0 retweets 0 likes -
Replying to @stefanobaghino
It wouldn't be the policy to delay, so much as to avoid putting the pressure on having perfect docs at the point of release. It's trying to reduce the friction in writing documentation at any time.
1 reply 0 retweets 0 likes -
Replying to @propensive
You raised very good points. My concern, at the beginning, was finding a way to minimize the effort in enforcing the update of docs, as I believe they're a fantastic medium to minimize the friction to adoption and contribution. How would you deal with that?
1 reply 0 retweets 0 likes -
Replying to @stefanobaghino
Enforcing is harder (and hints at a need for a policy, as you suggest...) My goal is to make it easier to make contributions. For an OSS project, a separate docs repo can lower the barriers to contributing (think, closer to a wiki).
1 reply 0 retweets 0 likes -
Replying to @propensive @stefanobaghino
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.
1 reply 0 retweets 0 likes -
Replying to @propensive @stefanobaghino
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.
1 reply 0 retweets 0 likes -
Replying to @propensive
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?
2 replies 0 retweets 1 like
I should have clarified that the docs would be targeted against different versions of the code, but would themselves have evolving versions of their own...
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.