Include __init__ methods in autodoc too
This commit is contained in:
parent
8fd9413f40
commit
824c07f616
|
@ -1695,12 +1695,16 @@ class URLSpec(object):
|
|||
"""Creates a URLSpec.
|
||||
|
||||
Parameters:
|
||||
|
||||
pattern: Regular expression to be matched. Any groups in the regex
|
||||
will be passed in to the handler's get/post/etc methods as
|
||||
arguments.
|
||||
|
||||
handler_class: RequestHandler subclass to be invoked.
|
||||
|
||||
kwargs (optional): A dictionary of additional arguments to be passed
|
||||
to the handler's constructor.
|
||||
|
||||
name (optional): A name for this handler. Used by
|
||||
Application.reverse_url.
|
||||
"""
|
||||
|
|
|
@ -18,6 +18,7 @@ version = release = tornado.version
|
|||
extensions = ["sphinx.ext.autodoc", "sphinx_coverage"]
|
||||
|
||||
autodoc_member_order = "bysource"
|
||||
autoclass_content = "both"
|
||||
|
||||
coverage_skip_undoc_in_source = True
|
||||
# I wish this could go in a per-module file...
|
||||
|
|
Loading…
Reference in New Issue