Commit Graph

1707 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
6db07840d1 Remove unused name. 2010-01-07 15:14:26 +01:00
Georg Brandl
db5845fccf Sharpen the thumbnails a bit. 2010-01-07 15:10:11 +01:00
Georg Brandl
009954e6a8 Fix long lines. 2010-01-07 14:35:30 +01:00
Georg Brandl
4b8b3fa631 Fix-up text. 2010-01-07 14:27:37 +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
c3782af6d0 Fix-up genindex templates. 2010-01-07 14:06:14 +01:00
Georg Brandl
f8ca88ebbd Fix bogus module prefix for template variables. 2010-01-07 13:59:06 +01:00
Georg Brandl
b6c31021d9 Remove jinja mention. 2010-01-07 12:28:02 +01:00
Georg Brandl
f81f8d93d1 Add copyright headers to HTML templates, stylesheets and JavaScript files. 2010-01-07 11:57:42 +01:00
Georg Brandl
a334204745 Add theme authors. 2010-01-07 11:49:48 +01:00
Georg Brandl
ee53111847 Remove all template content from the scrolls theme that was almost the same as the basic.
Apply a few real modifications to the basic templates.
2010-01-07 11:43:51 +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
6f1a3b5c3f Fix config value names. 2010-01-06 15:51:02 +01:00
Georg Brandl
86f0e75b75 Remove unused variable. 2010-01-06 15:43:31 +01:00
Georg Brandl
975e0175cc Restore compatibility with Pygments >= 1.2. 2010-01-06 15:42:13 +01:00
Georg Brandl
9e480add56 Remove unused statement. 2010-01-06 12:07:46 +01:00
Georg Brandl
4c47d2d8e2 #295: Fix escaping of hyperref targets in LaTeX output. 2010-01-06 11:48:25 +01:00
Georg Brandl
46a8290b95 Fix test, adding the new theme. 2010-01-03 22:24:30 +01:00
Georg Brandl
fc3113d847 Fix long line. 2010-01-03 22:22:33 +01:00
Georg Brandl
57c2b553ae Add preview images for nature theme. 2010-01-03 19:44:40 +01:00
Georg Brandl
f73cbe8afa merge with 0.6 2010-01-03 19:44:21 +01:00
Georg Brandl
443eb4e594 Add "nature" theme, as used by PIP and distribute. 2010-01-03 19:40:07 +01:00
Georg Brandl
a5f1df6946 Mark code blocks as Python. 2010-01-03 19:38:17 +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
276fc659b0 #162: add link to sphinx.pocoo.org/latest. 2010-01-03 15:36:51 +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
3b1fd1fe2c Add tests for todo extension. 2010-01-03 12:39:55 +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
6049dae619 Fix a traceback when the whole module name is stripped by a prefix in modindex_common_prefix. 2010-01-03 10:27:06 +01:00
Georg Brandl
436693cea6 linkcheck builder now shows the line number in console output. 2010-01-03 10:25:21 +01:00
Georg Brandl
4d2a052c5f Note about linkcheck builder. 2010-01-03 10:24:49 +01:00
Georg Brandl
ae4a1bbc59 Fix link. 2010-01-03 10:22:03 +01:00
Georg Brandl
34987eed86 merge with 0.6 2010-01-02 21:40:03 +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
c4cccb33ea #287: add better background color for <tt> in warnings and notes. 2010-01-02 21:20:25 +01:00
Georg Brandl
3c09b7ab8f Update check_sources; we now have 201x. 2010-01-02 21:11:23 +01:00
Georg Brandl
82fa1f3cfe Split off HTML tests from test_build. 2010-01-02 21:08:09 +01:00