Mechanical addition of module docstrings.

This commit is contained in:
Ryan Williams
2009-07-04 21:57:10 -07:00
parent baecf0f7ea
commit 9e5eb8fc49
28 changed files with 182 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
# You can set these variables from the command line. # You can set these variables from the command line.
SPHINXOPTS = SPHINXOPTS =
SPHINXBUILD = sphinx-build SPHINXBUILD = PYTHONPATH=../:$PYTHONPATH sphinx-build
PAPER = PAPER =
# Internal variables. # Internal variables.

View File

@@ -24,6 +24,10 @@ import sys, os
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage'] extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage']
# If this is True, '.. todo::' and '.. todolist::' produce output, else they produce
# nothing. The default is False.
todo_include_todos = True
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
@@ -173,7 +177,7 @@ htmlhelp_basename = 'Eventletdoc'
# (source start file, target name, title, author, documentclass [howto/manual]). # (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [ latex_documents = [
('index', 'Eventlet.tex', u'Eventlet Documentation', ('index', 'Eventlet.tex', u'Eventlet Documentation',
u'Donovan Preston, Denis Bilenko, Ryan Williams', 'manual'), u'<eventlet contributors>', 'manual'),
] ]
# The name of an image file (relative to this directory) to place at the top of # The name of an image file (relative to this directory) to place at the top of

View File

@@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive. contain the root `toctree` directive.
Welcome to Eventlet's documentation! Eventlet
==================================== ====================================
Contents: Contents:
@@ -11,6 +11,8 @@ Contents:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
modules.rst
Indices and tables Indices and tables
================== ==================

29
doc/modules.rst Normal file
View File

@@ -0,0 +1,29 @@
Module Reference
======================
.. toctree::
:maxdepth: 2
modules/api
modules/backdoor
modules/channel
modules/corolocal
modules/coros
modules/db_pool
modules/greenio
modules/greenlib
modules/httpc
modules/httpdate
modules/httpd
modules/jsonhttp
modules/logutil
modules/oldchannel
modules/pool
modules/pools
modules/processes
modules/proc
modules/saranwrap
modules/timer
modules/tpool
modules/util
modules/wsgi

6
doc/modules/api.rst Normal file
View File

@@ -0,0 +1,6 @@
Api
==================
.. automodule:: eventlet.api
:members:
:undoc-members:

6
doc/modules/backdoor.rst Normal file
View File

@@ -0,0 +1,6 @@
Backdoor
==================
.. automodule:: eventlet.backdoor
:members:
:undoc-members:

6
doc/modules/channel.rst Normal file
View File

@@ -0,0 +1,6 @@
Channel
==================
.. automodule:: eventlet.channel
:members:
:undoc-members:

View File

@@ -0,0 +1,6 @@
Corolocal
==================
.. automodule:: eventlet.corolocal
:members:
:undoc-members:

6
doc/modules/coros.rst Normal file
View File

@@ -0,0 +1,6 @@
Coros
==================
.. automodule:: eventlet.coros
:members:
:undoc-members:

6
doc/modules/db_pool.rst Normal file
View File

@@ -0,0 +1,6 @@
Db_pool
==================
.. automodule:: eventlet.db_pool
:members:
:undoc-members:

6
doc/modules/greenio.rst Normal file
View File

@@ -0,0 +1,6 @@
Greenio
==================
.. automodule:: eventlet.greenio
:members:
:undoc-members:

6
doc/modules/greenlib.rst Normal file
View File

@@ -0,0 +1,6 @@
Greenlib
==================
.. automodule:: eventlet.greenlib
:members:
:undoc-members:

6
doc/modules/httpc.rst Normal file
View File

@@ -0,0 +1,6 @@
Httpc
==================
.. automodule:: eventlet.httpc
:members:
:undoc-members:

6
doc/modules/httpd.rst Normal file
View File

@@ -0,0 +1,6 @@
Httpd
==================
.. automodule:: eventlet.httpd
:members:
:undoc-members:

6
doc/modules/httpdate.rst Normal file
View File

@@ -0,0 +1,6 @@
Httpdate
==================
.. automodule:: eventlet.httpdate
:members:
:undoc-members:

6
doc/modules/jsonhttp.rst Normal file
View File

@@ -0,0 +1,6 @@
Jsonhttp
==================
.. automodule:: eventlet.jsonhttp
:members:
:undoc-members:

6
doc/modules/logutil.rst Normal file
View File

@@ -0,0 +1,6 @@
Logutil
==================
.. automodule:: eventlet.logutil
:members:
:undoc-members:

View File

@@ -0,0 +1,6 @@
Oldchannel
==================
.. automodule:: eventlet.oldchannel
:members:
:undoc-members:

6
doc/modules/pool.rst Normal file
View File

@@ -0,0 +1,6 @@
Pool
==================
.. automodule:: eventlet.pool
:members:
:undoc-members:

6
doc/modules/pools.rst Normal file
View File

@@ -0,0 +1,6 @@
Pools
==================
.. automodule:: eventlet.pools
:members:
:undoc-members:

6
doc/modules/proc.rst Normal file
View File

@@ -0,0 +1,6 @@
Proc
==================
.. automodule:: eventlet.proc
:members:
:undoc-members:

View File

@@ -0,0 +1,6 @@
Processes
==================
.. automodule:: eventlet.processes
:members:
:undoc-members:

View File

@@ -0,0 +1,6 @@
Saranwrap
==================
.. automodule:: eventlet.saranwrap
:members:
:undoc-members:

6
doc/modules/template Normal file
View File

@@ -0,0 +1,6 @@
Module
==================
.. automodule:: modgool
:members:
:undoc-members:

6
doc/modules/timer.rst Normal file
View File

@@ -0,0 +1,6 @@
Timer
==================
.. automodule:: eventlet.timer
:members:
:undoc-members:

6
doc/modules/tpool.rst Normal file
View File

@@ -0,0 +1,6 @@
Tpool
==================
.. automodule:: eventlet.tpool
:members:
:undoc-members:

6
doc/modules/util.rst Normal file
View File

@@ -0,0 +1,6 @@
Util
==================
.. automodule:: eventlet.util
:members:
:undoc-members:

6
doc/modules/wsgi.rst Normal file
View File

@@ -0,0 +1,6 @@
Wsgi
==================
.. automodule:: eventlet.wsgi
:members:
:undoc-members: