| 1 |
========== |
| 2 |
Sphinx 1.2 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 1.2.3 (released Sep 1, 2014) |
| 7 |
==================================== |
| 8 |
|
| 9 |
Features added |
| 10 |
-------------- |
| 11 |
|
| 12 |
* #1518: ``sphinx-apidoc`` command now has a ``--version`` option to show |
| 13 |
version information and exit |
| 14 |
* New locales: Hebrew, European Portuguese, Vietnamese. |
| 15 |
|
| 16 |
Bugs fixed |
| 17 |
---------- |
| 18 |
|
| 19 |
* #636: Keep straight single quotes in literal blocks in the LaTeX build. |
| 20 |
* #1419: Generated i18n sphinx.js files are missing message catalog entries |
| 21 |
from '.js_t' and '.html'. The issue was introduced from Sphinx 1.1 |
| 22 |
* #1363: Fix i18n: missing python domain's cross-references with currentmodule |
| 23 |
directive or currentclass directive. |
| 24 |
* #1444: autosummary does not create the description from attributes docstring. |
| 25 |
* #1457: In python3 environment, make linkcheck cause "Can't convert 'bytes' |
| 26 |
object to str implicitly" error when link target url has a hash part. |
| 27 |
Thanks to Jorge_C. |
| 28 |
* #1467: Exception on Python3 if nonexistent method is specified by automethod |
| 29 |
* #1441: autosummary can't handle nested classes correctly. |
| 30 |
* #1499: With non-callable ``setup`` in a conf.py, now sphinx-build emits |
| 31 |
a user-friendly error message. |
| 32 |
* #1502: In autodoc, fix display of parameter defaults containing backslashes. |
| 33 |
* #1226: autodoc, autosummary: importing setup.py by automodule will invoke |
| 34 |
setup process and execute ``sys.exit()``. Now Sphinx avoids SystemExit |
| 35 |
exception and emits warnings without unexpected termination. |
| 36 |
* #1503: py:function directive generate incorrectly signature when specifying |
| 37 |
a default parameter with an empty list ``[]``. Thanks to Geert Jansen. |
| 38 |
* #1508: Non-ASCII filename raise exception on make singlehtml, latex, man, |
| 39 |
texinfo and changes. |
| 40 |
* #1531: On Python3 environment, docutils.conf with 'source_link=true' in the |
| 41 |
general section cause type error. |
| 42 |
* PR#270, #1533: Non-ASCII docstring cause UnicodeDecodeError when uses with |
| 43 |
inheritance-diagram directive. Thanks to WAKAYAMA shirou. |
| 44 |
* PR#281, PR#282, #1509: TODO extension not compatible with websupport. Thanks |
| 45 |
to Takeshi Komiya. |
| 46 |
* #1477: gettext does not extract nodes.line in a table or list. |
| 47 |
* #1544: ``make text`` generates wrong table when it has empty table cells. |
| 48 |
* #1522: Footnotes from table get displayed twice in LaTeX. This problem has |
| 49 |
been appeared from Sphinx 1.2.1 by #949. |
| 50 |
* #508: Sphinx every time exit with zero when is invoked from setup.py command. |
| 51 |
ex. ``python setup.py build_sphinx -b doctest`` return zero even if doctest |
| 52 |
failed. |
| 53 |
|
| 54 |
Release 1.2.2 (released Mar 2, 2014) |
| 55 |
==================================== |
| 56 |
|
| 57 |
Bugs fixed |
| 58 |
---------- |
| 59 |
|
| 60 |
* PR#211: When checking for existence of the ``html_logo`` file, check |
| 61 |
the full relative path and not the basename. |
| 62 |
* PR#212: Fix traceback with autodoc and ``__init__`` methods without docstring. |
| 63 |
* PR#213: Fix a missing import in the setup command. |
| 64 |
* #1357: Option names documented by :rst:dir:`option` are now again allowed to |
| 65 |
not start with a dash or slash, and referencing them will work correctly. |
| 66 |
* #1358: Fix handling of image paths outside of the source directory when using |
| 67 |
the "wildcard" style reference. |
| 68 |
* #1374: Fix for autosummary generating overly-long summaries if first line |
| 69 |
doesn't end with a period. |
| 70 |
* #1383: Fix Python 2.5 compatibility of sphinx-apidoc. |
| 71 |
* #1391: Actually prevent using "pngmath" and "mathjax" extensions at the same |
| 72 |
time in sphinx-quickstart. |
| 73 |
* #1386: Fix bug preventing more than one theme being added by the entry point |
| 74 |
mechanism. |
| 75 |
* #1370: Ignore "toctree" nodes in text writer, instead of raising. |
| 76 |
* #1364: Fix 'make gettext' fails when the '.. todolist::' directive is present. |
| 77 |
* #1367: Fix a change of PR#96 that break sphinx.util.docfields.Field.make_field |
| 78 |
interface/behavior for ``item`` argument usage. |
| 79 |
|
| 80 |
Documentation |
| 81 |
------------- |
| 82 |
|
| 83 |
* Extended the :ref:`documentation about building extensions <dev-extensions>`. |
| 84 |
|
| 85 |
|
| 86 |
Release 1.2.1 (released Jan 19, 2014) |
| 87 |
===================================== |
| 88 |
|
| 89 |
Bugs fixed |
| 90 |
---------- |
| 91 |
|
| 92 |
* #1335: Fix autosummary template overloading with exclamation prefix like |
| 93 |
``{% extends "!autosummary/class.rst" %}`` cause infinite recursive function |
| 94 |
call. This was caused by PR#181. |
| 95 |
* #1337: Fix autodoc with ``autoclass_content="both"`` uses useless |
| 96 |
``object.__init__`` docstring when class does not have ``__init__``. |
| 97 |
This was caused by a change for #1138. |
| 98 |
* #1340: Can't search alphabetical words on the HTML quick search generated |
| 99 |
with language='ja'. |
| 100 |
* #1319: Do not crash if the ``html_logo`` file does not exist. |
| 101 |
* #603: Do not use the HTML-ized title for building the search index (that |
| 102 |
resulted in "literal" being found on every page with a literal in the |
| 103 |
title). |
| 104 |
* #751: Allow production lists longer than a page in LaTeX by using longtable. |
| 105 |
* #764: Always look for stopwords lowercased in JS search. |
| 106 |
* #814: autodoc: Guard against strange type objects that don't have |
| 107 |
``__bases__``. |
| 108 |
* #932: autodoc: Do not crash if ``__doc__`` is not a string. |
| 109 |
* #933: Do not crash if an :rst:role:`option` value is malformed (contains |
| 110 |
spaces but no option name). |
| 111 |
* #908: On Python 3, handle error messages from LaTeX correctly in the pngmath |
| 112 |
extension. |
| 113 |
* #943: In autosummary, recognize "first sentences" to pull from the docstring |
| 114 |
if they contain uppercase letters. |
| 115 |
* #923: Take the entire LaTeX document into account when caching |
| 116 |
pngmath-generated images. This rebuilds them correctly when |
| 117 |
``pngmath_latex_preamble`` changes. |
| 118 |
* #901: Emit a warning when using Docutils' new "math" markup without a Sphinx |
| 119 |
math extension active. |
| 120 |
* #845: In code blocks, when the selected lexer fails, display line numbers |
| 121 |
nevertheless if configured. |
| 122 |
* #929: Support parsed-literal blocks in LaTeX output correctly. |
| 123 |
* #949: Update the tabulary.sty packed with Sphinx. |
| 124 |
* #1050: Add anonymous labels into ``objects.inv`` to be referenced via |
| 125 |
:mod:`~sphinx.ext.intersphinx`. |
| 126 |
* #1095: Fix print-media stylesheet being included always in the "scrolls" |
| 127 |
theme. |
| 128 |
* #1085: Fix current classname not getting set if class description has |
| 129 |
``:noindex:`` set. |
| 130 |
* #1181: Report option errors in autodoc directives more gracefully. |
| 131 |
* #1155: Fix autodocumenting C-defined methods as attributes in Python 3. |
| 132 |
* #1233: Allow finding both Python classes and exceptions with the "class" and |
| 133 |
"exc" roles in intersphinx. |
| 134 |
* #1198: Allow "image" for the "figwidth" option of the :dudir:`figure` |
| 135 |
directive as documented by docutils. |
| 136 |
* #1152: Fix pycode parsing errors of Python 3 code by including two grammar |
| 137 |
versions for Python 2 and 3, and loading the appropriate version for the |
| 138 |
running Python version. |
| 139 |
* #1017: Be helpful and tell the user when the argument to :rst:dir:`option` |
| 140 |
does not match the required format. |
| 141 |
* #1345: Fix two bugs with ``nitpick_ignore``; now you don't have to |
| 142 |
remove the store environment for changes to have effect. |
| 143 |
* #1072: In the JS search, fix issues searching for upper-cased words by |
| 144 |
lowercasing words before stemming. |
| 145 |
* #1299: Make behavior of the :rst:dir:`math` directive more consistent and |
| 146 |
avoid producing empty environments in LaTeX output. |
| 147 |
* #1308: Strip HTML tags from the content of "raw" nodes before feeding it |
| 148 |
to the search indexer. |
| 149 |
* #1249: Fix duplicate LaTeX page numbering for manual documents. |
| 150 |
* #1292: In the linkchecker, retry HEAD requests when denied by HTTP 405. |
| 151 |
Also make the redirect code apparent and tweak the output a bit to be |
| 152 |
more obvious. |
| 153 |
* #1285: Avoid name clashes between C domain objects and section titles. |
| 154 |
* #848: Always take the newest code in incremental rebuilds with the |
| 155 |
:mod:`sphinx.ext.viewcode` extension. |
| 156 |
* #979, #1266: Fix exclude handling in ``sphinx-apidoc``. |
| 157 |
* #1302: Fix regression in :mod:`sphinx.ext.inheritance_diagram` when |
| 158 |
documenting classes that can't be pickled. |
| 159 |
* #1316: Remove hard-coded ``font-face`` resources from epub theme. |
| 160 |
* #1329: Fix traceback with empty translation msgstr in .po files. |
| 161 |
* #1300: Fix references not working in translated documents in some instances. |
| 162 |
* #1283: Fix a bug in the detection of changed files that would try to access |
| 163 |
doctrees of deleted documents. |
| 164 |
* #1330: Fix ``exclude_patterns`` behavior with subdirectories in the |
| 165 |
``html_static_path``. |
| 166 |
* #1323: Fix emitting empty ``<ul>`` tags in the HTML writer, which is not |
| 167 |
valid HTML. |
| 168 |
* #1147: Don't emit a sidebar search box in the "singlehtml" builder. |
| 169 |
|
| 170 |
Documentation |
| 171 |
------------- |
| 172 |
|
| 173 |
* #1325: Added a "Intersphinx" tutorial section. (:file:`doc/tutorial.rst`) |
| 174 |
|
| 175 |
|
| 176 |
Release 1.2 (released Dec 10, 2013) |
| 177 |
=================================== |
| 178 |
|
| 179 |
Features added |
| 180 |
-------------- |
| 181 |
|
| 182 |
* Added ``sphinx.version_info`` tuple for programmatic checking of the Sphinx |
| 183 |
version. |
| 184 |
|
| 185 |
Incompatible changes |
| 186 |
-------------------- |
| 187 |
|
| 188 |
* Removed the ``sphinx.ext.refcounting`` extension -- it is very specific to |
| 189 |
CPython and has no place in the main distribution. |
| 190 |
|
| 191 |
Bugs fixed |
| 192 |
---------- |
| 193 |
|
| 194 |
* Restore ``versionmodified`` CSS class for versionadded/changed and deprecated |
| 195 |
directives. |
| 196 |
|
| 197 |
* PR#181: Fix ``html_theme_path = ['.']`` is a trigger of rebuild all documents |
| 198 |
always (This change keeps the current "theme changes cause a rebuild" |
| 199 |
feature). |
| 200 |
|
| 201 |
* #1296: Fix invalid charset in HTML help generated HTML files for default |
| 202 |
locale. |
| 203 |
|
| 204 |
* PR#190: Fix gettext does not extract figure caption and rubric title inside |
| 205 |
other blocks. Thanks to Michael Schlenker. |
| 206 |
|
| 207 |
* PR#176: Make sure setup_command test can always import Sphinx. Thanks to |
| 208 |
Dmitry Shachnev. |
| 209 |
|
| 210 |
* #1311: Fix test_linkcode.test_html fails with C locale and Python 3. |
| 211 |
|
| 212 |
* #1269: Fix ResourceWarnings with Python 3.2 or later. |
| 213 |
|
| 214 |
* #1138: Fix: When ``autodoc_docstring_signature = True`` and |
| 215 |
``autoclass_content = 'init'`` or ``'both'``, __init__ line should be |
| 216 |
removed from class documentation. |
| 217 |
|
| 218 |
|
| 219 |
Release 1.2 beta3 (released Oct 3, 2013) |
| 220 |
======================================== |
| 221 |
|
| 222 |
Features added |
| 223 |
-------------- |
| 224 |
|
| 225 |
* The Sphinx error log files will now include a list of the loaded extensions |
| 226 |
for help in debugging. |
| 227 |
|
| 228 |
Incompatible changes |
| 229 |
-------------------- |
| 230 |
|
| 231 |
* PR#154: Remove "sphinx" prefix from LaTeX class name except 'sphinxmanual' |
| 232 |
and 'sphinxhowto'. Now you can use your custom document class without |
| 233 |
'sphinx' prefix. Thanks to Erik B. |
| 234 |
|
| 235 |
Bugs fixed |
| 236 |
---------- |
| 237 |
|
| 238 |
* #1265: Fix i18n: crash when translating a section name that is pointed to from |
| 239 |
a named target. |
| 240 |
* A wrong condition broke the search feature on first page that is usually |
| 241 |
index.rst. This issue was introduced in 1.2b1. |
| 242 |
* #703: When Sphinx can't decode filenames with non-ASCII characters, Sphinx now |
| 243 |
catches UnicodeError and will continue if possible instead of raising the |
| 244 |
exception. |
| 245 |
|
| 246 |
|
| 247 |
Release 1.2 beta2 (released Sep 17, 2013) |
| 248 |
========================================= |
| 249 |
|
| 250 |
Features added |
| 251 |
-------------- |
| 252 |
|
| 253 |
* ``apidoc`` now ignores "_private" modules by default, and has an option ``-P`` |
| 254 |
to include them. |
| 255 |
* ``apidoc`` now has an option to not generate headings for packages and |
| 256 |
modules, for the case that the module docstring already includes a reST |
| 257 |
heading. |
| 258 |
* PR#161: ``apidoc`` can now write each module to a standalone page instead of |
| 259 |
combining all modules in a package on one page. |
| 260 |
* Builders: rebuild i18n target document when catalog updated. |
| 261 |
* Support docutils.conf 'writers' and 'html4css1 writer' section in the HTML |
| 262 |
writer. The latex, manpage and texinfo writers also support their respective |
| 263 |
'writers' sections. |
| 264 |
* The new ``html_extra_path`` config value allows to specify directories |
| 265 |
with files that should be copied directly to the HTML output directory. |
| 266 |
* Autodoc directives for module data and attributes now support an |
| 267 |
``annotation`` option, so that the default display of the data/attribute |
| 268 |
value can be overridden. |
| 269 |
* PR#136: Autodoc directives now support an ``imported-members`` option to |
| 270 |
include members imported from different modules. |
| 271 |
* New locales: Macedonian, Sinhala, Indonesian. |
| 272 |
* Theme package collection by using setuptools plugin mechanism. |
| 273 |
|
| 274 |
Incompatible changes |
| 275 |
-------------------- |
| 276 |
|
| 277 |
* PR#144, #1182: Force timezone offset to LocalTimeZone on POT-Creation-Date |
| 278 |
that was generated by gettext builder. Thanks to masklinn and Jakub Wilk. |
| 279 |
|
| 280 |
Bugs fixed |
| 281 |
---------- |
| 282 |
|
| 283 |
* PR#132: Updated jQuery version to 1.8.3. |
| 284 |
* PR#141, #982: Avoid crash when writing PNG file using Python 3. Thanks to |
| 285 |
Marcin Wojdyr. |
| 286 |
* PR#145: In parallel builds, Sphinx drops second document file to write. |
| 287 |
Thanks to tychoish. |
| 288 |
* PR#151: Some styling updates to tables in LaTeX. |
| 289 |
* PR#153: The "extensions" config value can now be overridden. |
| 290 |
* PR#155: Added support for some C++11 function qualifiers. |
| 291 |
* Fix: 'make gettext' caused UnicodeDecodeError when templates contain utf-8 |
| 292 |
encoded strings. |
| 293 |
* #828: use inspect.getfullargspec() to be able to document functions with |
| 294 |
keyword-only arguments on Python 3. |
| 295 |
* #1090: Fix i18n: multiple cross references (term, ref, doc) in the same line |
| 296 |
return the same link. |
| 297 |
* #1157: Combination of 'globaltoc.html' and hidden toctree caused exception. |
| 298 |
* #1159: fix wrong generation of objects inventory for Python modules, and |
| 299 |
add a workaround in intersphinx to fix handling of affected inventories. |
| 300 |
* #1160: Citation target missing caused an AssertionError. |
| 301 |
* #1162, PR#139: singlehtml builder didn't copy images to _images/. |
| 302 |
* #1173: Adjust setup.py dependencies because Jinja2 2.7 discontinued |
| 303 |
compatibility with Python < 3.3 and Python < 2.6. Thanks to Alexander Dupuy. |
| 304 |
* #1185: Don't crash when a Python module has a wrong or no encoding declared, |
| 305 |
and non-ASCII characters are included. |
| 306 |
* #1188: sphinx-quickstart raises UnicodeEncodeError if "Project version" |
| 307 |
includes non-ASCII characters. |
| 308 |
* #1189: "Title underline is too short" WARNING is given when using fullwidth |
| 309 |
characters to "Project name" on quickstart. |
| 310 |
* #1190: Output TeX/texinfo/man filename has no basename (only extension) |
| 311 |
when using non-ASCII characters in the "Project name" on quickstart. |
| 312 |
* #1192: Fix escaping problem for hyperlinks in the manpage writer. |
| 313 |
* #1193: Fix i18n: multiple link references in the same line return the same |
| 314 |
link. |
| 315 |
* #1176: Fix i18n: footnote reference number missing for auto numbered named |
| 316 |
footnote and auto symbol footnote. |
| 317 |
* PR#146,#1172: Fix ZeroDivisionError in parallel builds. Thanks to tychoish. |
| 318 |
* #1204: Fix wrong generation of links to local intersphinx targets. |
| 319 |
* #1206: Fix i18n: gettext did not translate admonition directive's title. |
| 320 |
* #1232: Sphinx generated broken ePub files on Windows. |
| 321 |
* #1259: Guard the debug output call when emitting events; to prevent the |
| 322 |
repr() implementation of arbitrary objects causing build failures. |
| 323 |
* #1142: Fix NFC/NFD normalizing problem of rst filename on Mac OS X. |
| 324 |
* #1234: Ignoring the string consists only of white-space characters. |
| 325 |
|
| 326 |
|
| 327 |
Release 1.2 beta1 (released Mar 31, 2013) |
| 328 |
========================================= |
| 329 |
|
| 330 |
Incompatible changes |
| 331 |
-------------------- |
| 332 |
|
| 333 |
* Removed ``sphinx.util.compat.directive_dwim()`` and |
| 334 |
``sphinx.roles.xfileref_role()`` which were deprecated since version 1.0. |
| 335 |
* PR#122: the files given in ``latex_additional_files`` now override TeX |
| 336 |
files included by Sphinx, such as ``sphinx.sty``. |
| 337 |
* PR#124: the node generated by ``versionadded``, |
| 338 |
``versionchanged`` and ``deprecated`` directives now includes |
| 339 |
all added markup (such as "New in version X") as child nodes, and no |
| 340 |
additional text must be generated by writers. |
| 341 |
* PR#99: the :rst:dir:`seealso` directive now generates admonition nodes instead |
| 342 |
of the custom ``seealso`` node. |
| 343 |
|
| 344 |
Features added |
| 345 |
-------------- |
| 346 |
|
| 347 |
* Markup |
| 348 |
|
| 349 |
- The :rst:dir:`toctree` directive and the ``toctree()`` template function now |
| 350 |
have an ``includehidden`` option that includes hidden toctree entries (bugs |
| 351 |
#790 and #1047). A bug in the ``maxdepth`` option for the ``toctree()`` |
| 352 |
template function has been fixed (bug #1046). |
| 353 |
- PR#99: Strip down seealso directives to normal admonitions. This removes |
| 354 |
their unusual CSS classes (admonition-see-also), inconsistent LaTeX |
| 355 |
admonition title ("See Also" instead of "See also"), and spurious |
| 356 |
indentation in the text builder. |
| 357 |
|
| 358 |
* HTML builder |
| 359 |
|
| 360 |
- #783: Create a link to full size image if it is scaled with width or height. |
| 361 |
- #1067: Improve the ordering of the JavaScript search results: matches in |
| 362 |
titles come before matches in full text, and object results are better |
| 363 |
categorized. Also implement a pluggable search scorer. |
| 364 |
- #1053: The "rightsidebar" and "collapsiblesidebar" HTML theme options now |
| 365 |
work together. |
| 366 |
- Update to jQuery 1.7.1 and Underscore.js 1.3.1. |
| 367 |
|
| 368 |
* Texinfo builder |
| 369 |
|
| 370 |
- An "Index" node is no longer added when there are no entries. |
| 371 |
- "deffn" categories are no longer capitalized if they contain capital |
| 372 |
letters. |
| 373 |
- ``desc_annotation`` nodes are now rendered. |
| 374 |
- ``strong`` and ``emphasis`` nodes are now formatted like |
| 375 |
``literal``\s. The reason for this is because the standard Texinfo markup |
| 376 |
(``*strong*`` and ``_emphasis_``) resulted in confusing output due to the |
| 377 |
common usage of using these constructs for documenting parameter names. |
| 378 |
- Field lists formatting has been tweaked to better display |
| 379 |
"Info field lists". |
| 380 |
- ``system_message`` and ``problematic`` nodes are now formatted in a similar |
| 381 |
fashion as done by the text builder. |
| 382 |
- "en-dash" and "em-dash" conversion of hyphens is no longer performed in |
| 383 |
option directive signatures. |
| 384 |
- ``@ref`` is now used instead of ``@pxref`` for cross-references which |
| 385 |
prevents the word "see" from being added before the link (does not affect |
| 386 |
the Info output). |
| 387 |
- The ``@finalout`` command has been added for better TeX output. |
| 388 |
- ``transition`` nodes are now formatted using underscores ("_") instead of |
| 389 |
asterisks ("*"). |
| 390 |
- The default value for the ``paragraphindent`` has been changed from 2 to 0 |
| 391 |
meaning that paragraphs are no longer indented by default. |
| 392 |
- #1110: A new configuration value ``texinfo_no_detailmenu`` has been |
| 393 |
added for controlling whether a ``@detailmenu`` is added in the "Top" |
| 394 |
node's menu. |
| 395 |
- Detailed menus are no longer created except for the "Top" node. |
| 396 |
- Fixed an issue where duplicate domain indices would result in invalid |
| 397 |
output. |
| 398 |
|
| 399 |
* LaTeX builder: |
| 400 |
|
| 401 |
- PR#115: Add ``'transition'`` item in ``latex_elements`` for |
| 402 |
customizing how transitions are displayed. Thanks to Jeff Klukas. |
| 403 |
- PR#114: The LaTeX writer now includes the "cmap" package by default. The |
| 404 |
``'cmappkg'`` item in ``latex_elements`` can be used to control this. |
| 405 |
Thanks to Dmitry Shachnev. |
| 406 |
- The ``'fontpkg'`` item in ``latex_elements`` now defaults to ``''`` |
| 407 |
when the :confval:`language` uses the Cyrillic script. Suggested by Dmitry |
| 408 |
Shachnev. |
| 409 |
- The ``latex_documents``, ``texinfo_documents``, and |
| 410 |
``man_pages`` configuration values will be set to default values based |
| 411 |
on the :confval:`master_doc` if not explicitly set in :file:`conf.py`. |
| 412 |
Previously, if these values were not set, no output would be generated by |
| 413 |
their respective builders. |
| 414 |
|
| 415 |
* Internationalization: |
| 416 |
|
| 417 |
- Add i18n capabilities for custom templates. For example: The Sphinx |
| 418 |
reference documentation in doc directory provides a ``sphinx.pot`` file with |
| 419 |
message strings from ``doc/_templates/*.html`` when using ``make gettext``. |
| 420 |
|
| 421 |
- PR#61,#703: Add support for non-ASCII filename handling. |
| 422 |
|
| 423 |
* Other builders: |
| 424 |
|
| 425 |
- Added the Docutils-native XML and pseudo-XML builders. See |
| 426 |
:class:`~sphinx.builders.xml.XMLBuilder` and |
| 427 |
:class:`~sphinx.builders.xml.PseudoXMLBuilder`. |
| 428 |
- PR#45: The linkcheck builder now checks ``#anchor``\ s for existence. |
| 429 |
- PR#123, #1106: Add ``epub_use_index`` configuration value. If |
| 430 |
provided, it will be used instead of ``html_use_index`` for epub |
| 431 |
builder. |
| 432 |
- PR#126: Add ``epub_tocscope`` configuration value. The setting |
| 433 |
controls the generation of the epub toc. The user can now also include |
| 434 |
hidden toc entries. |
| 435 |
- PR#112: Add ``epub_show_urls`` configuration value. |
| 436 |
|
| 437 |
* Extensions: |
| 438 |
|
| 439 |
- PR#52: ``special_members`` flag to autodoc now behaves like ``members``. |
| 440 |
- PR#47: Added :mod:`sphinx.ext.linkcode` extension. |
| 441 |
- PR#25: In inheritance diagrams, the first line of the class docstring |
| 442 |
is now the tooltip for the class. |
| 443 |
|
| 444 |
* Command-line interfaces: |
| 445 |
|
| 446 |
- PR#75: Added ``--follow-links`` option to sphinx-apidoc. |
| 447 |
- #869: sphinx-build now has the option ``-T`` for printing the full |
| 448 |
traceback after an unhandled exception. |
| 449 |
- sphinx-build now supports the standard ``--help`` and ``--version`` options. |
| 450 |
- sphinx-build now provides more specific error messages when called with |
| 451 |
invalid options or arguments. |
| 452 |
- sphinx-build now has a verbose option ``-v`` which can be repeated for |
| 453 |
greater effect. A single occurrence provides a slightly more verbose output |
| 454 |
than normal. Two or more occurrences of this option provides more detailed |
| 455 |
output which may be useful for debugging. |
| 456 |
|
| 457 |
* Locales: |
| 458 |
|
| 459 |
- PR#74: Fix some Russian translation. |
| 460 |
- PR#54: Added Norwegian bokmaal translation. |
| 461 |
- PR#35: Added Slovak translation. |
| 462 |
- PR#28: Added Hungarian translation. |
| 463 |
- #1113: Add Hebrew locale. |
| 464 |
- #1097: Add Basque locale. |
| 465 |
- #1037: Fix typos in Polish translation. Thanks to Jakub Wilk. |
| 466 |
- #1012: Update Estonian translation. |
| 467 |
|
| 468 |
* Optimizations: |
| 469 |
|
| 470 |
- Speed up building the search index by caching the results of the word |
| 471 |
stemming routines. Saves about 20 seconds when building the Python |
| 472 |
documentation. |
| 473 |
- PR#108: Add experimental support for parallel building with a new |
| 474 |
:option:`sphinx-build -j` option. |
| 475 |
|
| 476 |
Documentation |
| 477 |
------------- |
| 478 |
|
| 479 |
* PR#88: Added the "Sphinx Developer's Guide" (:file:`doc/devguide.rst`) |
| 480 |
which outlines the basic development process of the Sphinx project. |
| 481 |
* Added a detailed "Installing Sphinx" document (:file:`doc/install.rst`). |
| 482 |
|
| 483 |
Bugs fixed |
| 484 |
---------- |
| 485 |
|
| 486 |
* PR#124: Fix paragraphs in versionmodified are ignored when it has no |
| 487 |
dangling paragraphs. Fix wrong html output (nested ``<p>`` tag). Fix |
| 488 |
versionmodified is not translatable. Thanks to Nozomu Kaneko. |
| 489 |
* PR#111: Respect add_autodoc_attrgetter() even when inherited-members is set. |
| 490 |
Thanks to A. Jesse Jiryu Davis. |
| 491 |
* PR#97: Fix footnote handling in translated documents. |
| 492 |
* Fix text writer not handling visit_legend for figure directive contents. |
| 493 |
* Fix text builder not respecting wide/fullwidth characters: title underline |
| 494 |
width, table layout width and text wrap width. |
| 495 |
* Fix leading space in LaTeX table header cells. |
| 496 |
* #1132: Fix LaTeX table output for multi-row cells in the first column. |
| 497 |
* #1128: Fix Unicode errors when trying to format time strings with a |
| 498 |
non-standard locale. |
| 499 |
* #1127: Fix traceback when autodoc tries to tokenize a non-Python file. |
| 500 |
* #1126: Fix double-hyphen to en-dash conversion in wrong places such as |
| 501 |
command-line option names in LaTeX. |
| 502 |
* #1123: Allow whitespaces in filenames given to ``literalinclude``. |
| 503 |
* #1120: Added improvements about i18n for themes "basic", "haiku" and |
| 504 |
"scrolls" that Sphinx built-in. Thanks to Leonardo J. Caballero G. |
| 505 |
* #1118: Updated Spanish translation. Thanks to Leonardo J. Caballero G. |
| 506 |
* #1117: Handle .pyx files in sphinx-apidoc. |
| 507 |
* #1112: Avoid duplicate download files when referenced from documents in |
| 508 |
different ways (absolute/relative). |
| 509 |
* #1111: Fix failure to find uppercase words in search when |
| 510 |
``html_search_language`` is 'ja'. Thanks to Tomo Saito. |
| 511 |
* #1108: The text writer now correctly numbers enumerated lists with |
| 512 |
non-default start values (based on patch by Ewan Edwards). |
| 513 |
* #1102: Support multi-context "with" statements in autodoc. |
| 514 |
* #1090: Fix gettext not extracting glossary terms. |
| 515 |
* #1074: Add environment version info to the generated search index to avoid |
| 516 |
compatibility issues with old builds. |
| 517 |
* #1070: Avoid un-pickling issues when running Python 3 and the saved |
| 518 |
environment was created under Python 2. |
| 519 |
* #1069: Fixed error caused when autodoc would try to format signatures of |
| 520 |
"partial" functions without keyword arguments (patch by Artur Gaspar). |
| 521 |
* #1062: sphinx.ext.autodoc use __init__ method signature for class signature. |
| 522 |
* #1055: Fix web support with relative path to source directory. |
| 523 |
* #1043: Fix sphinx-quickstart asking again for yes/no questions because |
| 524 |
``input()`` returns values with an extra '\r' on Python 3.2.0 + |
| 525 |
Windows. Thanks to Régis Décamps. |
| 526 |
* #1041: Fix failure of the cpp domain parser to parse a const type with a |
| 527 |
modifier. |
| 528 |
* #1038: Fix failure of the cpp domain parser to parse C+11 "static constexpr" |
| 529 |
declarations. Thanks to Jakub Wilk. |
| 530 |
* #1029: Fix intersphinx_mapping values not being stable if the mapping has |
| 531 |
plural key/value set with Python 3.3. |
| 532 |
* #1028: Fix line block output in the text builder. |
| 533 |
* #1024: Improve Makefile/make.bat error message if Sphinx is not found. Thanks |
| 534 |
to Anatoly Techtonik. |
| 535 |
* #1018: Fix "container" directive handling in the text builder. |
| 536 |
* #1015: Stop overriding jQuery contains() in the JavaScript. |
| 537 |
* #1010: Make pngmath images transparent by default; IE7+ should handle it. |
| 538 |
* #1008: Fix test failures with Python 3.3. |
| 539 |
* #995: Fix table-of-contents and page numbering for the LaTeX "howto" class. |
| 540 |
* #976: Fix gettext does not extract index entries. |
| 541 |
* PR#72: #975: Fix gettext not extracting definition terms before Docutils 0.10. |
| 542 |
* #961: Fix LaTeX output for triple quotes in code snippets. |
| 543 |
* #958: Do not preserve ``environment.pickle`` after a failed build. |
| 544 |
* #955: Fix i18n transformation. |
| 545 |
* #940: Fix gettext does not extract figure caption. |
| 546 |
* #920: Fix PIL packaging issue that allowed to import ``Image`` without PIL |
| 547 |
namespace. Thanks to Marc Schlaich. |
| 548 |
* #723: Fix the search function on local files in WebKit based browsers. |
| 549 |
* #440: Fix coarse timestamp resolution in some filesystem generating a wrong |
| 550 |
list of outdated files. |