Changeset 260:25b202688949
- Timestamp:
- 06/06/11 22:12:57 (12 months ago)
- Author:
- Menno Smits <menno@…>
- Branch:
- default
- Message:
-
Rearranged documentation source and build output to more sensible locations
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r238
|
r260
|
|
| 6 | 6 | SPHINXBUILD = sphinx-build |
| 7 | 7 | PAPER = |
| 8 | | BUILDDIR = ../doc |
| | 8 | BUILDDIR = .. |
| 9 | 9 | |
| 10 | 10 | # Internal variables. |
-
|
r256
|
r260
|
|
| 7 | 7 | from os import path |
| 8 | 8 | |
| 9 | | sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..'))) |
| | 9 | sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..', '..'))) |
| 10 | 10 | |
| 11 | 11 | import imapclient |
| … |
… |
|
| 113 | 113 | # relative to this directory. They are copied after the builtin static files, |
| 114 | 114 | # so a file named "default.css" will overwrite the builtin "default.css". |
| 115 | | html_static_path = ['_static'] |
| | 115 | html_static_path = [] |
| 116 | 116 | |
| 117 | 117 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
-
|
r257
|
r260
|
|
| 42 | 42 | non-deleted messages in the INBOX folder. |
| 43 | 43 | |
| 44 | | .. literalinclude:: ../imapclient/examples/example.py |
| | 44 | .. literalinclude:: ../../imapclient/examples/example.py |
| 45 | 45 | |
| 46 | 46 | The output from this example could look something like this |
-
|
r238
|
r260
|
|
| 6 | 6 | set SPHINXBUILD=sphinx-build |
| 7 | 7 | ) |
| 8 | | set BUILDDIR=..\doc |
| | 8 | set BUILDDIR=.. |
| 9 | 9 | set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . |
| 10 | 10 | if NOT "%PAPER%" == "" ( |