# 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 -----------------------------------------------------
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
==================