Accepting request 905849 from home:marxin:branches:devel:languages:python

- Bump to 4.1.0:
  * Support jinja2-3.0
  * The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes
    required
  * ``sphinx.application.Sphinx.html_theme``
  * ``sphinx.ext.autosummary._app``
  * ``sphinx.util.docstrings.extract_metadata()``
  * #8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass`
    directive to control the content of the specific class like
    :confval:`autoclass_content`
  * #8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It
    allows you to define an alias for a class with module name like
    ``foo.bar.BazClass``
  * #9175: autodoc: Special member is not documented in the module
  * #9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered
  * #9185: autodoc: :confval:`autodoc_typehints` allows ``'both'`` setting to
    allow typehints to be included both in the signature and description
  * #4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class
    entry and the definition of ``__init__()`` method
  * #8061, #9218: autodoc: Support variable comment for alias classes
  * #3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes
    of the class definitions
  * #9272: autodoc: Render enum values for the default argument value better
  * #9384: autodoc: ``autodoc_typehints='none'`` now erases typehints for
    variables, attributes and properties
  * #3257: autosummary: Support instance attributes for classes
  * #9358: html: Add "heading" role to the toctree items
  * #9225: html: Add span tag to the return typehint of method/function
  * #9129: html search: Show search summaries when html_copy_source = False
  * #9307: html search: Prevent corrections and completions in search field

OBS-URL: https://build.opensuse.org/request/show/905849
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=189
This commit is contained in:
Matej Cepl 2021-07-12 13:34:48 +00:00 committed by Git OBS Bridge
parent c21cc6f6c2
commit 27af2112bd
7 changed files with 116 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5c2ae4120bf00c799ba9b3699bc895816d272d120080fbc967292f29b52b48c
size 6162889

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmCmXNgACgkQECwsF0mN
a55aKA//bs3ITCShz50GQmFIT3f3PG/OZI8MdNsGIXeppHewYnQCDUyabZmcS9VD
gKxKlZ2mqtZWnMh7d3TCeADTCBNo5cNGeQSMQCku36TlzUJMurQqlNVho7Qivb0Y
hNjxTTOUI0S9QNKhjZ+rMIQ5T8LxhqYCUQfWtzSA3Z3HwuEnCYX/pbb4ruoUaNxD
YSAp/9Cv22YDLjjOTi0dQ/aOlZr29SN2wu0U9bkdlhZ6cCBaNCLBZ1AQmbtw9FxG
lf4iLITebcLS6Fc+WSEyezwutOOUHlA9xLUL+dfrTvXjb2cHLLYsOm3+DG9JRUL8
yA2rXz8hSE5TvWDf9y3IV+4+lFIL0wMtRF2uv4bf+zeWhfO9hibb0ervkmIS4fha
f/H/ciuHkZw1KjZZwnWiZh/GgC4HEEM2gtDDAqff5WvCQclo9YcVzeowpRb/5U9j
lo2VrT9SGEmAIYeNA8XDozE+XfSwdavbY8cTygruEgRWF691C4OXQ3N8JytkVC4Z
4aVZgEPhDuKfL1BRrST8uRFL8v7ZoGoz5OAgCtyH55ilcTlGU1IXvCEZRJ2km6cB
NKWYNdbkqtGaShwa4crAP1Mi/JhwI5c5R2w/rH7qvUIUOuNTlq18o1WdkkaufMG7
hm6OFmh2T5zJRB6jkO9ysU1xHJPEwTVbc/ievm31/c0RuvnzR8s=
=B2Y1
-----END PGP SIGNATURE-----

3
Sphinx-4.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4219f14258ca5612a0c85ed9b7222d54da69724d7e9dd92d1819ad1bf65e1ad2
size 6302885

