class FooController:
@wsme_pecan.wsexpose(Foo, wtype.text)
def get(self, param):
"""some docstring here"""
will cause this extension to generate malformed .rst documentation, which will look something like this:
GET /foo/
some docstring here. :type param: text
Simply converting the doc string to multi-line solves the problem. Of course, adding a proper doc string for each parameter is good, but the formatting shouldn't be broken without this.
A single line python doc string, eg:
will cause this extension to generate malformed .rst documentation, which will look something like this:
Simply converting the doc string to multi-line solves the problem. Of course, adding a proper doc string for each parameter is good, but the formatting shouldn't be broken without this.