diff --git a/CHANGES b/CHANGES index effaa10a4..7c9bbee07 100644 --- a/CHANGES +++ b/CHANGES @@ -1,163 +1,42 @@ -Release 1.2 (in development) -============================ +Release 1.2 (beta1 released Mar 31, 2013) +========================================= -* PR#123, #1106: Add epub_use_index configuration value. - If provided, it will be used instead of html_use_index for epub builder. +Incompatible changes +-------------------- -* #1111: Fix uppercase word is not found in search when - html_search_language='ja'. Thanks to tomo saito. +* Removed ``sphinx.util.compat.directive_dwim()`` and + ``sphinx.roles.xfileref_role()`` which were deprecated since version 1.0. +* PR#122: the files given in :confval:`latex_additional_files` now override TeX + files included by Sphinx, such as ``sphinx.sty``. +* PR#124: the node generated by :rst:dir:`versionadded`, + :rst:dir:`versionchanged` and :rst:dir:`deprecated` directives now includes + all added markup (such as "New in version X") as child nodes, and no + additional text must be generated by writers. +* PR#99: the :rst:dir:`seealso` directive now generates admonition nodes instead + of the custom ``seealso`` node. -* The ``'fontpkg'`` item in :confval:`latex_elements` now defaults to ``''`` - when the :confval:`language` uses the Cyrillic script. - Suggested by Dmitry Shachnev. +Features added +-------------- -* PR#114: The LaTeX writer now includes the "cmap" package by default. The - ``'cmappkg'`` item in :confval:`latex_elements` can be used to control this. - Thanks to Dmitry Shachnev. +* Markup -* New locales: #1113: Added Hebrew locale. + - The :rst:dir:`toctree` directive and the ``toctree()`` template function now + have an ``includehidden`` option that includes hidden toctree entries (bugs + #790 and #1047). A bug in the ``maxdepth`` option for the ``toctree()`` + template function has been fixed (bug #1046). + - PR#99: Strip down seealso directives to normal admonitions. This removes + their unusual CSS classes (admonition-see-also), inconsistent LaTeX + admonition title ("See Also" instead of "See also"), and spurious indentation + in the text builder. -* PR#115: Add ``'transition'`` item in :confval:`latex_elements` for - customizing how transitions are displayed. Thanks to Jeff Klukas. +* HTML builder -* #1108: The text writer now correctly numbers enumerated lists with - non-default start values (based on patch by Ewan Edwards). - -* #1074: Add environment version info to the generated search index to avoid - compatibility issues with old builds. - -* New locales: #1097: Added Basque locale. - -* Fix text builder did not respect wide/fullwidth characters: - title underline width, table layout width and text wrap width. - -* Add stub for the :confval:`keep_warnings` configuration value in the - ``conf.py`` generated by sphinx-quickstart. - -* Speed up building the search index by caching the results of the word - stemming routines. Saves about 20 seconds when building the Python - documentation. - -* #1062: sphinx.ext.autodoc use __init__ method signature for class signature. - -* PR#111: Respect add_autodoc_attrgetter() even when inherited-members is set. - Thanks to A. Jesse Jiryu Davis. - -* #1090: Fix gettext does not extract glossary terms. - -* #1070: Avoid un-pickling issues when running Python 3 and the saved - environment was created under Python 2. - -* #1069: Fixed error caused when autodoc would try to format signatures of - "partial" functions without keyword arguments (patch by Artur Gaspar). - -* The :confval:`latex_documents`, :confval:`texinfo_documents`, and - :confval:`man_pages` configuration values will be set to default values based - on the :confval:`master_doc` if not explicitly set in :file:`conf.py`. - Previously, if these values were not set, no output would be genereted by - their respective builders. - -* The :rst:dir:`toctree` directive and the ``toctree()`` template function now - have an ``includehidden`` option that includes hidden toctree entries (bugs - #790 and #1047). A bug in the ``maxdepth`` option for the ``toctree()`` - template function has been fixed (bug #1046). - -* PR#99: Strip down seealso directives to normal admonitions. This removes - their unusual CSS classes (admonition-see-also), inconsistent LaTeX - admonition title ("See Also" instead of "See also"), and spurious indentation - in the text builder. - -* sphinx-build now has a verbose option :option:`-v` which can be - repeated for greater effect. A single occurrance provides a - slightly more verbose output than normal. Two or more occurrences - of this option provides more detailed output which may be useful for - debugging. - -* sphinx-build now provides more specific error messages when called with - invalid options or arguments. - -* sphinx-build now supports the standard :option:`--help` and - :option:`--version` options. - -* #869: sphinx-build now has the option :option:`-T` for printing the full - traceback after an unhandled exception. - -* #976: Fix gettext does not extract index entries. - -* #940: Fix gettext does not extract figure caption. - -* #1067: Improve the ordering of the JavaScript search results: matches in titles - come before matches in full text, and object results are better categorized. - Also implement a pluggable search scorer. - -* Fix text writer can not handle visit_legend for figure directive contents. - -* PR#72: #975: Fix gettext does not extract definition terms before docutils 0.10.0 - -* PR#25: In inheritance diagrams, the first line of the class docstring - is now the tooltip for the class. - -* PR#47: Added :mod:`sphinx.ext.linkcode` extension. - -* PR#75: Added ``--follow-links`` option to sphinx-apidoc. - -* PR#45: The linkcheck builder now checks ``#anchor``\ s for existence. - -* PR#28: Added Hungarian translation. - -* PR#35: Added Slovak translation. - -* PR#54: Added Norwegian bokmaal translation. - -* PR#52: ``special_members`` flag to autodoc now behaves like ``members``. - -* #955: Fix i18n transformation. - -* PR#74: Fix some Russian translation. - -* PR#97: Fix footnote handling in translated documents. - -* Update to jQuery 1.7.1 and Underscore.js 1.3.1. - -* #1055: Fix web support with relative path to source directory. - -* #1053: The "rightsidebar" and "collapsiblesidebar" HTML theme options now work together. - -* #1015: Stop overriding jQuery contains() in the JavaScript. - -* #1028: Fix line block output in the text builder. - -* #1018: Fix "container" directive handling in the text builder. - -* #1012: Update Estonian translation. - -* #1010: Make pngmath images transparent by default; IE7+ should handle it. - -* #440: Fix coarse timestamp resolution in some filesystem generate wrong outdated file-list. - -* #1008: Fix test failures with Python 3.3. - -* #1029: Fix intersphinx_mapping values are not stable if mapping have plural key/value set with Python 3.3. - -* #920: Rescue PIL packaging issue that allow import Image without PIL namespace. Thanks to Marc Schlaich. - -* #1024: Improve Makefile/make.bat error message if Sphinx is not found. Thanks to anatoly techtonik. - -* #1037: Fix typos in Polish translation. Thanks to Jakub Wilk. - -* #1038: Fix cpp domain parser fails to parse C+11 "static constexpr" declarations. Thanks to Jakub Wilk. - -* #1043: Fix sphinx-quickstart asks again and again Y|N because input() return value with extra '\r' on Python-3.2.0 + Windows. Thanks to Régis Décamps. - -* #1041: Fix cpp domain parser fails to parse a const type with a modifier. - -* #958: Do not preserve ``environment.pickle`` after a failed build. - -* PR#88: Added the "Sphinx Developer's Guide" (:file:`doc/devguide.rst`) - which outlines the basic development process of the Sphinx project. - -* Added the Docutils-native XML and pseudo-XML builders. See - :class:`XMLBuilder` and :class:`PseudoXMLBuilder`. + - #1067: Improve the ordering of the JavaScript search results: matches in titles + come before matches in full text, and object results are better categorized. + Also implement a pluggable search scorer. + - #1053: The "rightsidebar" and "collapsiblesidebar" HTML theme options now work + together. + - Update to jQuery 1.7.1 and Underscore.js 1.3.1. * Texinfo builder @@ -190,6 +69,152 @@ Release 1.2 (in development) - Fixed an issue where duplicate domain indices would result in invalid output. +* LaTeX builder: + + - PR#115: Add ``'transition'`` item in :confval:`latex_elements` for + customizing how transitions are displayed. Thanks to Jeff Klukas. + - PR#114: The LaTeX writer now includes the "cmap" package by default. The + ``'cmappkg'`` item in :confval:`latex_elements` can be used to control this. + Thanks to Dmitry Shachnev. + - The ``'fontpkg'`` item in :confval:`latex_elements` now defaults to ``''`` + when the :confval:`language` uses the Cyrillic script. Suggested by Dmitry + Shachnev. + - The :confval:`latex_documents`, :confval:`texinfo_documents`, and + :confval:`man_pages` configuration values will be set to default values based + on the :confval:`master_doc` if not explicitly set in :file:`conf.py`. + Previously, if these values were not set, no output would be genereted by + their respective builders. + +* Internationalization: + + - Add i18n capabilities for custom templates. For example: The Sphinx + reference documentation in doc directory provides a ``sphinx.pot`` file with + message strings from ``doc/_templates/*.html`` when using ``make gettext``. + +* Other builders: + + - Added the Docutils-native XML and pseudo-XML builders. See + :class:`XMLBuilder` and :class:`PseudoXMLBuilder`. + - PR#45: The linkcheck builder now checks ``#anchor``\ s for existence. + - PR#123, #1106: Add epub_use_index configuration value. If provided, it will + be used instead of html_use_index for epub builder. + +* Extensions: + + - PR#52: ``special_members`` flag to autodoc now behaves like ``members``. + - PR#47: Added :mod:`sphinx.ext.linkcode` extension. + - PR#25: In inheritance diagrams, the first line of the class docstring + is now the tooltip for the class. + +* Command-line interfaces: + + - PR#75: Added ``--follow-links`` option to sphinx-apidoc. + - #869: sphinx-build now has the option :option:`-T` for printing the full + traceback after an unhandled exception. + - sphinx-build now supports the standard :option:`--help` and + :option:`--version` options. + - sphinx-build now provides more specific error messages when called with + invalid options or arguments. + - sphinx-build now has a verbose option :option:`-v` which can be repeated for + greater effect. A single occurrance provides a slightly more verbose output + than normal. Two or more occurrences of this option provides more detailed + output which may be useful for debugging. + +* Locales: + + - PR#74: Fix some Russian translation. + - PR#54: Added Norwegian bokmaal translation. + - PR#35: Added Slovak translation. + - PR#28: Added Hungarian translation. + - #1113: Add Hebrew locale. + - #1097: Add Basque locale. + - #1037: Fix typos in Polish translation. Thanks to Jakub Wilk. + - #1012: Update Estonian translation. + +* Optimizations: + + - Speed up building the search index by caching the results of the word + stemming routines. Saves about 20 seconds when building the Python + documentation. + - PR#108: Add experimental support for parallel building with a new + :option:`-j` option. + +Documentation +------------- + +* PR#88: Added the "Sphinx Developer's Guide" (:file:`doc/devguide.rst`) + which outlines the basic development process of the Sphinx project. +* Added a detailed "Installing Sphinx" document (:file:`doc/install.rst`). + +Bugs fixed +---------- + +* PR#124: Fix paragraphs in versionmodified are ignored when it has no + dangling paragraphs. Fix wrong html output (nested ``

