Commit Graph

175 Commits

Author SHA1 Message Date
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
5cb64a7228 Apply static path exclusion patterns again.
Refactor exclusion stuff a bit, so that matchers only have to be compiled once.
2010-01-07 16:39:59 +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
368ecbb0fd Added new HTML theme `haiku`, inspired by the Haiku OS user guide. 2010-01-07 14:16:53 +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
c3c3f739af Remove the deprecated `exclude_dirs` config value. 2010-01-06 15:54:34 +01:00
Georg Brandl
46a8290b95 Fix test, adding the new theme. 2010-01-03 22:24:30 +01:00
Georg Brandl
09147448d4 #280: Autodoc can now document instance attributes assigned in `__init__` methods. 2010-01-03 13:59:30 +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
82fa1f3cfe Split off HTML tests from test_build. 2010-01-02 21:08:09 +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
47ccbccc62 merge with 0.6 2010-01-01 14:10:48 +01:00
Georg Brandl
f6a56192d1 Happy new year! 2010-01-01 14:09:13 +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
3d5ebe126f merge with trunk 2009-12-29 12:34:11 +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
f37dcb25da merge with epub fork 2009-12-28 19:00:48 +01:00
Roland Meister
706e12da65 Initial import from local repository 2009-12-28 17:09:09 +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
Georg Brandl
9e7c5e88c4 Fix some nits after pulling from http://bitbucket.org/howthebodyworks/sphinx/ and add changelog and authors entries. 2009-12-23 11:53:19 +01:00
Dan MacKinlay
d532fc2d9f sphinx now preserves lots of useful document metadata 2009-12-22 16:49:40 +11:00
Dan MacKinlay
55059117cb handle key ordering silliness in tests 2009-12-22 16:35:30 +11:00
Dan MacKinlay
87196a2523 working tests for docinfo metadata 2009-12-22 00:06:25 +11: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
f04ca65690 Fix "fixed" descriptor handling, and add tests. 2009-10-25 11:26:10 +01:00
Georg Brandl
692d46d788 Add agogo theme to test. 2009-11-16 14:55:53 +01:00
Georg Brandl
671fe3aa31 Add new builtin theme to test suite. 2009-07-05 12:22:01 +02:00
Georg Brandl
2df42c5cb3 merge with 0.6 2009-10-25 11:27:05 +01:00
Georg Brandl
0ed845462f #169: Added the `trim_doctest_flags` config value, which is true by default. 2009-06-16 21:53:53 +02:00
Georg Brandl
7d56682ad7 merge with 0.6 2009-06-15 17:33:56 +02:00
Georg Brandl
5e439cbbb5 #196: Add a warning if an extension module doesn't have a `setup()` function. 2009-06-15 17:31:29 +02: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
501adbdb6f #191: Don't escape the tilde in URIs in LaTeX. 2009-06-04 18:11:17 +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
8d96070a1a merge with 0.6 2009-05-31 19:50:29 +02:00
Georg Brandl
cfd0d8c42d Don't consider contents of source comments for the search index. 2009-05-31 19:47:42 +02:00
Georg Brandl
df75924602 merge with 0.6 2009-05-31 18:59:36 +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
b28de861fe merge with 0.6 2009-05-24 19:15:57 +02:00