From: Menno Smits Date: Fri, 1 Oct 2010 12:00:58 +0000 (+0100) Subject: Basic documentation skeleton done in place X-Git-Tag: 0.8~45 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=465f4b59e0cbcefab0340ca04b83fdc0e16af2eb;p=imapclient.git Basic documentation skeleton done in place --- diff --git a/doc/conf.py b/doc/conf.py index 7ff9b85..d18b3e8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -16,7 +16,7 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('..')) # -- General configuration ----------------------------------------------------- diff --git a/doc/index.rst b/doc/index.rst index a060707..94c99ac 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -3,13 +3,30 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -Welcome to IMAPClient's documentation! -====================================== - -Contents: +IMAPClient +========== .. toctree:: - :maxdepth: 2 + :maxdepth: 1 + +Introduction +------------ +XXX + +A Simple Example +---------------- +.. literalinclude:: ../imapclient/examples/example.py + +IMAPClient Class Reference +-------------------------- +.. autoclass:: imapclient.IMAPClient + :members: + + +More Examples +------------- +XXX + Indices and tables ==================