1) ok, i got the book, but 2 resources are better then one, people explain differently so it will help to have a second source
2.0) love the idea :) exactly my thought ...., also i would split the docstring into multiple sections: a) (short) description, b) explanations of input and output variables (epydoc syntax) c) unit-tests 2.1) i would extend the docstring wiki by an example/comments part below the wiki page that will not be merged with the code because e.g. a validator would be hard to understand with just a docstring On Feb 5, 6:04 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > 2) integrate the above with a small web2py app that turns web2py > > > docstrings into wiki pages. When users edit the wiki, the docstrings > > > get updated, and I get a patch. > > > Interesting thought. I'm slightly skeptical (about editing docstrings > > outside the context of the source code itself, and about doctests), but at > > the very least the underlying goal is great: a way to quickly edit > > docstrings without going through a formal patch process. > > The way it would work is that a program moves docstring from gluon to > wiki. People edit the wiki with versioning. I can review them and have > a mechanism to automatically put them back. > > I yet do not know how to implement the last step. It would help if I > could find example of code that automatically replaces some text ('a'- > > > > >'b') inside all docstrings. It would help me build the app. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.