| 1 |
========== |
| 2 |
Sphinx 0.6 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 0.6.7 (Jun 05, 2010) |
| 7 |
============================ |
| 8 |
|
| 9 |
* #440: Remove usage of a Python >= 2.5 API in the ``literalinclude`` |
| 10 |
directive. |
| 11 |
|
| 12 |
* Fix a bug that prevented some references being generated in the |
| 13 |
LaTeX builder. |
| 14 |
|
| 15 |
* #428: Add some missing CSS styles for standard Docutils classes. |
| 16 |
|
| 17 |
* #432: Fix UnicodeErrors while building LaTeX in translated locale. |
| 18 |
|
| 19 |
|
| 20 |
Release 0.6.6 (May 25, 2010) |
| 21 |
============================ |
| 22 |
|
| 23 |
* Handle raw nodes in the ``text`` writer. |
| 24 |
|
| 25 |
* Fix a problem the Qt help project generated by the ``qthelp`` |
| 26 |
builder that would lead to no content being displayed in the Qt |
| 27 |
Assistant. |
| 28 |
|
| 29 |
* #393: Fix the usage of Unicode characters in mathematic formulas |
| 30 |
when using the ``pngmath`` extension. |
| 31 |
|
| 32 |
* #404: Make ``\and`` work properly in the author field of the |
| 33 |
``latex_documents`` setting. |
| 34 |
|
| 35 |
* #409: Make the ``highlight_language`` config value work properly |
| 36 |
in the LaTeX builder. |
| 37 |
|
| 38 |
* #418: Allow relocation of the translation JavaScript files to |
| 39 |
the system directory on Unix systems. |
| 40 |
|
| 41 |
* #414: Fix handling of Windows newlines in files included with |
| 42 |
the ``literalinclude`` directive. |
| 43 |
|
| 44 |
* #377: Fix crash in linkcheck builder. |
| 45 |
|
| 46 |
* #387: Fix the display of search results in ``dirhtml`` output. |
| 47 |
|
| 48 |
* #376: In autodoc, fix display of parameter defaults containing |
| 49 |
backslashes. |
| 50 |
|
| 51 |
* #370: Fix handling of complex list item labels in LaTeX output. |
| 52 |
|
| 53 |
* #374: Make the ``doctest_path`` config value of the doctest |
| 54 |
extension actually work. |
| 55 |
|
| 56 |
* Fix the handling of multiple toctrees when creating the global |
| 57 |
TOC for the ``toctree()`` template function. |
| 58 |
|
| 59 |
* Fix the handling of hidden toctrees when creating the global TOC |
| 60 |
for the ``toctree()`` template function. |
| 61 |
|
| 62 |
* Fix the handling of nested lists in the text writer. |
| 63 |
|
| 64 |
* #362: In autodoc, check for the existence of ``__self__`` on |
| 65 |
function objects before accessing it. |
| 66 |
|
| 67 |
* #353: Strip leading and trailing whitespace when extracting |
| 68 |
search words in the search function. |
| 69 |
|
| 70 |
|
| 71 |
Release 0.6.5 (Mar 01, 2010) |
| 72 |
============================ |
| 73 |
|
| 74 |
* In autodoc, fix the omission of some module members explicitly |
| 75 |
documented using documentation comments. |
| 76 |
|
| 77 |
* #345: Fix cropping of sidebar scroll bar with ``stickysidebar`` |
| 78 |
option of the default theme. |
| 79 |
|
| 80 |
* #341: Always generate UNIX newlines in the quickstart Makefile. |
| 81 |
|
| 82 |
* #338: Fix running with ``-C`` under Windows. |
| 83 |
|
| 84 |
* In autodoc, allow customizing the signature of an object where |
| 85 |
the built-in mechanism fails. |
| 86 |
|
| 87 |
* #331: Fix output for enumerated lists with start values in LaTeX. |
| 88 |
|
| 89 |
* Make the ``start-after`` and ``end-before`` options to the |
| 90 |
``literalinclude`` directive work correctly if not used together. |
| 91 |
|
| 92 |
* #321: Fix link generation in the LaTeX builder. |
| 93 |
|
| 94 |
|
| 95 |
Release 0.6.4 (Jan 12, 2010) |
| 96 |
============================ |
| 97 |
|
| 98 |
* Improve the handling of non-Unicode strings in the configuration. |
| 99 |
|
| 100 |
* #316: Catch OSErrors occurring when calling graphviz with |
| 101 |
arguments it doesn't understand. |
| 102 |
|
| 103 |
* Restore compatibility with Pygments >= 1.2. |
| 104 |
|
| 105 |
* #295: Fix escaping of hyperref targets in LaTeX output. |
| 106 |
|
| 107 |
* #302: Fix links generated by the ``:doc:`` role for LaTeX output. |
| 108 |
|
| 109 |
* #286: collect todo nodes after the whole document has been read; |
| 110 |
this allows placing substitution references in todo items. |
| 111 |
|
| 112 |
* #294: do not ignore an explicit ``today`` config value in a |
| 113 |
LaTeX build. |
| 114 |
|
| 115 |
* The ``alt`` text of inheritance diagrams is now much cleaner. |
| 116 |
|
| 117 |
* Ignore images in section titles when generating link captions. |
| 118 |
|
| 119 |
* #310: support exception messages in the ``testoutput`` blocks of |
| 120 |
the ``doctest`` extension. |
| 121 |
|
| 122 |
* #293: line blocks are styled properly in HTML output. |
| 123 |
|
| 124 |
* #285: make the ``locale_dirs`` config value work again. |
| 125 |
|
| 126 |
* #303: ``html_context`` values given on the command line via ``-A`` |
| 127 |
should not override other values given in conf.py. |
| 128 |
|
| 129 |
* Fix a bug preventing incremental rebuilds for the ``dirhtml`` |
| 130 |
builder. |
| 131 |
|
| 132 |
* #299: Fix the mangling of quotes in some literal blocks. |
| 133 |
|
| 134 |
* #292: Fix path to the search index for the ``dirhtml`` builder. |
| 135 |
|
| 136 |
* Fix a Jython compatibility issue: make the dependence on the |
| 137 |
``parser`` module optional. |
| 138 |
|
| 139 |
* #238: In autodoc, catch all errors that occur on module import, |
| 140 |
not just ``ImportError``. |
| 141 |
|
| 142 |
* Fix the handling of non-data, but non-method descriptors in autodoc. |
| 143 |
|
| 144 |
* When copying file times, ignore OSErrors raised by ``os.utime()``. |
| 145 |
|
| 146 |
|
| 147 |
Release 0.6.3 (Sep 03, 2009) |
| 148 |
============================ |
| 149 |
|
| 150 |
* Properly add C module filenames as dependencies in autodoc. |
| 151 |
|
| 152 |
* #253: Ignore graphviz directives without content instead of |
| 153 |
raising an unhandled exception. |
| 154 |
|
| 155 |
* #241: Fix a crash building LaTeX output for documents that contain |
| 156 |
a todolist directive. |
| 157 |
|
| 158 |
* #252: Make it easier to change the build dir in the Makefiles |
| 159 |
generated by quickstart. |
| 160 |
|
| 161 |
* #220: Fix CSS so that displaymath really is centered. |
| 162 |
|
| 163 |
* #222: Allow the "Footnotes" header to be translated. |
| 164 |
|
| 165 |
* #225: Don't add whitespace in generated HTML after inline tags. |
| 166 |
|
| 167 |
* #227: Make ``literalinclude`` work when the document's path |
| 168 |
name contains non-ASCII characters. |
| 169 |
|
| 170 |
* #229: Fix autodoc failures with members that raise errors |
| 171 |
on ``getattr()``. |
| 172 |
|
| 173 |
* #205: When copying files, don't copy full stat info, only |
| 174 |
modification times. |
| 175 |
|
| 176 |
* #232: Support non-ASCII metadata in Qt help builder. |
| 177 |
|
| 178 |
* Properly format bullet lists nested in definition lists for LaTeX. |
| 179 |
|
| 180 |
* Section titles are now allowed inside ``only`` directives. |
| 181 |
|
| 182 |
* #201: Make ``centered`` directive work in LaTeX output. |
| 183 |
|
| 184 |
* #206: Refuse to overwrite an existing master document in |
| 185 |
sphinx-quickstart. |
| 186 |
|
| 187 |
* #208: Use MS-sanctioned locale settings, determined by the |
| 188 |
``language`` config option, in the HTML help builder. |
| 189 |
|
| 190 |
* #210: Fix nesting of HTML tags for displayed math from pngmath |
| 191 |
extension. |
| 192 |
|
| 193 |
* #213: Fix centering of images in LaTeX output. |
| 194 |
|
| 195 |
* #211: Fix compatibility with Docutils 0.5. |
| 196 |
|
| 197 |
|
| 198 |
Release 0.6.2 (Jun 16, 2009) |
| 199 |
============================ |
| 200 |
|
| 201 |
* #130: Fix obscure IndexError in doctest extension. |
| 202 |
|
| 203 |
* #167: Make glossary sorting case-independent. |
| 204 |
|
| 205 |
* #196: Add a warning if an extension module doesn't have a |
| 206 |
``setup()`` function. |
| 207 |
|
| 208 |
* #158: Allow '..' in template names, and absolute template paths; |
| 209 |
Jinja 2 by default disables both. |
| 210 |
|
| 211 |
* When highlighting Python code, ignore extra indentation before |
| 212 |
trying to parse it as Python. |
| 213 |
|
| 214 |
* #191: Don't escape the tilde in URIs in LaTeX. |
| 215 |
|
| 216 |
* Don't consider contents of source comments for the search index. |
| 217 |
|
| 218 |
* Set the default encoding to ``utf-8-sig`` to handle files with a |
| 219 |
UTF-8 BOM correctly. |
| 220 |
|
| 221 |
* #178: apply ``add_function_parentheses`` config value to C |
| 222 |
functions as promised. |
| 223 |
|
| 224 |
* #173: Respect the Docutils ``title`` directive. |
| 225 |
|
| 226 |
* #172: The ``obj`` role now links to modules as promised. |
| 227 |
|
| 228 |
* #19: Tables now can have a "longtable" class, in order to get |
| 229 |
correctly broken into pages in LaTeX output. |
| 230 |
|
| 231 |
* Look for Sphinx message catalogs in the system default path before |
| 232 |
trying ``sphinx/locale``. |
| 233 |
|
| 234 |
* Fix the search for methods via "classname.methodname". |
| 235 |
|
| 236 |
* #155: Fix Python 2.4 compatibility: exceptions are old-style |
| 237 |
classes there. |
| 238 |
|
| 239 |
* #150: Fix display of the "sphinxdoc" theme on Internet Explorer |
| 240 |
versions 6 and 7. |
| 241 |
|
| 242 |
* #146: Don't fail to generate LaTeX when the user has an active |
| 243 |
``.docutils`` configuration. |
| 244 |
|
| 245 |
* #29: Don't generate visible "-{-}" in option lists in LaTeX. |
| 246 |
|
| 247 |
* Fix cross-reference roles when put into substitutions. |
| 248 |
|
| 249 |
* Don't put image "alt" text into table-of-contents entries. |
| 250 |
|
| 251 |
* In the LaTeX writer, do not raise an exception on too many section |
| 252 |
levels, just use the "subparagraph" level for all of them. |
| 253 |
|
| 254 |
* #145: Fix autodoc problem with automatic members that refuse to be |
| 255 |
getattr()'d from their parent. |
| 256 |
|
| 257 |
* If specific filenames to build are given on the command line, |
| 258 |
check that they are within the source directory. |
| 259 |
|
| 260 |
* Fix autodoc crash for objects without a ``__name__``. |
| 261 |
|
| 262 |
* Fix intersphinx for installations without urllib2.HTTPSHandler. |
| 263 |
|
| 264 |
* #134: Fix pending_xref leftover nodes when using the todolist |
| 265 |
directive from the todo extension. |
| 266 |
|
| 267 |
|
| 268 |
Release 0.6.1 (Mar 26, 2009) |
| 269 |
============================ |
| 270 |
|
| 271 |
* #135: Fix problems with LaTeX output and the graphviz extension. |
| 272 |
|
| 273 |
* #132: Include the autosummary "module" template in the distribution. |
| 274 |
|
| 275 |
|
| 276 |
Release 0.6 (Mar 24, 2009) |
| 277 |
========================== |
| 278 |
|
| 279 |
New features added |
| 280 |
------------------ |
| 281 |
|
| 282 |
* Incompatible changes: |
| 283 |
|
| 284 |
- Templating now requires the Jinja2 library, which is an enhanced |
| 285 |
version of the old Jinja1 engine. Since the syntax and semantic |
| 286 |
is largely the same, very few fixes should be necessary in |
| 287 |
custom templates. |
| 288 |
|
| 289 |
- The "document" div tag has been moved out of the ``layout.html`` |
| 290 |
template's "document" block, because the closing tag was already |
| 291 |
outside. If you overwrite this block, you need to remove your |
| 292 |
"document" div tag as well. |
| 293 |
|
| 294 |
- The ``autodoc_skip_member`` event now also gets to decide |
| 295 |
whether to skip members whose name starts with underscores. |
| 296 |
Previously, these members were always automatically skipped. |
| 297 |
Therefore, if you handle this event, add something like this |
| 298 |
to your event handler to restore the old behavior:: |
| 299 |
|
| 300 |
if name.startswith('_'): |
| 301 |
return True |
| 302 |
|
| 303 |
* Theming support, see the new section in the documentation. |
| 304 |
|
| 305 |
* Markup: |
| 306 |
|
| 307 |
- Due to popular demand, added a ``:doc:`` role which directly |
| 308 |
links to another document without the need of creating a |
| 309 |
label to which a ``:ref:`` could link to. |
| 310 |
|
| 311 |
- #4: Added a ``:download:`` role that marks a non-document file |
| 312 |
for inclusion into the HTML output and links to it. |
| 313 |
|
| 314 |
- Added an ``only`` directive that can selectively include text |
| 315 |
based on enabled "tags". Tags can be given on the command |
| 316 |
line. Also, the current builder output format (e.g. "html" or |
| 317 |
"latex") is always a defined tag. |
| 318 |
|
| 319 |
- #10: Added HTML section numbers, enabled by giving a |
| 320 |
``:numbered:`` flag to the ``toctree`` directive. |
| 321 |
|
| 322 |
- #114: Added an ``abbr`` role to markup abbreviations and |
| 323 |
acronyms. |
| 324 |
|
| 325 |
- The ``literalinclude`` directive now supports several more |
| 326 |
options, to include only parts of a file. |
| 327 |
|
| 328 |
- The ``toctree`` directive now supports a ``:hidden:`` flag, |
| 329 |
which will prevent links from being generated in place of |
| 330 |
the directive -- this allows you to define your document |
| 331 |
structure, but place the links yourself. |
| 332 |
|
| 333 |
- #123: The ``glossary`` directive now supports a ``:sorted:`` |
| 334 |
flag that sorts glossary entries alphabetically. |
| 335 |
|
| 336 |
- Paths to images, literal include files and download files |
| 337 |
can now be absolute (like ``/images/foo.png``). They are |
| 338 |
treated as relative to the top source directory. |
| 339 |
|
| 340 |
- #52: There is now a ``hlist`` directive, creating a compact |
| 341 |
list by placing distributing items into multiple columns. |
| 342 |
|
| 343 |
- #77: If a description environment with info field list only |
| 344 |
contains one ``:param:`` entry, no bullet list is generated. |
| 345 |
|
| 346 |
- #6: Don't generate redundant ``<ul>`` for top-level TOC tree |
| 347 |
items, which leads to a visual separation of TOC entries. |
| 348 |
|
| 349 |
- #23: Added a ``classmethod`` directive along with ``method`` |
| 350 |
and ``staticmethod``. |
| 351 |
|
| 352 |
- Scaled images now get a link to the unscaled version. |
| 353 |
|
| 354 |
- SVG images are now supported in HTML (via ``<object>`` and |
| 355 |
``<embed>`` tags). |
| 356 |
|
| 357 |
- Added a ``toctree`` callable to the templates, and the ability |
| 358 |
to include external links in toctrees. The 'collapse' keyword |
| 359 |
argument indicates whether or not to only display subitems of |
| 360 |
the current page. (Defaults to ``True``.) |
| 361 |
|
| 362 |
* Configuration: |
| 363 |
|
| 364 |
- The new config value ``rst_epilog`` can contain reST that is |
| 365 |
appended to each source file that is read. This is the right |
| 366 |
place for global substitutions. |
| 367 |
|
| 368 |
- The new ``html_add_permalinks`` config value can be used to |
| 369 |
switch off the generated "paragraph sign" permalinks for each |
| 370 |
heading and definition environment. |
| 371 |
|
| 372 |
- The new ``html_show_sourcelink`` config value can be used to |
| 373 |
switch off the links to the reST sources in the sidebar. |
| 374 |
|
| 375 |
- The default value for ``htmlhelp_basename`` is now the project |
| 376 |
title, cleaned up as a filename. |
| 377 |
|
| 378 |
- The new ``modindex_common_prefix`` config value can be used to |
| 379 |
ignore certain package names for module index sorting. |
| 380 |
|
| 381 |
- The new ``trim_footnote_reference_space`` config value mirrors |
| 382 |
the Docutils config value of the same name and removes the |
| 383 |
space before a footnote reference that is necessary for reST |
| 384 |
to recognize the reference. |
| 385 |
|
| 386 |
- The new ``latex_additional_files`` config value can be used to |
| 387 |
copy files (that Sphinx doesn't copy automatically, e.g. if they |
| 388 |
are referenced in custom LaTeX added in ``latex_elements``) to |
| 389 |
the build directory. |
| 390 |
|
| 391 |
* Builders: |
| 392 |
|
| 393 |
- The HTML builder now stores a small file named ``.buildinfo`` in |
| 394 |
its output directory. It stores a hash of config values that |
| 395 |
can be used to determine if a full rebuild needs to be done (e.g. |
| 396 |
after changing ``html_theme``). |
| 397 |
|
| 398 |
- New builder for Qt help collections, by Antonio Valentino. |
| 399 |
|
| 400 |
- The new ``DirectoryHTMLBuilder`` (short name ``dirhtml``) creates |
| 401 |
a separate directory for every page, and places the page there |
| 402 |
in a file called ``index.html``. Therefore, page URLs and links |
| 403 |
don't need to contain ``.html``. |
| 404 |
|
| 405 |
- The new ``html_link_suffix`` config value can be used to select |
| 406 |
the suffix of generated links between HTML files. |
| 407 |
|
| 408 |
- #96: The LaTeX builder now supports figures wrapped by text, when |
| 409 |
using the ``figwidth`` option and right/left alignment. |
| 410 |
|
| 411 |
* New translations: |
| 412 |
|
| 413 |
- Italian by Sandro Dentella. |
| 414 |
- Ukrainian by Petro Sasnyk. |
| 415 |
- Finnish by Jukka Inkeri. |
| 416 |
- Russian by Alexander Smishlajev. |
| 417 |
|
| 418 |
* Extensions and API: |
| 419 |
|
| 420 |
- New ``graphviz`` extension to embed graphviz graphs. |
| 421 |
|
| 422 |
- New ``inheritance_diagram`` extension to embed... inheritance |
| 423 |
diagrams! |
| 424 |
|
| 425 |
- New ``autosummary`` extension that generates summaries of |
| 426 |
modules and automatic documentation of modules. |
| 427 |
|
| 428 |
- Autodoc now has a reusable Python API, which can be used to |
| 429 |
create custom types of objects to auto-document (e.g. Zope |
| 430 |
interfaces). See also ``Sphinx.add_autodocumenter()``. |
| 431 |
|
| 432 |
- Autodoc now handles documented attributes. |
| 433 |
|
| 434 |
- Autodoc now handles inner classes and their methods. |
| 435 |
|
| 436 |
- Autodoc can document classes as functions now if explicitly |
| 437 |
marked with ``autofunction``. |
| 438 |
|
| 439 |
- Autodoc can now exclude single members from documentation |
| 440 |
via the ``exclude-members`` option. |
| 441 |
|
| 442 |
- Autodoc can now order members either alphabetically (like |
| 443 |
previously) or by member type; configurable either with the |
| 444 |
config value ``autodoc_member_order`` or a ``member-order`` |
| 445 |
option per directive. |
| 446 |
|
| 447 |
- The function ``Sphinx.add_directive()`` now also supports |
| 448 |
Docutils 0.5-style directive classes. If they inherit from |
| 449 |
``sphinx.util.compat.Directive``, they also work with |
| 450 |
Docutils 0.4. |
| 451 |
|
| 452 |
- There is now a ``Sphinx.add_lexer()`` method to be able to use |
| 453 |
custom Pygments lexers easily. |
| 454 |
|
| 455 |
- There is now ``Sphinx.add_generic_role()`` to mirror the |
| 456 |
Docutils' own function. |
| 457 |
|
| 458 |
* Other changes: |
| 459 |
|
| 460 |
- Config overrides for single dict keys can now be given on the |
| 461 |
command line. |
| 462 |
|
| 463 |
- There is now a ``doctest_global_setup`` config value that can |
| 464 |
be used to give setup code for all doctests in the documentation. |
| 465 |
|
| 466 |
- Source links in HTML are now generated with ``rel="nofollow"``. |
| 467 |
|
| 468 |
- Quickstart can now generate a Windows ``make.bat`` file. |
| 469 |
|
| 470 |
- #62: There is now a ``-w`` option for sphinx-build that writes |
| 471 |
warnings to a file, in addition to stderr. |
| 472 |
|
| 473 |
- There is now a ``-W`` option for sphinx-build that turns warnings |
| 474 |
into errors. |