| 1 |
========== |
| 2 |
Sphinx 1.1 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 1.1.3 (Mar 10, 2012) |
| 7 |
============================ |
| 8 |
|
| 9 |
* PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII |
| 10 |
characters correctly. |
| 11 |
|
| 12 |
* PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. |
| 13 |
|
| 14 |
* PR#34: Restore Python 2.4 compatibility. |
| 15 |
|
| 16 |
* PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to |
| 17 |
the document class. |
| 18 |
|
| 19 |
* #695: When the highlight language "python" is specified explicitly, |
| 20 |
do not try to parse the code to recognize non-Python snippets. |
| 21 |
|
| 22 |
* #859: Fix exception under certain circumstances when not finding |
| 23 |
appropriate objects to link to. |
| 24 |
|
| 25 |
* #860: Do not crash when encountering invalid doctest examples, just |
| 26 |
emit a warning. |
| 27 |
|
| 28 |
* #864: Fix crash with some settings of :confval:`modindex_common_prefix`. |
| 29 |
|
| 30 |
* #862: Fix handling of ``-D`` and ``-A`` options on Python 3. |
| 31 |
|
| 32 |
* #851: Recognize and warn about circular toctrees, instead of running |
| 33 |
into recursion errors. |
| 34 |
|
| 35 |
* #853: Restore compatibility with Docutils trunk. |
| 36 |
|
| 37 |
* #852: Fix HtmlHelp index entry links again. |
| 38 |
|
| 39 |
* #854: Fix inheritance_diagram raising attribute errors on builtins. |
| 40 |
|
| 41 |
* #832: Fix crashes when putting comments or lone terms in a glossary. |
| 42 |
|
| 43 |
* #834, #818: Fix HTML help language/encoding mapping for all Sphinx |
| 44 |
supported languages. |
| 45 |
|
| 46 |
* #844: Fix crashes when dealing with Unicode output in doctest extension. |
| 47 |
|
| 48 |
* #831: Provide ``--project`` flag in setup_command as advertised. |
| 49 |
|
| 50 |
* #875: Fix reading config files under Python 3. |
| 51 |
|
| 52 |
* #876: Fix quickstart test under Python 3. |
| 53 |
|
| 54 |
* #870: Fix spurious KeyErrors when removing documents. |
| 55 |
|
| 56 |
* #892: Fix single-HTML builder misbehaving with the master document in a |
| 57 |
subdirectory. |
| 58 |
|
| 59 |
* #873: Fix assertion errors with empty ``only`` directives. |
| 60 |
|
| 61 |
* #816: Fix encoding issues in the Qt help builder. |
| 62 |
|
| 63 |
|
| 64 |
Release 1.1.2 (Nov 1, 2011) -- 1.1.1 is a silly version number anyway! |
| 65 |
====================================================================== |
| 66 |
|
| 67 |
* #809: Include custom fixers in the source distribution. |
| 68 |
|
| 69 |
|
| 70 |
Release 1.1.1 (Nov 1, 2011) |
| 71 |
=========================== |
| 72 |
|
| 73 |
* #791: Fix QtHelp, DevHelp and HtmlHelp index entry links. |
| 74 |
|
| 75 |
* #792: Include "sphinx-apidoc" in the source distribution. |
| 76 |
|
| 77 |
* #797: Don't crash on a misformatted glossary. |
| 78 |
|
| 79 |
* #801: Make intersphinx work properly without SSL support. |
| 80 |
|
| 81 |
* #805: Make the ``Sphinx.add_index_to_domain`` method work correctly. |
| 82 |
|
| 83 |
* #780: Fix Python 2.5 compatibility. |
| 84 |
|
| 85 |
|
| 86 |
Release 1.1 (Oct 9, 2011) |
| 87 |
========================= |
| 88 |
|
| 89 |
Incompatible changes |
| 90 |
-------------------- |
| 91 |
|
| 92 |
* The ``py:module`` directive doesn't output its ``platform`` option |
| 93 |
value anymore. (It was the only thing that the directive did output, and |
| 94 |
therefore quite inconsistent.) |
| 95 |
|
| 96 |
* Removed support for old dependency versions; requirements are now: |
| 97 |
|
| 98 |
- Pygments >= 1.2 |
| 99 |
- Docutils >= 0.7 |
| 100 |
- Jinja2 >= 2.3 |
| 101 |
|
| 102 |
Features added |
| 103 |
-------------- |
| 104 |
|
| 105 |
* Added Python 3.x support. |
| 106 |
|
| 107 |
* New builders and subsystems: |
| 108 |
|
| 109 |
- Added a Texinfo builder. |
| 110 |
- Added i18n support for content, a ``gettext`` builder and related |
| 111 |
utilities. |
| 112 |
- Added the ``websupport`` library and builder. |
| 113 |
- #98: Added a ``sphinx-apidoc`` script that autogenerates a hierarchy |
| 114 |
of source files containing autodoc directives to document modules |
| 115 |
and packages. |
| 116 |
- #273: Add an API for adding full-text search support for languages |
| 117 |
other than English. Add support for Japanese. |
| 118 |
|
| 119 |
* Markup: |
| 120 |
|
| 121 |
- #138: Added an :rst:role:`index` role, to make inline index entries. |
| 122 |
- #454: Added more index markup capabilities: marking see/seealso entries, |
| 123 |
and main entries for a given key. |
| 124 |
- #460: Allowed limiting the depth of section numbers for HTML using the |
| 125 |
:rst:dir:`toctree`\'s ``numbered`` option. |
| 126 |
- #586: Implemented improved :rst:dir:`glossary` markup which allows |
| 127 |
multiple terms per definition. |
| 128 |
- #478: Added ``py:decorator`` directive to describe decorators. |
| 129 |
- C++ domain now supports array definitions. |
| 130 |
- C++ domain now supports doc fields (``:param x:`` inside directives). |
| 131 |
- Section headings in :rst:dir:`only` directives are now correctly |
| 132 |
handled. |
| 133 |
- Added ``emphasize-lines`` option to source code directives. |
| 134 |
- #678: C++ domain now supports superclasses. |
| 135 |
|
| 136 |
* HTML builder: |
| 137 |
|
| 138 |
- Added ``pyramid`` theme. |
| 139 |
- #559: ``html_add_permalinks`` is now a string giving the |
| 140 |
text to display in permalinks. |
| 141 |
- #259: HTML table rows now have even/odd CSS classes to enable |
| 142 |
"Zebra styling". |
| 143 |
- #554: Add theme option ``sidebarwidth`` to the basic theme. |
| 144 |
|
| 145 |
* Other builders: |
| 146 |
|
| 147 |
- #516: Added new value of the :confval:`latex_show_urls` option to |
| 148 |
show the URLs in footnotes. |
| 149 |
- #209: Added :confval:`text_newlines` and :confval:`text_sectionchars` |
| 150 |
config values. |
| 151 |
- Added :confval:`man_show_urls` config value. |
| 152 |
- #472: linkcheck builder: Check links in parallel, use HTTP HEAD |
| 153 |
requests and allow configuring the timeout. New config values: |
| 154 |
:confval:`linkcheck_timeout` and :confval:`linkcheck_workers`. |
| 155 |
- #521: Added :confval:`linkcheck_ignore` config value. |
| 156 |
- #28: Support row/colspans in tables in the LaTeX builder. |
| 157 |
|
| 158 |
* Configuration and extensibility: |
| 159 |
|
| 160 |
- #537: Added :confval:`nitpick_ignore`. |
| 161 |
- #306: Added :event:`env-get-outdated` event. |
| 162 |
- :meth:`!Application.add_stylesheet` now accepts full URIs. |
| 163 |
|
| 164 |
* Autodoc: |
| 165 |
|
| 166 |
- #564: Add :confval:`autodoc_docstring_signature`. When enabled (the |
| 167 |
default), autodoc retrieves the signature from the first line of the |
| 168 |
docstring, if it is found there. |
| 169 |
- #176: Provide ``private-members`` option for autodoc directives. |
| 170 |
- #520: Provide ``special-members`` option for autodoc directives. |
| 171 |
- #431: Doc comments for attributes can now be given on the same line |
| 172 |
as the assignment. |
| 173 |
- #437: autodoc now shows values of class data attributes. |
| 174 |
- autodoc now supports documenting the signatures of |
| 175 |
``functools.partial`` objects. |
| 176 |
|
| 177 |
* Other extensions: |
| 178 |
|
| 179 |
- Added the :mod:`sphinx.ext.mathjax` extension. |
| 180 |
- #443: Allow referencing external graphviz files. |
| 181 |
- Added ``inline`` option to graphviz directives, and fixed the |
| 182 |
default (block-style) in LaTeX output. |
| 183 |
- #590: Added ``caption`` option to graphviz directives. |
| 184 |
- #553: Added ``testcleanup`` blocks in the doctest extension. |
| 185 |
- #594: ``trim_doctest_flags`` now also removes ``<BLANKLINE>`` |
| 186 |
indicators. |
| 187 |
- #367: Added automatic exclusion of hidden members in inheritance |
| 188 |
diagrams, and an option to selectively enable it. |
| 189 |
- Added ``pngmath_add_tooltips``. |
| 190 |
- The math extension displaymath directives now support ``name`` in |
| 191 |
addition to ``label`` for giving the equation label, for compatibility |
| 192 |
with Docutils. |
| 193 |
|
| 194 |
* New locales: |
| 195 |
|
| 196 |
- #221: Added Swedish locale. |
| 197 |
- #526: Added Iranian locale. |
| 198 |
- #694: Added Latvian locale. |
| 199 |
- Added Nepali locale. |
| 200 |
- #714: Added Korean locale. |
| 201 |
- #766: Added Estonian locale. |
| 202 |
|
| 203 |
* Bugs fixed: |
| 204 |
|
| 205 |
- #778: Fix "hide search matches" link on pages linked by search. |
| 206 |
- Fix the source positions referenced by the "viewcode" extension. |