]> khamidou — GitHub mirrors - imapclient.git/commitdiff
small doc tweaks
authorMenno Smits <menno@freshfoo.com>
Sun, 5 Jun 2011 22:35:03 +0000 (23:35 +0100)
committerMenno Smits <menno@freshfoo.com>
Sun, 5 Jun 2011 22:35:03 +0000 (23:35 +0100)
doc-src/conf.py
doc-src/index.rst
imapclient/__init__.py
imapclient/imapclient.py

index f409021cbe00532ff2c068ddfa1f4e9fed9c7a7d..1c202c08e2f4bd379711e8d992856cce4e428dfe 100644 (file)
@@ -1,22 +1,12 @@
 # -*- coding: utf-8 -*-
 #
-# IMAPClient documentation build configuration file, created by
-# sphinx-quickstart on Fri Oct  1 12:26:06 2010.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
-import sys, os
+import sys
+from os import path
 
-# 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, path.abspath(path.join(path.dirname(__file__), '..')))
 
 import imapclient
 
@@ -43,7 +33,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'IMAPClient'
-copyright = u'2010, Menno Smits'
+copyright = u'2011, Menno Smits'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
index c0dc70679fccdbb6583cb34341828c10feae6398..5cacacb39ec2abe3c735440f2f90239a4bfbaab9 100644 (file)
@@ -5,11 +5,11 @@ IMAPClient
    :maxdepth: 1
 
 :Author: `Menno Smits <http://freshfoo.com>`_
-:Version: |release|
-:Date: 2011/06/05
+:Version: |version| / |release|
+:Date: |today|
 :Homepage: http://imapclient.freshfoo.com
 :Download: http://pypi.python.org/pypi/IMAPClient/
-:Documentation: http://freshfoo.com/projects/imapclient/docs/
+:Documentation: http://imapclient.readthedocs.org/
 :License: `New BSD License <http://en.wikipedia.org/wiki/BSD_licenses>`_
 :Support: `Mailing List <http://librelist.com/browser/imapclient/>`_
 
@@ -25,7 +25,7 @@ types. Exceptions are raised when problems occur (no error checking of
 return values is required).
 
 IMAPClient is straight forward it use, but it can be useful to have at
-least a general understanding of the IMAP protocol. `RFC3501
+least a general understanding of the IMAP protocol. `RFC 3501
 <http://www.faqs.org/rfcs/rfc3501.html>`_ explains IMAP in
 detail. Other RFCs also apply to various extensions to the base
 protocol. These are referred to in the documentation below where
@@ -117,7 +117,7 @@ Folder Name Encoding
 ~~~~~~~~~~~~~~~~~~~~
 Any method that takes a folder name will accept a standard string or a
 unicode string. Unicode strings will be transparently encoded using
-modified UTF-7 as specified by `RFC-3501 section 5.1.3
+modified UTF-7 as specified by `RFC 3501 section 5.1.3
 <http://tools.ietf.org/html/rfc3501#section-5.1.3>`_.  This allows for
 arbitrary unicode characters (eg. non-English characters) to be used
 in folder names.
index ace1bc9b7a951a6d7cc6ae6e7218fa6e7c5991c0..86bb0b7850c99dbe0e7ca563e89c804757e9f796 100644 (file)
@@ -2,7 +2,7 @@
 # Released subject to the New BSD License
 # Please see http://en.wikipedia.org/wiki/BSD_licenses
 
-__version__ = '0.8'
+__version__ = '0.8-dev'
 __author__ = 'Menno Smits <menno@freshfoo.com>'
 
 from imapclient import *
index e9933aeb058f928f9e9b2dfdb1b6aaa09e4a944c..69e40b03a1bd32e682df37c84d6692ee6c490209 100644 (file)
@@ -167,7 +167,7 @@ class IMAPClient(object):
         positionally or using attributes named *personal*, *other* and
         *shared*.
 
-        See `RFC-2342 <http://tools.ietf.org/html/rfc2342>`_ for more details.
+        See `RFC 2342 <http://tools.ietf.org/html/rfc2342>`_ for more details.
         """
         typ, data = self._imap.namespace()
         self._checkok('namespace', typ, data)
@@ -487,7 +487,7 @@ class IMAPClient(object):
         *charset* specifies the character set of the strings in the
         criteria. It defaults to US-ASCII.
 
-        See `RFC-3501 section 6.4.4 <http://tools.ietf.org/html/rfc3501#section-6.4.4>`_
+        See `RFC 3501 section 6.4.4 <http://tools.ietf.org/html/rfc3501#section-6.4.4>`_
         for more details.
         """
         if not criteria:
@@ -524,7 +524,7 @@ class IMAPClient(object):
             SUBJECT
 
         The *criteria* argument is as per search(). 
-        See `RFC-5256 <http://tools.ietf.org/html/rfc5256>`_ for full details.
+        See `RFC 5256 <http://tools.ietf.org/html/rfc5256>`_ for full details.
 
         Note that SORT is an extension to the IMAP4 standard so it may
         not be supported by all IMAP servers.