forked from pool/python-Sphinx
Accepting request 965338 from home:marxin:branches:devel:languages:python
- Update to version 4.5.0: * #10112: extlinks: Disable hardcoded links detector by default * #9993, #10177: std domain: Disallow to refer an inline target via :rst:role:`ref` role * ``sphinx.ext.napoleon.docstring.GoogleDocstring._qualify_name()`` * #10260: Enable ``FORCE_COLOR`` and ``NO_COLOR`` for terminal colouring * #10234: autosummary: Add "autosummary" CSS class to summary tables * #10125: extlinks: Improve suggestion message for a reference having title * #10112: extlinks: Add :confval:`extlinks_detect_hardcoded_links` to enable hardcoded links detector feature * #9494, #9456: html search: Add a config variable :confval:`html_show_search_summary` to enable/disable the search summaries * #9337: HTML theme, add option ``enable_search_shortcuts`` that enables :kbd:'/' as a Quick search shortcut and :kbd:`Esc` shortcut that removes search highlighting. * #10107: i18n: Allow to suppress translation warnings by adding ``#noqa`` comment to the tail of each translation message * #10252: C++, support attributes on classes, unions, and enums. * #10253: :rst:dir:`pep` role now generates URLs based on peps.python.org * #9876: autodoc: Failed to document an imported class that is built from native binary module * #10133: autodoc: Crashed when mocked module is used for type annotation * #10146: autodoc: :confval:`autodoc_default_options` does not support ``no-value`` option * #9971: autodoc: TypeError is raised when the target object is annotated by unhashable object * #10205: extlinks: Failed to compile regexp on checking hardcoded links * #10277: html search: Could not search short words (ex. "use") * #9529: LaTeX: named auto numbered footnote (ex. ``[#named]``) that is referred multiple times was rendered to a question mark OBS-URL: https://build.opensuse.org/request/show/965338 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=206
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 4.4.0
|
||||
Version: 4.5.0
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
@@ -38,7 +38,7 @@ Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
|
||||
# Provide intersphinx inventory offline
|
||||
# https://docs.python.org/3/objects.inv#/python3.inv
|
||||
Source2: python3.inv
|
||||
# https://requests.readthedocs.io/en/master/objects.inv#/requests.inv
|
||||
# https://docs.python-requests.org/en/master/objects.inv#/requests.inv
|
||||
Source3: requests.inv
|
||||
# https://docs.readthedocs.io/en/stable/objects.inv#/readthedocs.inv
|
||||
Source4: readthedocs.inv
|
||||
@@ -248,7 +248,7 @@ cp %{SOURCE4} doc/readthedocs.inv
|
||||
# Use a more recent default (currently 3.9) from the source tag instead.
|
||||
# The same for requests.
|
||||
sed -i -e "s/\((.https:..docs.python.org.3.., \)None\()\)/\1'python3.inv'\2/g" doc/conf.py
|
||||
sed -i -e "s/\((.https:..requests.readthedocs.io.*, \)None\()\)/\1'requests.inv'\2/g" doc/conf.py
|
||||
sed -i -e "s/\((.https:..docs.python-requests.org.*, \)None\()\)/\1'requests.inv'\2/g" doc/conf.py
|
||||
sed -i -e "s/\((.https:..docs.readthedocs.io.*, \)None\()\)/\1'readthedocs.inv'\2/g" doc/conf.py
|
||||
$python setup.py build_sphinx
|
||||
rm build/sphinx/html/.buildinfo
|
||||
|
Reference in New Issue
Block a user