]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Include __init__ methods in autodoc too
authorBen Darnell <ben@bendarnell.com>
Sat, 11 Jun 2011 21:53:28 +0000 (14:53 -0700)
committerBen Darnell <ben@bendarnell.com>
Sat, 11 Jun 2011 21:53:28 +0000 (14:53 -0700)
tornado/web.py
website/sphinx/conf.py

index 5a019e588ecaaf269b2bdfda5db3ac8ce95700d8..f8c3774fbf252ac10c3aec0be293ef09a0910954 100644 (file)
@@ -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.
         """
index 02eafe27b075f286ebe26b9def0cd8367c46151a..4710be6b9371714725635936cf6df27dac3ba801 100644 (file)
@@ -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...