]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Skeletal autogenerated reference documentation
authorBen Darnell <ben@bendarnell.com>
Thu, 9 Jun 2011 06:58:58 +0000 (23:58 -0700)
committerBen Darnell <ben@bendarnell.com>
Thu, 9 Jun 2011 06:58:58 +0000 (23:58 -0700)
24 files changed:
website/Makefile [new file with mode: 0644]
website/sphinx/auth.rst [new file with mode: 0644]
website/sphinx/autoreload.rst [new file with mode: 0644]
website/sphinx/conf.py [new file with mode: 0644]
website/sphinx/database.rst [new file with mode: 0644]
website/sphinx/escape.rst [new file with mode: 0644]
website/sphinx/httpclient.rst [new file with mode: 0644]
website/sphinx/httpserver.rst [new file with mode: 0644]
website/sphinx/httputil.rst [new file with mode: 0644]
website/sphinx/index.rst [new file with mode: 0644]
website/sphinx/integration.rst [new file with mode: 0644]
website/sphinx/ioloop.rst [new file with mode: 0644]
website/sphinx/iostream.rst [new file with mode: 0644]
website/sphinx/locale.rst [new file with mode: 0644]
website/sphinx/networking.rst [new file with mode: 0644]
website/sphinx/options.rst [new file with mode: 0644]
website/sphinx/stack_context.rst [new file with mode: 0644]
website/sphinx/template.rst [new file with mode: 0644]
website/sphinx/testing.rst [new file with mode: 0644]
website/sphinx/utilities.rst [new file with mode: 0644]
website/sphinx/web.rst [new file with mode: 0644]
website/sphinx/webframework.rst [new file with mode: 0644]
website/sphinx/websocket.rst [new file with mode: 0644]
website/sphinx/wsgi.rst [new file with mode: 0644]

