Well, I’ve already volunteered for the book/manual, but I don’t want anything for it :-)
Lee
Nicolas, would this system be bi-directional?
As far as completion is concerned, having raw doc is fine because IDEs which are able to display doc are already parsing them. At least FlashDevelop only keeps raw doc in memory and parse it when displaying a tip.
I think the simpler solution works. I find that using php's doc pages is very helpful, with all the user discussion as a message board for each function. Tips and usage examples right there at each function, which never has to be synced anywhere.
On that same page, a button allows the user to update the source code documentation, which would just stuff it in the database, email the documentation maintainer, who approves or denies it, and changes the source file accordingly.
Imho, there aren't enough methods in the standard library to make a complex system worthwhile. After an initial rush of doc changes and manual updating of source code, maintenance would be small.
That's potentially a solution, but this way we still run the risk of the docs being behind the code, which is what we're trying to avoid.
I'd certainly like to think so :-). My supposition is that developers are more inclined to update inline documentation as they update classes and method signatures. Next would come the wiki. A separate doc on GitHub would come last, I'm sure :-)
There's no way to force a dev to maintain docs :-). Most lib changes occur as the dev requires them, so work comes before documenting. Ergo, documenting will update when the developer has time.
A separate doc on GitHub would come last, I'm sure :-)
Well having the following schema is quite easy :
code -> hxdoc <-> database
We could then think about having (code <- hxdoc) as well