Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Mar 28, 2019
2 parents a224615 + 4cfcef6 commit e008da9
Show file tree
Hide file tree
Showing 156 changed files with 51,932 additions and 47,068 deletions.
101 changes: 46 additions & 55 deletions CHANGES
Expand Up @@ -59,8 +59,8 @@ Bugs fixed
Testing
--------

Release 2.0.0 beta3 (in development)
====================================
Release 2.0.1 (in development)
==============================

Dependencies
------------
Expand All @@ -80,47 +80,14 @@ Bugs fixed
Testing
--------

Release 2.0.0 beta2 (released Mar 21, 2019)
===========================================

Incompatible changes
--------------------

* texinfo: image files are copied into ``name-figure`` directory

Bugs fixed
----------

* #6096: html: Anchor links are not added to figures
* #3620: html: Defer searchindex.js rather than loading it via ajax
* #6113: html: Table cells and list items have large margins
* #5508: ``linenothreshold`` option for ``highlight`` directive was ignored
* texinfo: ``make install-info`` causes syntax error
* texinfo: ``make install-info`` fails on macOS
* #3079: texinfo: image files are not copied on ``make install-info``
* #5391: A cross reference in heading is rendered as literal
* #5946: C++, fix ``cpp:alias`` problems in LaTeX (and singlehtml)
* #6147: classes attribute of ``citation_reference`` node is lost
* AssertionError is raised when custom ``citation_reference`` node having
classes attribute refers missing citation (refs: #6147)
* #2155: Support ``code`` directive
* C++, fix parsing of braced initializers.
* #6172: AttributeError is raised for old styled index nodes
* #4872: inheritance_diagram: correctly describe behavior of ``parts`` option in
docs, allow negative values.
* #6178: i18n: Captions missing in translations for hidden TOCs

Testing
--------

* Add a helper function: ``sphinx.testing.restructuredtext.parse()``

Release 2.0.0 beta1 (in development)
====================================
Release 2.0.0 (released Mar 29, 2019)
=====================================

Dependencies
------------

2.0.0b1

* LaTeX builder now depends on TeX Live 2015 or above.
* LaTeX builder (with ``'pdflatex'`` :confval:`latex_engine`) will process
Unicode Greek letters in text (not in math mark-up) via the text font and
Expand Down Expand Up @@ -148,8 +115,11 @@ Dependencies
Incompatible changes
--------------------

2.0.0b1

* Drop python 2.7 and 3.4 support
* Drop docutils 0.11 support
* Drop features and APIs deprecated in 1.7.x
* The default setting for :confval:`master_doc` is changed to ``'index'`` which
has been longly used as default of sphinx-quickstart.
* LaTeX: Move message resources to ``sphinxmessage.sty``
Expand Down Expand Up @@ -190,9 +160,15 @@ Incompatible changes
* #4550: All tables and figures without ``align`` option are displayed to center
* #4587: html: Output HTML5 by default

2.0.0b2

* texinfo: image files are copied into ``name-figure`` directory

Deprecated
----------

2.0.0b1

* Support for evaluating Python 2 syntax is deprecated. This includes
configuration files which should be converted to Python 3.
* The arguments of ``EpubBuilder.build_mimetype()``,
Expand Down Expand Up @@ -280,6 +256,8 @@ For more details, see :ref:`deprecation APIs list <dev-deprecated-apis>`.
Features added
--------------

2.0.0b1

* #1618: The search results preview of generated HTML documentation is
reader-friendlier: instead of showing the snippets as raw reStructuredText
markup, Sphinx now renders the corresponding HTML. This means the Sphinx
Expand Down Expand Up @@ -329,6 +307,8 @@ Features added
Bugs fixed
----------

2.0.0b1

* #1682: LaTeX: writer should not translate Greek unicode, but use textgreek
package
* #5247: LaTeX: PDF does not build with default font config for Russian
Expand All @@ -350,30 +330,41 @@ Bugs fixed
* HTML search: search always returns nothing when multiple search terms are
used and one term is shorter than three characters

Testing
--------
2.0.0b2

* Stop to use ``SPHINX_TEST_TEMPDIR`` envvar
* #6096: html: Anchor links are not added to figures
* #3620: html: Defer searchindex.js rather than loading it via ajax
* #6113: html: Table cells and list items have large margins
* #5508: ``linenothreshold`` option for ``highlight`` directive was ignored
* texinfo: ``make install-info`` causes syntax error
* texinfo: ``make install-info`` fails on macOS
* #3079: texinfo: image files are not copied on ``make install-info``
* #5391: A cross reference in heading is rendered as literal
* #5946: C++, fix ``cpp:alias`` problems in LaTeX (and singlehtml)
* #6147: classes attribute of ``citation_reference`` node is lost
* AssertionError is raised when custom ``citation_reference`` node having
classes attribute refers missing citation (refs: #6147)
* #2155: Support ``code`` directive
* C++, fix parsing of braced initializers.
* #6172: AttributeError is raised for old styled index nodes
* #4872: inheritance_diagram: correctly describe behavior of ``parts`` option in
docs, allow negative values.
* #6178: i18n: Captions missing in translations for hidden TOCs

Release 1.8.6 (in development)
2.0.0 final

Dependencies
------------
* #6196: py domain: unexpected prefix is generated

Incompatible changes
--------------------
Testing
--------

Deprecated
----------
2.0.0b1

Features added
--------------
* Stop to use ``SPHINX_TEST_TEMPDIR`` envvar

Bugs fixed
----------
2.0.0b2

Testing
--------
* Add a helper function: ``sphinx.testing.restructuredtext.parse()``

Release 1.8.5 (released Mar 10, 2019)
=====================================
Expand Down
3 changes: 2 additions & 1 deletion sphinx/domains/python.py
Expand Up @@ -261,7 +261,8 @@ def handle_signature(self, sig, signode):
classname = self.env.ref_context.get('py:class')
if classname:
add_module = False
if prefix and prefix.startswith(classname):
if prefix and (prefix == classname or
prefix.startswith(classname + ".")):
fullname = prefix + name
# class name is given again in the signature
prefix = prefix[len(classname):].lstrip('.')
Expand Down
2 changes: 1 addition & 1 deletion sphinx/locale/ar/LC_MESSAGES/sphinx.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified sphinx/locale/ar/LC_MESSAGES/sphinx.mo
Binary file not shown.

0 comments on commit e008da9

Please sign in to comment.