Commit Graph

100 Commits

Author SHA1 Message Date
Georg Brandl
2a2a66a923 merge with trunk 2010-01-08 18:55:35 +01:00
Georg Brandl
c80f52dfbf Added `tab-width option to literalinclude` directive. 2010-01-08 18:36:58 +01:00
Georg Brandl
c227fc2720 merge with trunk (and remove debugging leftover from test layout.html template) 2010-01-07 21:51:23 +01:00
Georg Brandl
b1c937f0d9 merge with trunk (not working perfectly yet) 2010-01-07 21:41:03 +01:00
Georg Brandl
cbd75346fd merge with trunk 2010-01-07 19:17:45 +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
faeec5cbbb merge with trunk 2010-01-02 21:03:56 +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
f3a2854ba9 merge with trunk 2009-12-31 18:40:58 +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
5d0812fb91 merge with trunk 2009-12-28 19:49: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
Georg Brandl
18230a6060 merge with trunk 2009-12-23 12:13:40 +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
d12ad380f2 Finish renaming description units to object (description)s. 2009-10-27 19:58:40 +01:00
Georg Brandl
213eba0225 Automatically convert directive functions, and add a test for that. 2009-10-27 19:42:44 +01:00
Georg Brandl
0792ad7498 The `toctree() callable in templates now has a maxdepth`
keyword argument to control the depth of the generated tree.

Also add tests for that callable.
2009-09-09 15:56:52 +02:00
Georg Brandl
8f8cc0e270 Move HTML test into own module and add some C references. 2009-09-08 12:07:27 +02:00
Georg Brandl
efa4678cfd Add some XXX comments to places where work is needed. 2009-09-08 12:07:11 +02:00
Georg Brandl
fa7f8812cd More refactoring for language-independent domain support.
* Renamed "desc"ription unit to "object" wherever possible.
* Added standard x-ref types to a StandardDomain which is always consulted.
* Split domains module into a subpackage.
* Removed additional_xref_types in favor of new directive classes in StandardDomain.
* Implemented x-ref inventory version 2, for all object types.
* Added env.doc_read_data which is for temporary data stored while reading.
* Minimally updated extension tutorial.
* Started to implement changes to interactive search.
* Test suite passes again.
2009-09-07 22:52:26 +02:00
Georg Brandl
8d0c50c5b4 More block markup tests. 2009-08-09 23:12:01 +02:00
Georg Brandl
8ba78e88e7 More tests for inline markup. 2009-08-09 23:01:48 +02:00
Georg Brandl
2ac807a066 Add more tests for markup. 2009-08-09 22:44:41 +02:00
Georg Brandl
28263b96de More tests for inline markup. 2009-08-09 22:19:37 +02:00
Georg Brandl
94f0c051c5 Fix remaining uses of xfileref_role. 2009-08-09 20:27:36 +02:00
Georg Brandl
a1dd4695f3 First step of domain handling in environment. 2009-07-13 20:53:11 +02:00
Georg Brandl
c02b7149aa Move domain-specific code around a bit; builtin domains are now completely in sphinx.domains. Test suite does not pass yet. 2009-07-05 12:24:27 +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
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