]> khamidou — GitHub mirrors - imapclient.git/commitdiff
Basic documentation skeleton done in place
authorMenno Smits <menno@freshfoo.com>
Fri, 1 Oct 2010 12:00:58 +0000 (13:00 +0100)
committerMenno Smits <menno@freshfoo.com>
Fri, 1 Oct 2010 12:00:58 +0000 (13:00 +0100)
doc/conf.py
doc/index.rst

index 7ff9b851e904fc09bf8dfc0393b86cf429bae4d3..d18b3e85b23d89cba3f7711d0b5b5f58b6b19786 100644 (file)
@@ -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 -----------------------------------------------------
 
index a060707352b92ca18d1abc69bda3a41a955460b0..94c99ac54c7bd68982948551ca67701654dfc555 100644 (file)
@@ -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
 ==================