import sys
from os import path
-sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
+sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..', '..')))
import imapclient
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+html_static_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
server. It displays the message ID, size and IMAP flags of all
non-deleted messages in the INBOX folder.
-.. literalinclude:: ../imapclient/examples/example.py
+.. literalinclude:: ../../imapclient/examples/example.py
The output from this example could look something like this
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
-set BUILDDIR=..\doc
+set BUILDDIR=..
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%