Commit Graph
437 Commits
Author SHA1 Message Date
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 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 2acec48b86 merge with 0.6 2010-01-06 15:51:30 +01:00
Georg Brandl 975e0175cc Restore compatibility with Pygments >= 1.2. 2010-01-06 15:42:13 +01:00
Georg Brandl 4c47d2d8e2 #295: Fix escaping of hyperref targets in LaTeX output. 2010-01-06 11:48:25 +01:00
Georg Brandl 443eb4e594 Add "nature" theme, as used by PIP and distribute. 2010-01-03 19:40:07 +01:00
Georg Brandl 7bafd3d553 merge with 0.6 2010-01-03 16:04:23 +01:00
Georg Brandl 9d15d3f654 #302: Fix links generated by the `:doc:` role for LaTeX output.
For that, record the source docname in an xfileref node in node['refdoc'].
The LaTeX builder creates one big toctree out of all documents, therefore
"fromdocname" in resolve_references refers to the wrong file.
2010-01-03 16:03:08 +01:00
Georg Brandl f3f4146312 #129: Wrap toctrees in a div tag with class `toctree-wrapper` in HTML output. 2010-01-03 15:29:41 +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 dcabce9f78 #286: collect todo nodes after the whole document has been read; this allows placing substitution references in todo items. 2010-01-03 12:36:21 +01:00
Georg Brandl 7b09f95cfa #294: do not ignore an explicit `today` config value in a LaTeX build. 2010-01-03 12:20:54 +01:00
Georg Brandl c8835d970b Added `alt option to graphviz` extension directives. 2010-01-03 12:02:31 +01:00
Georg Brandl 7e53338d9a merge with 0.6 2010-01-03 11:55:57 +01:00
Georg Brandl b9294de041 The `alt` text of inheritance diagrams is now much cleaner:
it's not the graphviz code but a description "Inheritance diagram of ...".
2010-01-03 11:47:46 +01:00
Georg Brandl 0b70a32efe Ignore images in section titles when generating link captions.
(Otherwise, the "alt" text leaks into the caption, and docutils automatically
assigns an alt text to images in substitutions.)
2010-01-03 11:42:15 +01:00
Georg Brandl d32bd22ae7 #309: The `graphviz` extension can now output SVG instead of PNG
images, controlled by the ``graphviz_output_format`` config value.
Patch by Henrique Bastos.
2010-01-02 21:38:27 +01:00
Georg Brandl ed78dc7ff0 merge with 0.6 2010-01-02 20:54:59 +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 32437e45bd merge with 0.6 2010-01-02 00:49:51 +01:00
Georg Brandl f7b0d4c9c3 #293: line blocks are styled properly in HTML output. 2010-01-02 00:47:57 +01:00
Georg Brandl 297b2c7663 #285: make the `locale_dirs` config value work again. 2010-01-02 00:39:55 +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 54fc87e1cf merge with 0.6 2009-12-29 22:32:04 +01:00
Georg Brandl 4c19161b5a Fix a bug preventing incremental rebuilds for the `dirhtml` builder -- the
target file name wasn't determined portably between HTML builders.
2009-12-29 22:31:28 +01:00
Georg Brandl b6f9399961 Add change and author info for epub builder. 2009-12-28 19:08:32 +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 64c534b03b #292: Fix path to the search index for the `dirhtml` builder. 2009-12-24 13:06:34 +01:00
Georg Brandl 7698388835 Add issue number. 2009-12-23 12:00:37 +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
Georg Brandl 571ebbf42b Add news entry on Jython compatibility. 2009-11-10 22:43:59 +00:00
Georg Brandl b9253e348b #238: In autodoc, catch all errors that occur on module import,
not just ``ImportError``.
2009-11-08 22:37:29 +01:00
Georg Brandl dd500ce6fb Catch OSError in copyfile(); os.utime() raises that. 2009-11-08 16:21:02 +01:00
Georg Brandl 23a75e5e62 Expand news item. 2009-10-26 09:32:33 +01:00
Georg Brandl f04ca65690 Fix "fixed" descriptor handling, and add tests. 2009-10-25 11:26:10 +01:00
Georg Brandl 0899e017a9 Post-0.6.3 changes. 2009-09-04 00:14:18 +02:00
Georg Brandl aea14370d9 Prepare for 0.6.3 release 2009-09-04 00:06:12 +02:00
Georg Brandl eff2bdd515 Properly add C module filenames as dependencies in autodoc. 2009-09-03 22:00:10 +02:00
Georg Brandl 3cc52246b2 #253: Ignore graphviz directives without content instead of
raising an unhandled exception.
2009-09-03 18:15:55 +02:00
Georg Brandl 456abdefbe #241: Fix a crash building LaTeX output for documents that contain
a todolist directive.
2009-09-03 18:08:57 +02:00
Georg Brandl 3276bb42c8 #252: Make it easier to change the build dir in the Makefiles
generated by quickstart.
2009-09-03 17:53:47 +02:00
Georg Brandl 304255894f #220: Fix CSS so that displaymath really is centered. 2009-08-06 22:57:12 +02:00
Georg Brandl c32186282f #222: Allow the "Footnotes" header to be translated. 2009-08-06 22:48:14 +02:00