16
Sphinx-4.1.0.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmDrJpcACgkQECwsF0mN
a57s6g//X5gQpMcwXee1SPSpYkZQ76Uo50ZXkiZ2n6GeEJ6qXqH0D1k14MWJJjr0
WwgrXEmo+MAMp1ho2pge8DHGrJNs+v004CE62fICXcfZS+jQ/zENogrDYXIRxYoV
92b9jIruOczexXc9H0zARs6mbhmf2vQpLxTpsmTQSYMWy+lruDLZ6jsqS6CnTWk1
DfEQWyoYJCSO8snkzHxe7PSD7URhWiVnR7QgcCpniKc0RkGDpK8exAfJaAN7PEMU
pN6WOYQqtAHxfBo6Ce1rqJbC+y6UEQ2qD75GuzzUhvpr1bY6JJPN3HeKdO5x4cHd
w3jviJ1J0MwmjY26DfSleUv46BpfbObu1MjR1y7ieoJZ++BLcrt0TKwzTtmXJ3Br
spUBgvCU4PfKCxG7mMrUjUiS27CnNhzvvMgrPkBUN0EJwkQczzozBJQ/Hm4obhQu
s4mrwizexlfMrcoLK/9gzBHk0nURDkyRs+roEuZ7bKA9Whx4f4Hgt1+xcW1v9Iae
b0QD4B0vceWESUQhu36z4nXR8Fs7ZGc97J4m3d+YwCnEpNzVu1beoB6u0Jd/QGhU
UigYDz0kdx9GTpO37YNwO+J4Qp5vNmLi7VzPjIHGz8ViYBDj4ODksduh1C7lgDBp
gKYK0eXurqo8JIUhAo3IFEpAsHrSIreJfuWoynhjaKlFMTx175o=
=KxS+
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,97 @@
-------------------------------------------------------------------
Mon Jul 12 10:14:42 UTC 2021 - Martin Liška <mliska@suse.cz>
- Bump to 4.1.0:
* Support jinja2-3.0
* The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes
required
* ``sphinx.application.Sphinx.html_theme``
* ``sphinx.ext.autosummary._app``
* ``sphinx.util.docstrings.extract_metadata()``
* #8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass`
directive to control the content of the specific class like
:confval:`autoclass_content`
* #8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It
allows you to define an alias for a class with module name like
``foo.bar.BazClass``
* #9175: autodoc: Special member is not documented in the module
* #9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered
* #9185: autodoc: :confval:`autodoc_typehints` allows ``'both'`` setting to
allow typehints to be included both in the signature and description
* #4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class
entry and the definition of ``__init__()`` method
* #8061, #9218: autodoc: Support variable comment for alias classes
* #3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes
of the class definitions
* #9272: autodoc: Render enum values for the default argument value better
* #9384: autodoc: ``autodoc_typehints='none'`` now erases typehints for
variables, attributes and properties
* #3257: autosummary: Support instance attributes for classes
* #9358: html: Add "heading" role to the toctree items
* #9225: html: Add span tag to the return typehint of method/function
* #9129: html search: Show search summaries when html_copy_source = False
* #9307: html search: Prevent corrections and completions in search field
* #9120: html theme: Eliminate prompt characters of code-block from copyable
text
* #9176: i18n: Emit a debug message if message catalog file not found under
:confval:`locale_dirs`
* #9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents
* #9016: linkcheck: Support checking anchors on github.com
* #9016: linkcheck: Add a new event :event:`linkcheck-process-uri` to modify
URIs before checking hyperlinks
* #6525: linkcheck: Add :confval:`linkcheck_allowed_redirects` to mark
hyperlinks that are redirected to expected URLs as "working"
* #1874: py domain: Support union types using ``|`` in info-field-list
* #9268: py domain: :confval:`python_use_unqualified_type_names` supports type
field in info-field-list
* #9097: Optimize the parallel build
* #9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using
regular expressions
* #9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include
HTML assets in all the pages. Extensions can check this via
``Sphinx.registry.html_assets_policy``
* C++, add support for
- ``inline`` variables,
- ``consteval`` functions,
- ``constinit`` variables,
- ``char8_t``,
- ``explicit(<constant expression>)`` specifier,
- digit separators in literals, and
- constraints in placeholder type specifiers, aka. adjective syntax
(e.g., ``Sortable auto &v``).
* C, add support for digit separators in literals.
* #9166: LaTeX: support containers in LaTeX output
* #8872: autodoc: stacked singledispatches are wrongly rendered
* #8597: autodoc: a docsting having metadata only should be treated as
undocumented
* #9185: autodoc: typehints for overloaded functions and methods are inaccurate
* #9250: autodoc: The inherited method not having docstring is wrongly parsed
* #9283: autodoc: autoattribute directive failed to generate document for an
attribute not having any comment
* #9364: autodoc: single element tuple on the default argument value is wrongly
rendered
* #9362: autodoc: AttributeError is raised on processing a subclass of Tuple[()]
* #9404: autodoc: TypeError is raised on processing dict-like object (not a
class) via autoclass directive
* #9317: html: Pushing left key causes visiting the next page at the first page
* #9381: html: URL for html_favicon and html_log does not work
* #9270: html theme : pyramid theme generates incorrect logo links
* #9217: manpage: The name of manpage directory that is generated by
:confval:`man_make_section_directory` is not correct
* #9350: manpage: Fix font isn't reset after keyword at the top of samp role
* #9306: Linkcheck reports broken link when remote server closes the connection
on HEAD request
* #9280: py domain: "exceptions" module is not displayed
* #9418: py domain: a Callable annotation with no parameters
(e.g. ``Callable[[], None])`` will be rendered with a bracket missing
(``Callable[], None]``)
* #9319: quickstart: Make sphinx-quickstart exit when conf.py already exists
* #9387: xml: XML Builder ignores custom visitors
* #9224: ``:param:`` and ``:type:`` fields does not support a type containing
whitespace (ex. ``Dict[str, str]``)
* #8945: when transforming typed fields, call the specified role instead of
making an single xref. For C and C++, use the ``expr`` role for typed fields.
-------------------------------------------------------------------
Sat Jun 5 13:18:44 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -28,7 +28,7 @@
%endif
%define skip_python2 1
Name: python-Sphinx%{psuffix}
Version: 4.0.2
Version: 4.1.0
Release: 0
Summary: Python documentation generator
License: BSD-2-Clause

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60413c0f159313ccdb6d4b8449939679a2b084f024b3dabe5435bcd0026e7638
size 109631
oid sha256:e22c7db00fb456674f944d0e6ffc8405c6c97a0eda9db250a7eb82b952cb5251
size 109685