Skip to content

Commit 4fec6ae

Browse files
committed
Skeletal autogenerated reference documentation
1 parent b92e70d commit 4fec6ae

24 files changed

+153
-0
lines changed

website/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: sphinx
2+
sphinx:
3+
sphinx-build -b html -d sphinx/build/doctrees sphinx sphinx/build/html
4+
5+
clean:
6+
rm -rf sphinx/build

website/sphinx/auth.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.auth``
2+
======================
3+
4+
.. automodule:: tornado.auth

website/sphinx/autoreload.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.autoreload``
2+
======================
3+
4+
.. automodule:: tornado.autoreload

website/sphinx/conf.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Ensure we get the local copy of tornado instead of what's on the standard path
2+
import os
3+
import sys
4+
sys.path.insert(0, os.path.abspath("../.."))
5+
import tornado
6+
7+
print tornado.__file__
8+
9+
master_doc = "index"
10+
11+
project = "Tornado"
12+
copyright = "2011, Facebook"
13+
14+
import tornado
15+
version = release = tornado.version
16+
17+
extensions = ["sphinx.ext.autodoc"]
18+
19+
autodoc_member_order = "bysource"
20+
autodoc_default_flags = ["members", "undoc-members"]

website/sphinx/database.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.database``
2+
======================
3+
4+
.. automodule:: tornado.database

website/sphinx/escape.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.escape``
2+
======================
3+
4+
.. automodule:: tornado.escape

website/sphinx/httpclient.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.httpclient``
2+
======================
3+
4+
.. automodule:: tornado.httpclient

website/sphinx/httpserver.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.httpserver``
2+
======================
3+
4+
.. automodule:: tornado.httpserver

website/sphinx/httputil.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.httputil``
2+
======================
3+
4+
.. automodule:: tornado.httputil

website/sphinx/index.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Tornado API Reference
2+
=====================
3+
4+
Contents:
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
9+
webframework
10+
networking
11+
integration
12+
utilities
13+
14+
15+
16+
Indices and tables
17+
==================
18+
19+
* :ref:`genindex`
20+
* :ref:`modindex`
21+
* :ref:`search`

website/sphinx/integration.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Integration with other services
2+
===============================
3+
4+
.. toctree::
5+
6+
auth
7+
database
8+
websocket
9+
wsgi

website/sphinx/ioloop.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.ioloop``
2+
======================
3+
4+
.. automodule:: tornado.ioloop

website/sphinx/iostream.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.iostream``
2+
======================
3+
4+
.. automodule:: tornado.iostream

website/sphinx/locale.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.locale``
2+
======================
3+
4+
.. automodule:: tornado.locale

website/sphinx/networking.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Asynchronous networking
2+
=======================
3+
4+
.. toctree::
5+
6+
ioloop
7+
iostream
8+
httpclient

website/sphinx/options.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.options``
2+
======================
3+
4+
.. automodule:: tornado.options

website/sphinx/stack_context.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.stack_context``
2+
=========================
3+
4+
.. automodule:: tornado.stack_context

website/sphinx/template.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.template``
2+
======================
3+
4+
.. automodule:: tornado.template

website/sphinx/testing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.testing``
2+
======================
3+
4+
.. automodule:: tornado.testing

website/sphinx/utilities.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Utilities
2+
=========
3+
4+
.. toctree::
5+
6+
autoreload
7+
httputil
8+
options
9+
stack_context
10+
testing
11+

website/sphinx/web.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.web``
2+
===============
3+
4+
.. automodule:: tornado.web

website/sphinx/webframework.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Core web framework
2+
==================
3+
4+
.. toctree::
5+
6+
web
7+
httpserver
8+
template
9+
escape
10+
locale

website/sphinx/websocket.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.websocket``
2+
======================
3+
4+
.. automodule:: tornado.websocket

website/sphinx/wsgi.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``tornado.wsgi``
2+
======================
3+
4+
.. automodule:: tornado.wsgi

0 commit comments

Comments
 (0)