Commit Graph

81 Commits

Author SHA1 Message Date
Georg Brandl
59c3a708a6 merge with 0.6 2010-02-07 23:42:54 +01:00
Georg Brandl
4688518d8d Make the `start-after and end-before options to the literalinclude` directive work correctly if not used together. 2010-01-30 18:49:42 +01:00
Georg Brandl
c80f52dfbf Added `tab-width option to literalinclude` directive. 2010-01-08 18:36:58 +01:00
Georg Brandl
2f09d24472 The `html_sidebars` config value can now contain patterns as keys, and the values can be lists that explicitly select which sidebar templates should be rendered.
That means that the builtin sidebar contents can be included only selectively.
2010-01-07 17:56:09 +01:00
Georg Brandl
c9345b33b2 `html_static_path` can now contain single file entries.
Exclusion of static path files is not yet implemented.

HG: Bitte gib eine Versions-Meldung ein. Zeilen beginnend mit 'HG:' werden entfernt.
HG: Leere Versionsmeldung wird das Übernehmen abbrechen.
HG: --
HG: Benutzer: Georg Brandl <georg@python.org>
HG: branch 'default'
HG: added tests/root/_static/excluded.css
HG: added tests/root/_static/subdir/foo.css
HG: added tests/root/templated.css_t
HG: Geändert CHANGES
HG: Geändert doc/config.rst
HG: Geändert sphinx/builders/html.py
HG: Geändert sphinx/util/__init__.py
HG: Geändert tests/root/_static/README
HG: Geändert tests/root/conf.py
HG: Geändert tests/test_build_html.py
2010-01-07 16:20:52 +01:00
Georg Brandl
ab7ac64e1a Add new universal config value `exclude_patterns`, with glob-style exclude patterns.
This makes the old ``unused_docs``, ``exclude_trees`` and ``exclude_dirnames`` obsolete.
2010-01-06 15:48:39 +01:00
Georg Brandl
268911eb47 merge with 0.6 2010-01-03 12:41:51 +01:00
Georg Brandl
3b1fd1fe2c Add tests for todo extension. 2010-01-03 12:39:55 +01:00
Georg Brandl
ed78dc7ff0 merge with 0.6 2010-01-02 20:54:59 +01:00
Georg Brandl
6b13a28c11 Make extlinks more flexible: use string substitution to build the full URL. 2010-01-02 20:51:22 +01:00
Georg Brandl
f4da14806c #310: support exception messages in the `testoutput blocks of the doctest` extension.
Also add minimal test cases for the doctest extension.
2010-01-02 14:59:27 +01:00
Georg Brandl
bf9c12a3e8 merge with 0.6 2009-12-31 09:49:12 +01:00
Georg Brandl
096725922a #303: `html_context values given on the command line via -A`
should not override other values given in conf.py.
2009-12-31 09:47:56 +01:00
Georg Brandl
613a4a02b7 merge with 0.6 2009-12-30 13:14:18 +01:00
Georg Brandl
93cca3d4ac #308: allow "double" as alias for "pair" in index entries. 2009-12-30 13:13:57 +01:00
Georg Brandl
ea97a6b181 merge with 0.6 2009-12-28 19:43:55 +01:00
Georg Brandl
b45ec23724 Remove option added in docutils 0.6. 2009-12-28 19:43:45 +01:00
Georg Brandl
0238b8322d merge with 0.6 2009-12-24 13:32:16 +01:00
Georg Brandl
88e54f951b #299: Fix the mangling of quotes in "include:: :literal:" blocks. 2009-12-24 13:19:07 +01:00
Dan MacKinlay
eef9ea3b73 only deal with metadata in the place sphinx expects it - at the head of the document 2009-12-21 23:43:06 +11:00
Dan MacKinlay
5484efed31 using test_environment as a test example, I get closer, but it turns out that I have no metadata at all where I expect it 2009-12-21 23:40:44 +11:00
Dan MacKinlay
353a265989 attempt at test suite number 1 - this one doesn't seem to generate any metadata 2009-12-21 23:24:33 +11:00
Georg Brandl
288af885c2 merge with 0.6 2009-06-04 18:47:43 +02:00
Georg Brandl
137db91d77 When highlighting Python code, ignore extra indentation before
trying to parse it as Python.
2009-06-04 18:21:26 +02:00
Georg Brandl
fb0791bdfc Added the `prepend and append` options to the
``literalinclude`` directive.
2009-06-04 17:57:58 +02:00
Georg Brandl
92eef1b2e5 Set the default encoding to `utf-8-sig` to handle files with a
UTF-8 BOM correctly.
2009-05-31 18:58:28 +02:00
Georg Brandl
224104724a #178: apply `add_function_parentheses` config value to C functions as promised. 2009-05-22 18:53:58 +02:00
Georg Brandl
b4365ad72b #173: Respect the docutils `title` directive. 2009-05-17 19:15:28 +02:00
Georg Brandl
5ea87fd6c4 Fix autosummary test suite. 2009-03-16 11:41:35 +01:00
Georg Brandl
9f12d678aa Fix test. 2009-03-15 19:55:48 +01:00
Georg Brandl
1861a9ec5d Add autosummary to tests. 2009-03-15 19:02:37 +01:00
Georg Brandl
51265dfe3f #114: Added an `abbr` role to markup abbreviations and acronyms. 2009-03-05 09:48:55 +01:00
Georg Brandl
fb511a015a Paths to literal include files and download files can now be absolute too. 2009-02-24 13:38:15 +01:00
Georg Brandl
7792e27030 #10: implement HTML section numbering. 2009-02-22 15:22:23 +01:00
Georg Brandl
bc9a351853 Fix the serializing and changes builders, and really test them. 2009-02-21 17:17:21 +01:00
Georg Brandl
7073a5bd2c The new `latex_additional_files` config value can be used to
copy files (that Sphinx doesn't copy automatically, e.g. if they
are referenced in custom LaTeX added in ``latex_elements``) to
the build directory.
2009-02-20 11:20:15 +01:00
Georg Brandl
4c81b055c8 Added an `only` directive that can selectively include text
based on enabled "tags".  Tags can be given on the command
line.  Also, the current builder output format (e.g. "html" or
"latex") is always a defined tag.
2009-02-19 21:56:34 +01:00
Georg Brandl
a06813c4ae Test add_description_unit in test suite. 2009-02-18 22:12:03 +01:00
Georg Brandl
6bfed75113 Add more stuff to the autodoc test document, and fix two bugs. 2009-02-18 21:14:14 +01:00
Georg Brandl
298ea6ea5b SVG images are now supported in HTML (via `<object> and <embed>` tags). 2009-02-18 00:52:12 +01:00
Georg Brandl
058001c831 Fix #68: invalid latex output for images with height set. 2008-12-08 08:52:55 +01:00
Georg Brandl
83dba8fc76 Fix #60: "smart" image inclusion in subdirs. 2008-12-08 08:44:18 +01:00
Georg Brandl
35a58e50ca Also fix invalid index entries for Latex output. 2008-11-30 21:06:07 +01:00
Georg Brandl
c3e13cfa9a Add theming test suite, fix a few bugs and doc problems. 2009-02-15 16:10:10 +01:00
Georg Brandl
1219e3e73a merge with main 2009-02-14 23:25:30 +01:00
Georg Brandl
fc7249e74a Add missing file. 2009-02-14 19:48:07 +01:00
Georg Brandl
06b32a712f Image paths can now be absolute (like `/images/foo.png`).
They are treated as relative to the top source directory.
2009-02-14 15:29:18 +01:00
Georg Brandl
26ae3f01aa Add a rst_epilog setting, usable for global substitutions. 2009-02-07 19:41:10 +01:00
Georg Brandl
d1e6119461 merge with trunk 2009-01-26 22:44:38 +01:00
Georg Brandl
f1e39097c6 Add a minimal test for external toctree links and fix a small bug found by it. 2009-01-26 22:04:29 +01:00