Commit Graph

181 Commits

Author SHA1 Message Date
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
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