Commit Graph
100 Commits
Author SHA1 Message Date
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 03b9d79b34 Fix compatibility with blocks in the old sidebar scheme: blocks cannot be used in included templates. Deprecate the blocks accordingly. 2010-01-07 21:49:31 +01:00
Georg Brandl b1c937f0d9 merge with trunk (not working perfectly yet) 2010-01-07 21:41:03 +01:00
Georg Brandl 5e17487b74 merge with trunk 2010-01-07 19:19:58 +01:00
Georg Brandl cbd75346fd merge with trunk 2010-01-07 19:17:45 +01:00
Georg Brandl a43738e47a merge with trunk 2010-01-07 19:07:50 +01:00
Georg Brandl 75be813edc Unify logo and favicon handling. 2010-01-07 18:07:22 +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 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 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 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 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 151fe5cdfb Make inventory dumping a separate method. 2010-01-03 19:30:32 +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 137e58462d Activate test that depends on docutils >= 0.5. 2010-01-02 21:16:07 +01:00
Georg Brandl 38e120848f Update copyrights. 2010-01-02 21:14:10 +01:00
Georg Brandl 3c09b7ab8f Update check_sources; we now have 201x. 2010-01-02 21:11:23 +01:00
Georg Brandl 5e6983b664 merge with trunk 2010-01-02 21:09:25 +01:00
Georg Brandl 82fa1f3cfe Split off HTML tests from test_build. 2010-01-02 21:08:09 +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 c9201f282e Add Bazaar. 2010-01-02 14:24:26 +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 2af4986e78 IE apparently does not like href=""; change this to href="#" which appears to work. 2010-01-02 00:30:42 +01:00
Georg Brandl 2e06fc6450 Add AGW. 2010-01-02 00:14:32 +01:00
Georg Brandl 0de312b96f Direct posting to sphinx-dev is not possible anymore. 2010-01-02 00:09:01 +01:00
Georg Brandl 0745637e69 Correct info about jsmath_path if given relative. 2010-01-01 23:54:45 +01:00
Georg Brandl e1e3c5bfb1 Add TOPS. 2010-01-01 23:43:27 +01:00
Georg Brandl f0241626a1 Add Blender. 2010-01-01 23:41:30 +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 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 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 b4ef4da181 Another try to fix docutils version differences. 2009-12-29 17:06:35 +01:00
Georg Brandl 51760a0fde Try fixing problems with docutils 0.4. 2009-12-29 12:48:48 +01:00
Georg Brandl e5561f9b1b Add cross-reference. 2009-12-29 12:41:35 +01:00
Georg Brandl 3d5ebe126f merge with trunk 2009-12-29 12:34:11 +01:00
Georg Brandl 24fb46226f Review of epub builder. Add a separate "epub_theme" config value for selecting a different theme. 2009-12-29 12:32:42 +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 7605e0a44d merge with 0.6 2009-12-28 19:40:29 +01:00
Georg Brandl 654bc580d0 Fix for commit 41cb9d297064. 2009-12-28 19:39:15 +01:00
Georg Brandl b6f9399961 Add change and author info for epub builder. 2009-12-28 19:08:32 +01:00
Georg Brandl 198013be93 Fix bug replacing 2 by its errno constant. 2009-12-28 19:03:36 +01:00
Georg Brandl f37dcb25da merge with epub fork 2009-12-28 19:00:48 +01:00
Georg Brandl 0238b8322d merge with 0.6 2009-12-24 13:32:16 +01:00
Georg Brandl 023b41b391 #296: fix copy-paste oversight. 2009-12-24 13:29:11 +01:00
Georg Brandl 88e54f951b #299: Fix the mangling of quotes in "include:: :literal:" blocks. 2009-12-24 13:19:07 +01:00