| 1 |
========== |
| 2 |
Sphinx 1.3 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 1.3.6 (released Feb 29, 2016) |
| 7 |
===================================== |
| 8 |
|
| 9 |
Features added |
| 10 |
-------------- |
| 11 |
|
| 12 |
* #1873, #1876, #2278: Add ``page_source_suffix`` html context variable. This |
| 13 |
should be introduced with :confval:`!source_parsers` feature. Thanks for Eric |
| 14 |
Holscher. |
| 15 |
|
| 16 |
|
| 17 |
Bugs fixed |
| 18 |
---------- |
| 19 |
|
| 20 |
* #2265: Fix babel is used in spite of disabling it on ``latex_elements`` |
| 21 |
* #2295: Avoid mutating dictionary errors while enumerating members in autodoc |
| 22 |
with Python 3 |
| 23 |
* #2291: Fix pdflatex "Counter too large" error from footnotes inside tables of |
| 24 |
contents |
| 25 |
* #2292: Fix some footnotes disappear from LaTeX output |
| 26 |
* #2287: ``sphinx.transforms.Locale`` always uses rst parser. Sphinx i18n |
| 27 |
feature should support parsers that specified source_parsers. |
| 28 |
* #2290: Fix ``sphinx.ext.mathbase`` use of amsfonts may break user choice of |
| 29 |
math fonts |
| 30 |
* #2324: Print a hint how to increase the recursion limit when it is hit. |
| 31 |
* #1565, #2229: Revert new warning; the new warning will be triggered from |
| 32 |
version 1.4 on. |
| 33 |
* #2329: Refresh environment forcedly if source directory has changed. |
| 34 |
* #2019: Fix the domain objects in search result are not escaped |
| 35 |
|
| 36 |
Release 1.3.5 (released Jan 24, 2016) |
| 37 |
===================================== |
| 38 |
|
| 39 |
Bugs fixed |
| 40 |
---------- |
| 41 |
|
| 42 |
* Fix line numbers was not shown on warnings in LaTeX and texinfo builders |
| 43 |
* Fix filenames were not shown on warnings of citations |
| 44 |
* Fix line numbers was not shown on warnings in LaTeX and texinfo builders |
| 45 |
* Fix line numbers was not shown on warnings of indices |
| 46 |
* #2026: Fix LaTeX builder raises error if parsed-literal includes links |
| 47 |
* #2243: Ignore strange docstring types for classes, do not crash |
| 48 |
* #2247: Fix #2205 breaks make html for definition list with classifiers |
| 49 |
that contains regular-expression like string |
| 50 |
* #1565: Sphinx will now emit a warning that highlighting was skipped if the |
| 51 |
syntax is incorrect for ``code-block``, ``literalinclude`` and so on. |
| 52 |
* #2211: Fix paragraphs in table cell doesn't work in Latex output |
| 53 |
* #2253: ``:pyobject:`` option of ``literalinclude`` directive can't detect |
| 54 |
indented body block when the block starts with blank or comment lines. |
| 55 |
* Fix TOC is not shown when no ``:maxdepth:`` for toctrees (ref: #771) |
| 56 |
* Fix warning message for ``:numref:`` if target is in orphaned doc (ref: #2244) |
| 57 |
|
| 58 |
Release 1.3.4 (released Jan 12, 2016) |
| 59 |
===================================== |
| 60 |
|
| 61 |
Bugs fixed |
| 62 |
---------- |
| 63 |
|
| 64 |
* #2134: Fix figure caption with reference causes latex build error |
| 65 |
* #2094: Fix rubric with reference not working in Latex |
| 66 |
* #2147: Fix literalinclude code in latex does not break in pages |
| 67 |
* #1833: Fix email addresses is showed again if latex_show_urls is not ``None`` |
| 68 |
* #2176: sphinx.ext.graphviz: use <object> instead of <img> to embed svg |
| 69 |
* #967: Fix SVG inheritance diagram is not hyperlinked (clickable) |
| 70 |
* #1237: Fix footnotes not working in definition list in LaTeX |
| 71 |
* #2168: Fix raw directive does not work for text writer |
| 72 |
* #2171: Fix cannot linkcheck url with unicode |
| 73 |
* #2182: LaTeX: support image file names with more than 1 dots |
| 74 |
* #2189: Fix previous sibling link for first file in subdirectory uses last |
| 75 |
file, not intended previous from root toctree |
| 76 |
* #2003: Fix decode error under python2 (only) when ``make linkcheck`` is run |
| 77 |
* #2186: Fix LaTeX output of \mathbb in math |
| 78 |
* #1480, #2188: LaTeX: Support math in section titles |
| 79 |
* #2071: Fix same footnote in more than two section titles => LaTeX/PDF Bug |
| 80 |
* #2040: Fix UnicodeDecodeError in sphinx-apidoc when author contains non-ASCII |
| 81 |
characters |
| 82 |
* #2193: Fix shutil.SameFileError if source directory and destination directory |
| 83 |
are same |
| 84 |
* #2178: Fix unparsable C++ cross-reference when referencing a function with |
| 85 |
``:cpp:any:`` |
| 86 |
* #2206: Fix Sphinx latex doc build failed due to a footnotes |
| 87 |
* #2201: Fix wrong table caption for tables with over 30 rows |
| 88 |
* #2213: Set <blockquote> in the classic theme to fit with <p> |
| 89 |
* #1815: Fix linkcheck does not raise an exception if warniserror set to true |
| 90 |
and link is broken |
| 91 |
* #2197: Fix slightly cryptic error message for missing index.rst file |
| 92 |
* #1894: Unlisted phony targets in quickstart Makefile |
| 93 |
* #2125: Fix unifies behavior of collapsed fields (``GroupedField`` and |
| 94 |
``TypedField``) |
| 95 |
* #1408: Check latex_logo validity before copying |
| 96 |
* #771: Fix latex output doesn't set tocdepth |
| 97 |
* #1820: On Windows, console coloring is broken with colorama version 0.3.3. |
| 98 |
Now Sphinx use colorama>=0.3.5 to avoid this problem. |
| 99 |
* #2072: Fix footnotes in chapter-titles do not appear in PDF output |
| 100 |
* #1580: Fix paragraphs in longtable don't work in Latex output |
| 101 |
* #1366: Fix centered image not centered in latex |
| 102 |
* #1860: Fix man page using ``:samp:`` with braces - font doesn't reset |
| 103 |
* #1610: Sphinx crashes in Japanese indexing in some systems |
| 104 |
* Fix Sphinx crashes if mecab initialization failed |
| 105 |
* #2160: Fix broken TOC of PDFs if section includes an image |
| 106 |
* #2172: Fix dysfunctional admonition ``\py@lightbox`` in sphinx.sty. Thanks to |
| 107 |
jfbu. |
| 108 |
* #2198,#2205: ``make gettext`` generate broken msgid for definition lists. |
| 109 |
* #2062: Escape characters in doctests are treated incorrectly with Python 2. |
| 110 |
* #2225: Fix if the option does not begin with dash, linking is not performed |
| 111 |
* #2226: Fix math is not HTML-encoded when :nowrap: is given (jsmath, mathjax) |
| 112 |
* #1601, #2220: 'any' role breaks extended domains behavior. Affected extensions |
| 113 |
doesn't support resolve_any_xref and resolve_xref returns problematic node |
| 114 |
instead of ``None``. sphinxcontrib-httpdomain is one of them. |
| 115 |
* #2229: Fix no warning is given for unknown options |
| 116 |
|
| 117 |
Release 1.3.3 (released Dec 2, 2015) |
| 118 |
==================================== |
| 119 |
|
| 120 |
Bugs fixed |
| 121 |
---------- |
| 122 |
|
| 123 |
* #2177: Fix parallel hangs |
| 124 |
* #2012: Fix exception occurred if ``numfig_format`` is invalid |
| 125 |
* #2142: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js`` |
| 126 |
for source distribution on PyPI. |
| 127 |
* #2148: Error while building devhelp target with non-ASCII document. |
| 128 |
|
| 129 |
|
| 130 |
Release 1.3.2 (released Nov 29, 2015) |
| 131 |
===================================== |
| 132 |
|
| 133 |
Features added |
| 134 |
-------------- |
| 135 |
|
| 136 |
* #1935: Make "numfig_format" overridable in latex_elements. |
| 137 |
|
| 138 |
Bugs fixed |
| 139 |
---------- |
| 140 |
|
| 141 |
* #1976: Avoid "2.0" version of Babel because it doesn't work with Windows |
| 142 |
environment. |
| 143 |
* Add a "default.css" stylesheet (which imports "classic.css") for compatibility |
| 144 |
* #1788: graphviz extension raises exception when caption option is present. |
| 145 |
* #1789: ``:pyobject:`` option of ``literalinclude`` directive includes |
| 146 |
following lines after class definitions |
| 147 |
* #1790: ``literalinclude`` strips empty lines at the head and tail |
| 148 |
* #1802: load plugin themes automatically when theme.conf use it as 'inherit'. |
| 149 |
Thanks to Takayuki Hirai. |
| 150 |
* #1794: custom theme extended from ``alabaster`` or ``sphinx_rtd_theme`` |
| 151 |
can't find base theme. |
| 152 |
* #1834: compatibility for Docutils 0.13: handle_io_errors keyword argument for |
| 153 |
docutils.io.FileInput cause TypeError. |
| 154 |
* #1823: '.' as <module_path> for sphinx-apidoc cause an unfriendly error. Now |
| 155 |
'.' is converted to absolute path automatically. |
| 156 |
* Fix a crash when setting up extensions which do not support metadata. |
| 157 |
* #1784: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js`` |
| 158 |
* #1822, #1892: Fix regression for #1061. autosummary can't generate doc for |
| 159 |
imported members since Sphinx 1.3b3. Thanks to Eric Larson. |
| 160 |
* #1793, #1819: "see also" misses a linebreak in text output. Thanks to Takayuki |
| 161 |
Hirai. |
| 162 |
* #1780, #1866: "make text" shows "class" keyword twice. Thanks to Takayuki |
| 163 |
Hirai. |
| 164 |
* #1871: Fix for LaTeX output of tables with one column and multirows. |
| 165 |
* Work around the lack of the HTMLParserError exception in Python 3.5. |
| 166 |
* #1949: Use ``safe_getattr`` in the coverage builder to avoid aborting with |
| 167 |
descriptors that have custom behavior. |
| 168 |
* #1915: Do not generate smart quotes in doc field type annotations. |
| 169 |
* #1796: On py3, automated .mo building caused UnicodeDecodeError. |
| 170 |
* #1923: Use babel features only if the babel latex element is nonempty. |
| 171 |
* #1942: Fix a KeyError in websupport. |
| 172 |
* #1903: Fix strange id generation for glossary terms. |
| 173 |
* ``make text`` will crush if a definition list item has more than 1 classifiers |
| 174 |
as: ``term : classifier1 : classifier2``. |
| 175 |
* #1855: make gettext generates broken po file for definition lists with |
| 176 |
classifier. |
| 177 |
* #1869: Fix problems when dealing with files containing non-ASCII characters. |
| 178 |
Thanks to Marvin Schmidt. |
| 179 |
* #1798: Fix building LaTeX with references in titles. |
| 180 |
* #1725: On py2 environment, doctest with using non-ASCII characters causes |
| 181 |
``'ascii' codec can't decode byte`` exception. |
| 182 |
* #1540: Fix RuntimeError with circular referenced toctree |
| 183 |
* #1983: i18n translation feature breaks references which uses section name. |
| 184 |
* #1990: Use caption of toctree to title of \tableofcontents in LaTeX |
| 185 |
* #1987: Fix ampersand is ignored in ``:menuselection:`` and ``:guilabel:`` |
| 186 |
on LaTeX builder |
| 187 |
* #1994: More supporting non-standard parser (like recommonmark parser) for |
| 188 |
Translation and WebSupport feature. Now node.rawsource is fall backed to |
| 189 |
node.astext() during Docutils transforming. |
| 190 |
* #1989: "make blahblah" on Windows indicate help messages for sphinx-build |
| 191 |
every time. It was caused by wrong make.bat that generated by |
| 192 |
Sphinx 1.3.0/1.3.1. |
| 193 |
* On Py2 environment, conf.py that is generated by sphinx-quickstart should have |
| 194 |
u prefixed config value for 'version' and 'release'. |
| 195 |
* #2102: On Windows + Py3, using ``|today|`` and non-ASCII date format will |
| 196 |
raise UnicodeEncodeError. |
| 197 |
* #1974: UnboundLocalError: local variable 'domain' referenced before assignment |
| 198 |
when using ``any`` role and ``sphinx.ext.intersphinx`` in same time. |
| 199 |
* #2121: multiple words search doesn't find pages when words across on the page |
| 200 |
title and the page content. |
| 201 |
* #1884, #1885: plug-in html themes cannot inherit another plug-in theme. Thanks |
| 202 |
to Suzumizaki. |
| 203 |
* #1818: ``sphinx.ext.todo`` directive generates broken html class attribute as |
| 204 |
'admonition-' when :confval:`language` is specified with non-ASCII linguistic |
| 205 |
area like 'ru' or 'ja'. To fix this, now ``todo`` directive can use |
| 206 |
``:class:`` option. |
| 207 |
* #2140: Fix footnotes in table has broken in LaTeX |
| 208 |
* #2127: MecabBinder for html searching feature doesn't work with Python 3. |
| 209 |
Thanks to Tomoko Uchida. |
| 210 |
|
| 211 |
|
| 212 |
Release 1.3.1 (released Mar 17, 2015) |
| 213 |
===================================== |
| 214 |
|
| 215 |
Bugs fixed |
| 216 |
---------- |
| 217 |
|
| 218 |
* #1769: allows generating quickstart files/dirs for destination dir that |
| 219 |
doesn't overwrite existent files/dirs. Thanks to WAKAYAMA shirou. |
| 220 |
* #1773: sphinx-quickstart doesn't accept non-ASCII character as a option |
| 221 |
argument. |
| 222 |
* #1766: the message "least Python 2.6 to run" is at best misleading. |
| 223 |
* #1772: cross reference in docstrings like ``:param .write:`` breaks building. |
| 224 |
* #1770, #1774: ``literalinclude`` with empty file occurs exception. Thanks to |
| 225 |
Takayuki Hirai. |
| 226 |
* #1777: Sphinx 1.3 can't load extra theme. Thanks to tell-k. |
| 227 |
* #1776: ``source_suffix = ['.rst']`` cause unfriendly error on prior version. |
| 228 |
* #1771: automated .mo building doesn't work properly. |
| 229 |
* #1783: Autodoc: Python2 Allow unicode string in ``__all__``. |
| 230 |
Thanks to Jens Hedegaard Nielsen. |
| 231 |
* #1781: Setting ``html_domain_indices`` to a list raises a type check warnings. |
| 232 |
|
| 233 |
|
| 234 |
Release 1.3 (released Mar 10, 2015) |
| 235 |
=================================== |
| 236 |
|
| 237 |
Incompatible changes |
| 238 |
-------------------- |
| 239 |
|
| 240 |
* Roles ``ref``, ``term`` and ``menusel`` now don't generate :durole:`emphasis` |
| 241 |
nodes anymore. If you want to keep italic style, adapt your stylesheet. |
| 242 |
* Role ``numref`` uses ``%s`` as special character to indicate position of |
| 243 |
figure numbers instead ``#`` symbol. |
| 244 |
|
| 245 |
Features added |
| 246 |
-------------- |
| 247 |
|
| 248 |
* Add convenience directives and roles to the C++ domain: |
| 249 |
directive ``cpp:var`` as alias for ``cpp:member``, role ``:cpp:var`` as alias |
| 250 |
for ``:cpp:member``, and role ``any`` for cross-reference to any C++ |
| 251 |
declaraction. #1577, #1744 |
| 252 |
* The :confval:`source_suffix` config value can now be a list of multiple |
| 253 |
suffixes. |
| 254 |
* Add the ability to specify source parsers by source suffix with the |
| 255 |
:confval:`!source_parsers` config value. |
| 256 |
* #1675: A new builder, AppleHelpBuilder, has been added that builds Apple |
| 257 |
Help Books. |
| 258 |
|
| 259 |
Bugs fixed |
| 260 |
---------- |
| 261 |
|
| 262 |
* 1.3b3 change breaks a previous gettext output that contains duplicated |
| 263 |
msgid such as "foo bar" and "version changes in 1.3: foo bar". |
| 264 |
* #1745: latex builder cause maximum recursion depth exceeded when a |
| 265 |
footnote has a footnote mark itself. |
| 266 |
* #1748: SyntaxError in sphinx/ext/ifconfig.py with Python 2.6. |
| 267 |
* #1658, #1750: No link created (and warning given) if option does not |
| 268 |
begin with -, / or +. Thanks to Takayuki Hirai. |
| 269 |
* #1753: C++, added missing support for more complex declarations. |
| 270 |
* #1700: Add ``:caption:`` option for :rst:dir:`toctree`. |
| 271 |
* #1742: ``:name:`` option is provided for :rst:dir:`toctree`, |
| 272 |
:rst:dir:`code-block` and :rst:dir:`literalinclude` directives. |
| 273 |
* #1756: Incorrect section titles in search that was introduced from 1.3b3. |
| 274 |
* #1746: C++, fixed name lookup procedure, and added missing lookups in |
| 275 |
declarations. |
| 276 |
* #1765: C++, fix old id generation to use fully qualified names. |
| 277 |
|
| 278 |
Documentation |
| 279 |
------------- |
| 280 |
|
| 281 |
* #1651: Add ``vartype`` field description for python domain. |
| 282 |
|
| 283 |
|
| 284 |
Release 1.3b3 (released Feb 24, 2015) |
| 285 |
===================================== |
| 286 |
|
| 287 |
Incompatible changes |
| 288 |
-------------------- |
| 289 |
|
| 290 |
* Dependency requirement updates: Docutils 0.11, Pygments 2.0 |
| 291 |
* The ``gettext_enables`` config value has been renamed to |
| 292 |
``gettext_additional_targets``. |
| 293 |
* #1735: Use https://docs.python.org/ instead of ``http`` protocol. |
| 294 |
It was used for ``sphinx.ext.intersphinx`` and some documentation. |
| 295 |
|
| 296 |
Features added |
| 297 |
-------------- |
| 298 |
|
| 299 |
* #1346: Add new default theme; |
| 300 |
|
| 301 |
* Add '``alabaster``' theme. |
| 302 |
* Add '``sphinx_rtd_theme``' theme. |
| 303 |
* The 'default' html theme has been renamed to 'classic'. 'default' is still |
| 304 |
available, however it will emit notice a recommendation that using new |
| 305 |
'``alabaster``' theme. |
| 306 |
|
| 307 |
* Added ``highlight_options`` configuration value. |
| 308 |
* The ``language`` config value is now available in the HTML templates. |
| 309 |
* The ``env-updated`` event can now return a value, which is interpreted |
| 310 |
as an iterable of additional docnames that need to be rewritten. |
| 311 |
* #772: Support for scoped and unscoped enums in C++. Enumerators in unscoped |
| 312 |
enums are injected into the parent scope in addition to the enum scope. |
| 313 |
* Add ``todo_include_todos`` config option to quickstart conf file, handled as |
| 314 |
described in documentation. |
| 315 |
* HTML breadcrumb items tag has class "nav-item" and "nav-item-N" (like |
| 316 |
nav-item-0, 1, 2...). |
| 317 |
* New option ``sphinx-quickstart --use-make-mode`` for generating Makefile that |
| 318 |
use sphinx-build make-mode. |
| 319 |
* #1235: i18n: several node can be translated if it is set to |
| 320 |
``gettext_additional_targets`` in conf.py. Supported nodes are: |
| 321 |
|
| 322 |
- 'literal-block' |
| 323 |
- 'doctest-block' |
| 324 |
- 'raw' |
| 325 |
- 'image' |
| 326 |
|
| 327 |
* #1227: Add ``html_scaled_image_link`` config option to conf.py, to control |
| 328 |
scaled image link. |
| 329 |
|
| 330 |
Bugs fixed |
| 331 |
---------- |
| 332 |
|
| 333 |
* LaTeX writer now generates correct markup for cells spanning multiple rows. |
| 334 |
* #1674: Do not crash if a module's ``__all__`` is not a list of strings. |
| 335 |
* #1629: Use VerbatimBorderColor to add frame to code-block in LaTeX |
| 336 |
* On windows, make-mode didn't work on Win32 platform if Sphinx was invoked as |
| 337 |
``python sphinx-build.py``. |
| 338 |
* #1687: linkcheck now treats 401 Unauthorized responses as "working". |
| 339 |
* #1690: toctrees with ``glob`` option now can also contain entries for single |
| 340 |
documents with explicit title. |
| 341 |
* #1591: html search results for C++ elements now has correct interpage links. |
| 342 |
* bizstyle theme: nested long title pages make long breadcrumb that breaks page |
| 343 |
layout. |
| 344 |
* bizstyle theme: all breadcrumb items become 'Top' on some mobile browser |
| 345 |
(iPhone5s safari). |
| 346 |
* #1722: restore ``toctree()`` template function behavior that was changed at |
| 347 |
1.3b1. |
| 348 |
* #1732: i18n: localized table caption raises exception. |
| 349 |
* #1718: ``:numref:`` does not work with capital letters in the label |
| 350 |
* #1630: resolve CSS conflicts, ``div.container`` css target for literal block |
| 351 |
wrapper now renamed to ``div.literal-block-wrapper``. |
| 352 |
* ``sphinx.util.pycompat`` has been restored in its backwards-compatibility; |
| 353 |
slated for removal in Sphinx 1.4. |
| 354 |
* #1719: LaTeX writer does not respect ``numref_format`` option in captions |
| 355 |
|
| 356 |
|
| 357 |
Release 1.3b2 (released Dec 5, 2014) |
| 358 |
==================================== |
| 359 |
|
| 360 |
Incompatible changes |
| 361 |
-------------------- |
| 362 |
|
| 363 |
* update bundled ez_setup.py for setuptools-7.0 that requires Python 2.6 or |
| 364 |
later. |
| 365 |
|
| 366 |
Features added |
| 367 |
-------------- |
| 368 |
|
| 369 |
* #1597: Added possibility to return a new template name from |
| 370 |
``html-page-context``. |
| 371 |
* PR#314, #1150: Configuration values are now checked for their type. A |
| 372 |
warning is raised if the configured and the default value do not have the |
| 373 |
same type and do not share a common non-trivial base class. |
| 374 |
|
| 375 |
Bugs fixed |
| 376 |
---------- |
| 377 |
|
| 378 |
* PR#311: sphinx-quickstart does not work on python 3.4. |
| 379 |
* Fix :confval:`autodoc_docstring_signature` not working with signatures |
| 380 |
in class docstrings. |
| 381 |
* Rebuilding cause crash unexpectedly when source files were added. |
| 382 |
* #1607: Fix a crash when building latexpdf with "howto" class |
| 383 |
* #1251: Fix again. Sections which depth are lower than :tocdepth: should not |
| 384 |
be shown on localtoc sidebar. |
| 385 |
* make-mode didn't work on Win32 platform if Sphinx was installed by wheel |
| 386 |
package. |
| 387 |
|
| 388 |
|
| 389 |
Release 1.3b1 (released Oct 10, 2014) |
| 390 |
===================================== |
| 391 |
|
| 392 |
Incompatible changes |
| 393 |
-------------------- |
| 394 |
|
| 395 |
* Dropped support for Python 2.5, 3.1 and 3.2. |
| 396 |
* Dropped support for Docutils versions up to 0.9. |
| 397 |
* Removed the ``sphinx.ext.oldcmarkup`` extension. |
| 398 |
* The deprecated config values ``exclude_trees``, ``exclude_dirnames`` and |
| 399 |
``unused_docs`` have been removed. |
| 400 |
* A new node, ``sphinx.addnodes.literal_strong``, has been added, for text that |
| 401 |
should appear literally (i.e. no smart quotes) in strong font. Custom writers |
| 402 |
will have to be adapted to handle this node. |
| 403 |
* PR#269, #1476: replace ``<tt>`` tag by ``<code>``. User customized stylesheets |
| 404 |
should be updated If the css contain some styles for ``tt>`` tag. |
| 405 |
Thanks to Takeshi Komiya. |
| 406 |
* #1543: ``templates_path`` is automatically added to |
| 407 |
``exclude_patterns`` to avoid reading autosummary rst templates in the |
| 408 |
templates directory. |
| 409 |
* Custom domains should implement the new ``Domain.resolve_any_xref`` |
| 410 |
method to make the ``any`` role work properly. |
| 411 |
* gettext builder: gettext doesn't emit uuid information to generated pot files |
| 412 |
by default. Please set ``True`` to ``gettext_uuid`` to emit uuid information. |
| 413 |
Additionally, if the ``python-levenshtein`` 3rd-party package is installed, |
| 414 |
it will improve the calculation time. |
| 415 |
* gettext builder: disable extracting/apply 'index' node by default. Please set |
| 416 |
'index' to ``gettext_enables`` to enable extracting index entries. |
| 417 |
* PR#307: Add frame to code-block in LaTeX. Thanks to Takeshi Komiya. |
| 418 |
|
| 419 |
Features added |
| 420 |
-------------- |
| 421 |
|
| 422 |
* Add support for Python 3.4. |
| 423 |
* Add support for Docutils 0.12 |
| 424 |
* Added ``sphinx.ext.napoleon`` extension for NumPy and Google style docstring |
| 425 |
support. |
| 426 |
* Added support for parallel reading (parsing) of source files with the |
| 427 |
``sphinx-build -j`` option. Third-party extensions will need to be checked for |
| 428 |
compatibility and may need to be adapted if they store information in the |
| 429 |
build environment object. See ``env-merge-info``. |
| 430 |
* Added the ``any`` role that can be used to find a cross-reference of |
| 431 |
*any* type in *any* domain. Custom domains should implement the new |
| 432 |
``Domain.resolve_any_xref`` method to make this work properly. |
| 433 |
* Exception logs now contain the last 10 messages emitted by Sphinx. |
| 434 |
* Added support for extension versions (a string returned by ``setup()``, these |
| 435 |
can be shown in the traceback log files). Version requirements for extensions |
| 436 |
can be specified in projects using the new ``needs_extensions`` config |
| 437 |
value. |
| 438 |
* Changing the default role within a document with the :dudir:`default-role` |
| 439 |
directive is now supported. |
| 440 |
* PR#214: Added stemming support for 14 languages, so that the built-in document |
| 441 |
search can now handle these. Thanks to Shibukawa Yoshiki. |
| 442 |
* PR#296, PR#303, #76: numfig feature: Assign numbers to figures, tables and |
| 443 |
code-blocks. This feature is configured with ``numfig``, ``numfig_secnum_depth`` |
| 444 |
and ``numfig_format``. Also ``numref`` role is available. Thanks to Takeshi |
| 445 |
Komiya. |
| 446 |
* PR#202: Allow "." and "~" prefixed references in ``:param:`` doc fields |
| 447 |
for Python. |
| 448 |
* PR#184: Add ``autodoc_mock_imports``, allowing to mock imports of |
| 449 |
external modules that need not be present when autodocumenting. |
| 450 |
* #925: Allow list-typed config values to be provided on the command line, |
| 451 |
like ``-D key=val1,val2``. |
| 452 |
* #668: Allow line numbering of ``code-block`` and ``literalinclude`` directives |
| 453 |
to start at an arbitrary line number, with a new ``lineno-start`` option. |
| 454 |
* PR#172, PR#266: The ``code-block`` and ``literalinclude`` |
| 455 |
directives now can have a ``caption`` option that shows a filename before the |
| 456 |
code in the output. Thanks to Nasimul Haque, Takeshi Komiya. |
| 457 |
* Prompt for the document language in sphinx-quickstart. |
| 458 |
* PR#217: Added config values to suppress UUID and location information in |
| 459 |
generated gettext catalogs. |
| 460 |
* PR#236, #1456: apidoc: Add a -M option to put module documentation before |
| 461 |
submodule documentation. Thanks to Wes Turner and Luc Saffre. |
| 462 |
* #1434: Provide non-minified JS files for jquery.js and underscore.js to |
| 463 |
clarify the source of the minified files. |
| 464 |
* PR#252, #1291: Windows color console support. Thanks to meu31. |
| 465 |
* PR#255: When generating latex references, also insert latex target/anchor |
| 466 |
for the ids defined on the node. Thanks to Olivier Heurtier. |
| 467 |
* PR#229: Allow registration of other translators. Thanks to Russell Sim. |
| 468 |
* Add app.set_translator() API to register or override a Docutils translator |
| 469 |
class like ``html_translator_class``. |
| 470 |
* PR#267, #1134: add 'diff' parameter to literalinclude. Thanks to Richard Wall |
| 471 |
and WAKAYAMA shirou. |
| 472 |
* PR#272: Added 'bizstyle' theme. Thanks to Shoji KUMAGAI. |
| 473 |
* Automatically compile ``*.mo`` files from ``*.po`` files when |
| 474 |
``gettext_auto_build`` is ``True`` (default) and ``*.po`` is newer than |
| 475 |
``*.mo`` file. |
| 476 |
* #623: ``sphinx.ext.viewcode`` supports imported function/class aliases. |
| 477 |
* PR#275: ``sphinx.ext.intersphinx`` supports multiple target for the |
| 478 |
inventory. Thanks to Brigitta Sipocz. |
| 479 |
* PR#261: Added the ``env-before-read-docs`` event that can be connected to modify |
| 480 |
the order of documents before they are read by the environment. |
| 481 |
* #1284: Program options documented with :rst:dir:`option` can now start with |
| 482 |
``+``. |
| 483 |
* PR#291: The caption of :rst:dir:`code-block` is recognized as a title of ref |
| 484 |
target. Thanks to Takeshi Komiya. |
| 485 |
* PR#298: Add new API: :meth:`~sphinx.application.Sphinx.add_latex_package`. |
| 486 |
Thanks to Takeshi Komiya. |
| 487 |
* #1344: add ``gettext_enables`` to enable extracting 'index' to gettext |
| 488 |
catalog output / applying translation catalog to generated documentation. |
| 489 |
* PR#301, #1583: Allow the line numbering of the directive ``literalinclude`` to |
| 490 |
match that of the included file, using a new ``lineno-match`` option. Thanks |
| 491 |
to Jeppe Pihl. |
| 492 |
* PR#299: add various options to sphinx-quickstart. Quiet mode option |
| 493 |
``--quiet`` will skips wizard mode. Thanks to WAKAYAMA shirou. |
| 494 |
* #1623: Return types specified with ``:rtype:`` are now turned into links if |
| 495 |
possible. |
| 496 |
|
| 497 |
Bugs fixed |
| 498 |
---------- |
| 499 |
|
| 500 |
* #1438: Updated jQuery version from 1.8.3 to 1.11.1. |
| 501 |
* #1568: Fix a crash when a "centered" directive contains a reference. |
| 502 |
* Now sphinx.ext.autodoc works with python-2.5 again. |
| 503 |
* #1563: :meth:`~sphinx.application.Sphinx.add_search_language` raises |
| 504 |
AssertionError for correct type of argument. Thanks to rikoman. |
| 505 |
* #1174: Fix smart quotes being applied inside roles like :rst:role:`program` or |
| 506 |
``makevar``. |
| 507 |
* PR#235: comment db schema of websupport lacked a length of the node_id field. |
| 508 |
Thanks to solos. |
| 509 |
* #1466,PR#241: Fix failure of the cpp domain parser to parse C+11 |
| 510 |
"variadic templates" declarations. Thanks to Victor Zverovich. |
| 511 |
* #1459,PR#244: Fix default mathjax js path point to ``http://`` that cause |
| 512 |
mixed-content error on HTTPS server. Thanks to sbrandtb and robo9k. |
| 513 |
* PR#157: autodoc remove spurious signatures from @property decorated |
| 514 |
attributes. Thanks to David Ham. |
| 515 |
* PR#159: Add coverage targets to quickstart generated Makefile and make.bat. |
| 516 |
Thanks to Matthias Troffaes. |
| 517 |
* #1251: When specifying toctree :numbered: option and :tocdepth: metadata, |
| 518 |
sub section number that is larger depth than ``:tocdepth:`` is shrunk. |
| 519 |
* PR#260: Encode underscore in citation labels for latex export. Thanks to |
| 520 |
Lennart Fricke. |
| 521 |
* PR#264: Fix could not resolve xref for figure node with :name: option. |
| 522 |
Thanks to Takeshi Komiya. |
| 523 |
* PR#265: Fix could not capture caption of graphviz node by xref. Thanks to |
| 524 |
Takeshi Komiya. |
| 525 |
* PR#263, #1013, #1103: Rewrite of C++ domain. Thanks to Jakob Lykke Andersen. |
| 526 |
|
| 527 |
* Hyperlinks to all found nested names and template arguments (#1103). |
| 528 |
* Support for function types everywhere, e.g., in |
| 529 |
std::function<bool(int, int)> (#1013). |
| 530 |
* Support for virtual functions. |
| 531 |
* Changed interpretation of function arguments to following standard |
| 532 |
prototype declarations, i.e., void f(arg) means that arg is the type of the |
| 533 |
argument, instead of it being the name. |
| 534 |
* Updated tests. |
| 535 |
* Updated documentation with elaborate description of what declarations are |
| 536 |
supported and how the namespace declarations influence declaration and |
| 537 |
cross-reference lookup. |
| 538 |
* Index names may be different now. Elements are indexed by their fully |
| 539 |
qualified name. It should be rather easy to change this behaviour and |
| 540 |
potentially index by namespaces/classes as well. |
| 541 |
|
| 542 |
* PR#258, #939: Add dedent option for ``code-block`` and |
| 543 |
``literalinclude``. Thanks to Zafar Siddiqui. |
| 544 |
* PR#268: Fix numbering section does not work at singlehtml mode. It still |
| 545 |
ad-hoc fix because there is a issue that section IDs are conflicted. |
| 546 |
Thanks to Takeshi Komiya. |
| 547 |
* PR#273, #1536: Fix RuntimeError with numbered circular toctree. Thanks to |
| 548 |
Takeshi Komiya. |
| 549 |
* PR#274: Set its URL as a default title value if URL appears in toctree. |
| 550 |
Thanks to Takeshi Komiya. |
| 551 |
* PR#276, #1381: ``rfc`` and ``pep`` roles support custom link |
| 552 |
text. Thanks to Takeshi Komiya. |
| 553 |
* PR#277, #1513: highlights for function pointers in argument list of |
| 554 |
``c:function``. Thanks to Takeshi Komiya. |
| 555 |
* PR#278: Fix section entries were shown twice if toctree has been put under |
| 556 |
only directive. Thanks to Takeshi Komiya. |
| 557 |
* #1547: pgen2 tokenizer doesn't recognize ``...`` literal (Ellipsis for py3). |
| 558 |
* PR#294: On LaTeX builder, wrap float environment on writing literal_block |
| 559 |
to avoid separation of caption and body. Thanks to Takeshi Komiya. |
| 560 |
* PR#295, #1520: ``make.bat latexpdf`` mechanism to ``cd`` back to the current |
| 561 |
directory. Thanks to Peter Suter. |
| 562 |
* PR#297, #1571: Add imgpath property to all builders. It make easier to |
| 563 |
develop builder extensions. Thanks to Takeshi Komiya. |
| 564 |
* #1584: Point to master doc in HTML "top" link. |
| 565 |
* #1585: Autosummary of modules broken in Sphinx 1.2.3. |
| 566 |
* #1610: Sphinx cause AttributeError when MeCab search option is enabled and |
| 567 |
python-mecab is not installed. |
| 568 |
* #1674: Do not crash if a module's ``__all__`` is not a list of strings. |
| 569 |
* #1673: Fix crashes with :confval:`nitpick_ignore` and ``:doc:`` references. |
| 570 |
* #1686: ifconfig directive doesn't care about default config values. |
| 571 |
* #1642: Fix only one search result appearing in Chrome. |
| 572 |
|
| 573 |
Documentation |
| 574 |
------------- |
| 575 |
|
| 576 |
* Add clarification about the syntax of tags. (:file:`doc/markup/misc.rst`) |