`` tag). Fix + versionmodified is not translatable. Thanks to Nozomu Kaneko. +* PR#111: Respect add_autodoc_attrgetter() even when inherited-members is set. + Thanks to A. Jesse Jiryu Davis. +* PR#97: Fix footnote handling in translated documents. +* Fix text writer not handling visit_legend for figure directive contents. +* Fix text builder not respecting wide/fullwidth characters: title underline + width, table layout width and text wrap width. +* Fix leading space in LaTeX table header cells. +* #1132: Fix LaTeX table output for multi-row cells in the first column. +* #1128: Fix Unicode errors when trying to format time strings with a + non-standard locale. +* #1127: Fix traceback when autodoc tries to tokenize a non-Python file. +* #1126: Fix double-hyphen to en-dash conversion in wrong places such as + command-line option names in LaTeX. +* #1123: Allow whitespaces in filenames given to :rst:dir:`literalinclude`. +* #1120: Added improvements about i18n for themes "basic", "haiku" and + "scrolls" that Sphinx built-in. Thanks to Leonardo J. Caballero G. +* #1118: Updated Spanish translation. Thanks to Leonardo J. Caballero G. +* #1117: Handle .pyx files in sphinx-apidoc. +* #1112: Avoid duplicate download files when referenced from documents in + different ways (absolute/relative). +* #1111: Fix failure to find uppercase words in search when + :confval:`html_search_language` is 'ja'. Thanks to Tomo Saito. +* #1108: The text writer now correctly numbers enumerated lists with + non-default start values (based on patch by Ewan Edwards). +* #1102: Support multi-context "with" statements in autodoc. +* #1090: Fix gettext not extracting glossary terms. +* #1074: Add environment version info to the generated search index to avoid + compatibility issues with old builds. +* #1070: Avoid un-pickling issues when running Python 3 and the saved + environment was created under Python 2. +* #1069: Fixed error caused when autodoc would try to format signatures of + "partial" functions without keyword arguments (patch by Artur Gaspar). +* #1062: sphinx.ext.autodoc use __init__ method signature for class signature. +* #1055: Fix web support with relative path to source directory. +* #1043: Fix sphinx-quickstart asking again for yes/no questions because + ``input()`` returns values with an extra '\r' on Python 3.2.0 + + Windows. Thanks to Régis Décamps. +* #1041: Fix failure of the cpp domain parser to parse a const type with a + modifier. +* #1038: Fix failure of the cpp domain parser to parse C+11 "static constexpr" + declarations. Thanks to Jakub Wilk. +* #1029: Fix intersphinx_mapping values not being stable if the mapping has + plural key/value set with Python 3.3. +* #1028: Fix line block output in the text builder. +* #1024: Improve Makefile/make.bat error message if Sphinx is not found. Thanks + to Anatoly Techtonik. +* #1018: Fix "container" directive handling in the text builder. +* #1015: Stop overriding jQuery contains() in the JavaScript. +* #1010: Make pngmath images transparent by default; IE7+ should handle it. +* #1008: Fix test failures with Python 3.3. +* #995: Fix table-of-contents and page numbering for the LaTeX "howto" class. +* #976: Fix gettext does not extract index entries. +* PR#72: #975: Fix gettext not extracting definition terms before docutils 0.10. +* #961: Fix LaTeX output for triple quotes in code snippets. +* #958: Do not preserve ``environment.pickle`` after a failed build. +* #955: Fix i18n transformation. +* #940: Fix gettext does not extract figure caption. +* #920: Fix PIL packaging issue that allowed to import ``Image`` without PIL + namespace. Thanks to Marc Schlaich. +* #723: Fix the search function on local files in WebKit based browsers. +* #440: Fix coarse timestamp resolution in some filesystem generating a wrong + list of outdated files. + Release 1.1.3 (Mar 10, 2012) ============================ @@ -832,1250 +857,9 @@ Features added "striptags" Jinja filter. -Release 0.6.7 (Jun 05, 2010) -============================ +Previous versions +================= -* #440: Remove usage of a Python >= 2.5 API in the ``literalinclude`` - directive. - -* Fix a bug that prevented some references being generated in the - LaTeX builder. - -* #428: Add some missing CSS styles for standard docutils classes. - -* #432: Fix UnicodeErrors while building LaTeX in translated locale. - - -Release 0.6.6 (May 25, 2010) -============================ - -* Handle raw nodes in the ``text`` writer. - -* Fix a problem the Qt help project generated by the ``qthelp`` - builder that would lead to no content being displayed in the Qt - Assistant. - -* #393: Fix the usage of Unicode characters in mathematic formulas - when using the ``pngmath`` extension. - -* #404: Make ``\and`` work properly in the author field of the - ``latex_documents`` setting. - -* #409: Make the ``highlight_language`` config value work properly - in the LaTeX builder. - -* #418: Allow relocation of the translation JavaScript files to - the system directory on Unix systems. - -* #414: Fix handling of Windows newlines in files included with - the ``literalinclude`` directive. - -* #377: Fix crash in linkcheck builder. - -* #387: Fix the display of search results in ``dirhtml`` output. - -* #376: In autodoc, fix display of parameter defaults containing - backslashes. - -* #370: Fix handling of complex list item labels in LaTeX output. - -* #374: Make the ``doctest_path`` config value of the doctest - extension actually work. - -* Fix the handling of multiple toctrees when creating the global - TOC for the ``toctree()`` template function. - -* Fix the handling of hidden toctrees when creating the global TOC - for the ``toctree()`` template function. - -* Fix the handling of nested lists in the text writer. - -* #362: In autodoc, check for the existence of ``__self__`` on - function objects before accessing it. - -* #353: Strip leading and trailing whitespace when extracting - search words in the search function. - - -Release 0.6.5 (Mar 01, 2010) -============================ - -* In autodoc, fix the omission of some module members explicitly - documented using documentation comments. - -* #345: Fix cropping of sidebar scroll bar with ``stickysidebar`` - option of the default theme. - -* #341: Always generate UNIX newlines in the quickstart Makefile. - -* #338: Fix running with ``-C`` under Windows. - -* In autodoc, allow customizing the signature of an object where - the built-in mechanism fails. - -* #331: Fix output for enumerated lists with start values in LaTeX. - -* Make the ``start-after`` and ``end-before`` options to the - ``literalinclude`` directive work correctly if not used together. - -* #321: Fix link generation in the LaTeX builder. - - -Release 0.6.4 (Jan 12, 2010) -============================ - -* Improve the handling of non-Unicode strings in the configuration. - -* #316: Catch OSErrors occurring when calling graphviz with - arguments it doesn't understand. - -* Restore compatibility with Pygments >= 1.2. - -* #295: Fix escaping of hyperref targets in LaTeX output. - -* #302: Fix links generated by the ``:doc:`` role for LaTeX output. - -* #286: collect todo nodes after the whole document has been read; - this allows placing substitution references in todo items. - -* #294: do not ignore an explicit ``today`` config value in a - LaTeX build. - -* The ``alt`` text of inheritance diagrams is now much cleaner. - -* Ignore images in section titles when generating link captions. - -* #310: support exception messages in the ``testoutput`` blocks of - the ``doctest`` extension. - -* #293: line blocks are styled properly in HTML output. - -* #285: make the ``locale_dirs`` config value work again. - -* #303: ``html_context`` values given on the command line via ``-A`` - should not override other values given in conf.py. - -* Fix a bug preventing incremental rebuilds for the ``dirhtml`` - builder. - -* #299: Fix the mangling of quotes in some literal blocks. - -* #292: Fix path to the search index for the ``dirhtml`` builder. - -* Fix a Jython compatibility issue: make the dependence on the - ``parser`` module optional. - -* #238: In autodoc, catch all errors that occur on module import, - not just ``ImportError``. - -* Fix the handling of non-data, but non-method descriptors in autodoc. - -* When copying file times, ignore OSErrors raised by ``os.utime()``. - - -Release 0.6.3 (Sep 03, 2009) -============================ - -* Properly add C module filenames as dependencies in autodoc. - -* #253: Ignore graphviz directives without content instead of - raising an unhandled exception. - -* #241: Fix a crash building LaTeX output for documents that contain - a todolist directive. - -* #252: Make it easier to change the build dir in the Makefiles - generated by quickstart. - -* #220: Fix CSS so that displaymath really is centered. - -* #222: Allow the "Footnotes" header to be translated. - -* #225: Don't add whitespace in generated HTML after inline tags. - -* #227: Make ``literalinclude`` work when the document's path - name contains non-ASCII characters. - -* #229: Fix autodoc failures with members that raise errors - on ``getattr()``. - -* #205: When copying files, don't copy full stat info, only - modification times. - -* #232: Support non-ASCII metadata in Qt help builder. - -* Properly format bullet lists nested in definition lists for LaTeX. - -* Section titles are now allowed inside ``only`` directives. - -* #201: Make ``centered`` directive work in LaTeX output. - -* #206: Refuse to overwrite an existing master document in - sphinx-quickstart. - -* #208: Use MS-sanctioned locale settings, determined by the - ``language`` config option, in the HTML help builder. - -* #210: Fix nesting of HTML tags for displayed math from pngmath - extension. - -* #213: Fix centering of images in LaTeX output. - -* #211: Fix compatibility with docutils 0.5. - - -Release 0.6.2 (Jun 16, 2009) -============================ - -* #130: Fix obscure IndexError in doctest extension. - -* #167: Make glossary sorting case-independent. - -* #196: Add a warning if an extension module doesn't have a - ``setup()`` function. - -* #158: Allow '..' in template names, and absolute template paths; - Jinja 2 by default disables both. - -* When highlighting Python code, ignore extra indentation before - trying to parse it as Python. - -* #191: Don't escape the tilde in URIs in LaTeX. - -* Don't consider contents of source comments for the search index. - -* Set the default encoding to ``utf-8-sig`` to handle files with a - UTF-8 BOM correctly. - -* #178: apply ``add_function_parentheses`` config value to C - functions as promised. - -* #173: Respect the docutils ``title`` directive. - -* #172: The ``obj`` role now links to modules as promised. - -* #19: Tables now can have a "longtable" class, in order to get - correctly broken into pages in LaTeX output. - -* Look for Sphinx message catalogs in the system default path before - trying ``sphinx/locale``. - -* Fix the search for methods via "classname.methodname". - -* #155: Fix Python 2.4 compatibility: exceptions are old-style - classes there. - -* #150: Fix display of the "sphinxdoc" theme on Internet Explorer - versions 6 and 7. - -* #146: Don't fail to generate LaTeX when the user has an active - ``.docutils`` configuration. - -* #29: Don't generate visible "-{-}" in option lists in LaTeX. - -* Fix cross-reference roles when put into substitutions. - -* Don't put image "alt" text into table-of-contents entries. - -* In the LaTeX writer, do not raise an exception on too many section - levels, just use the "subparagraph" level for all of them. - -* #145: Fix autodoc problem with automatic members that refuse to be - getattr()'d from their parent. - -* If specific filenames to build are given on the command line, - check that they are within the source directory. - -* Fix autodoc crash for objects without a ``__name__``. - -* Fix intersphinx for installations without urllib2.HTTPSHandler. - -* #134: Fix pending_xref leftover nodes when using the todolist - directive from the todo extension. - - -Release 0.6.1 (Mar 26, 2009) -============================ - -* #135: Fix problems with LaTeX output and the graphviz extension. - -* #132: Include the autosummary "module" template in the distribution. - - -Release 0.6 (Mar 24, 2009) -========================== - -New features added ------------------- - -* Incompatible changes: - - - Templating now requires the Jinja2 library, which is an enhanced - version of the old Jinja1 engine. Since the syntax and semantic - is largely the same, very few fixes should be necessary in - custom templates. - - - The "document" div tag has been moved out of the ``layout.html`` - template's "document" block, because the closing tag was already - outside. If you overwrite this block, you need to remove your - "document" div tag as well. - - - The ``autodoc_skip_member`` event now also gets to decide - whether to skip members whose name starts with underscores. - Previously, these members were always automatically skipped. - Therefore, if you handle this event, add something like this - to your event handler to restore the old behavior:: - - if name.startswith('_'): - return True - -* Theming support, see the new section in the documentation. - -* Markup: - - - Due to popular demand, added a ``:doc:`` role which directly - links to another document without the need of creating a - label to which a ``:ref:`` could link to. - - - #4: Added a ``:download:`` role that marks a non-document file - for inclusion into the HTML output and links to it. - - - Added an ``only`` directive that can selectively include text - based on enabled "tags". Tags can be given on the command - line. Also, the current builder output format (e.g. "html" or - "latex") is always a defined tag. - - - #10: Added HTML section numbers, enabled by giving a - ``:numbered:`` flag to the ``toctree`` directive. - - - #114: Added an ``abbr`` role to markup abbreviations and - acronyms. - - - The ``literalinclude`` directive now supports several more - options, to include only parts of a file. - - - The ``toctree`` directive now supports a ``:hidden:`` flag, - which will prevent links from being generated in place of - the directive -- this allows you to define your document - structure, but place the links yourself. - - - #123: The ``glossary`` directive now supports a ``:sorted:`` - flag that sorts glossary entries alphabetically. - - - Paths to images, literal include files and download files - can now be absolute (like ``/images/foo.png``). They are - treated as relative to the top source directory. - - - #52: There is now a ``hlist`` directive, creating a compact - list by placing distributing items into multiple columns. - - - #77: If a description environment with info field list only - contains one ``:param:`` entry, no bullet list is generated. - - - #6: Don't generate redundant ``