From 465f4b59e0cbcefab0340ca04b83fdc0e16af2eb Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Fri, 1 Oct 2010 13:00:58 +0100 Subject: [PATCH] Basic documentation skeleton done in place --- doc/conf.py | 2 +- doc/index.rst | 27 ++++++++++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) 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 ================== -- 2.43.0