diff --git a/website/Makefile b/website/Makefile
new file mode 100644 (file)
index 0000000..45215cf
--- /dev/null
@@ -0,0 +1,6 @@
+.PHONY: sphinx
+sphinx:
+       sphinx-build -b html -d sphinx/build/doctrees sphinx sphinx/build/html
+
+clean:
+       rm -rf sphinx/build
\ No newline at end of file
diff --git a/website/sphinx/auth.rst b/website/sphinx/auth.rst
new file mode 100644 (file)
index 0000000..f05fca6
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.auth``
+======================
+
+.. automodule:: tornado.auth
diff --git a/website/sphinx/autoreload.rst b/website/sphinx/autoreload.rst
new file mode 100644 (file)
index 0000000..cedb396
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.autoreload``
+======================
+
+.. automodule:: tornado.autoreload
diff --git a/website/sphinx/conf.py b/website/sphinx/conf.py
new file mode 100644 (file)
index 0000000..53addb1
--- /dev/null
@@ -0,0 +1,20 @@
+# Ensure we get the local copy of tornado instead of what's on the standard path
+import os
+import sys
+sys.path.insert(0, os.path.abspath("../.."))
+import tornado
+
+print tornado.__file__
+
+master_doc = "index"
+
+project = "Tornado"
+copyright = "2011, Facebook"
+
+import tornado
+version = release = tornado.version
+
+extensions = ["sphinx.ext.autodoc"]
+
+autodoc_member_order = "bysource"
+autodoc_default_flags = ["members", "undoc-members"]
diff --git a/website/sphinx/database.rst b/website/sphinx/database.rst
new file mode 100644 (file)
index 0000000..5ba77c0
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.database``
+======================
+
+.. automodule:: tornado.database
diff --git a/website/sphinx/escape.rst b/website/sphinx/escape.rst
new file mode 100644 (file)
index 0000000..0c35cf0
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.escape``
+======================
+
+.. automodule:: tornado.escape
diff --git a/website/sphinx/httpclient.rst b/website/sphinx/httpclient.rst
new file mode 100644 (file)
index 0000000..14eb643
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.httpclient``
+======================
+
+.. automodule:: tornado.httpclient
diff --git a/website/sphinx/httpserver.rst b/website/sphinx/httpserver.rst
new file mode 100644 (file)
index 0000000..85c2b1a
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.httpserver``
+======================
+
+.. automodule:: tornado.httpserver
diff --git a/website/sphinx/httputil.rst b/website/sphinx/httputil.rst
new file mode 100644 (file)
index 0000000..7cfef49
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.httputil``
+======================
+
+.. automodule:: tornado.httputil
diff --git a/website/sphinx/index.rst b/website/sphinx/index.rst
new file mode 100644 (file)
index 0000000..23f26d3
--- /dev/null
@@ -0,0 +1,21 @@
+Tornado API Reference
+=====================
+
+Contents:
+
+.. toctree::
+   :maxdepth: 2
+
+   webframework
+   networking
+   integration
+   utilities
+   
+   
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
diff --git a/website/sphinx/integration.rst b/website/sphinx/integration.rst
new file mode 100644 (file)
index 0000000..bf0f131
--- /dev/null
@@ -0,0 +1,9 @@
+Integration with other services
+===============================
+
+.. toctree::
+
+   auth
+   database
+   websocket
+   wsgi
diff --git a/website/sphinx/ioloop.rst b/website/sphinx/ioloop.rst
new file mode 100644 (file)
index 0000000..2cf69d9
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.ioloop``
+======================
+
+.. automodule:: tornado.ioloop
diff --git a/website/sphinx/iostream.rst b/website/sphinx/iostream.rst
new file mode 100644 (file)
index 0000000..e43671a
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.iostream``
+======================
+
+.. automodule:: tornado.iostream
diff --git a/website/sphinx/locale.rst b/website/sphinx/locale.rst
new file mode 100644 (file)
index 0000000..cb7ce77
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.locale``
+======================
+
+.. automodule:: tornado.locale
diff --git a/website/sphinx/networking.rst b/website/sphinx/networking.rst
new file mode 100644 (file)
index 0000000..e77622d
--- /dev/null
@@ -0,0 +1,8 @@
+Asynchronous networking
+=======================
+
+.. toctree::
+
+   ioloop
+   iostream
+   httpclient
diff --git a/website/sphinx/options.rst b/website/sphinx/options.rst
new file mode 100644 (file)
index 0000000..a6ce5a5
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.options``
+======================
+
+.. automodule:: tornado.options
diff --git a/website/sphinx/stack_context.rst b/website/sphinx/stack_context.rst
new file mode 100644 (file)
index 0000000..36a7de3
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.stack_context``
+=========================
+
+.. automodule:: tornado.stack_context
diff --git a/website/sphinx/template.rst b/website/sphinx/template.rst
new file mode 100644 (file)
index 0000000..34a8a4b
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.template``
+======================
+
+.. automodule:: tornado.template
diff --git a/website/sphinx/testing.rst b/website/sphinx/testing.rst
new file mode 100644 (file)
index 0000000..a01d143
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.testing``
+======================
+
+.. automodule:: tornado.testing
diff --git a/website/sphinx/utilities.rst b/website/sphinx/utilities.rst
new file mode 100644 (file)
index 0000000..89c9908
--- /dev/null
@@ -0,0 +1,11 @@
+Utilities
+=========
+
+.. toctree::
+
+   autoreload
+   httputil
+   options
+   stack_context
+   testing
+   
diff --git a/website/sphinx/web.rst b/website/sphinx/web.rst
new file mode 100644 (file)
index 0000000..be5eec9
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.web``
+===============
+
+.. automodule:: tornado.web
diff --git a/website/sphinx/webframework.rst b/website/sphinx/webframework.rst
new file mode 100644 (file)
index 0000000..d1dab0c
--- /dev/null
@@ -0,0 +1,10 @@
+Core web framework
+==================
+
+.. toctree::
+
+   web
+   httpserver
+   template
+   escape
+   locale
diff --git a/website/sphinx/websocket.rst b/website/sphinx/websocket.rst
new file mode 100644 (file)
index 0000000..f09078d
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.websocket``
+======================
+
+.. automodule:: tornado.websocket
diff --git a/website/sphinx/wsgi.rst b/website/sphinx/wsgi.rst
new file mode 100644 (file)
index 0000000..b893340
--- /dev/null
@@ -0,0 +1,4 @@
+``tornado.wsgi``
+======================
+
+.. automodule:: tornado.wsgi