Subject: CVS commit: pkgsrc/textproc/py-sphinx
From: Adam Ciarcinski
Date: 2021-11-11 09:59:09
Message id: 20211111085909.CD2E0FAEC@cvs.NetBSD.org

Log Message:
py-sphinx: updated to 4.3.0

Release 4.3.0

Dependencies
Support Python 3.10

Incompatible changes
* searchindex.js: the embedded data has changed format to allow objects with the \ 
same name in different domains.
* The rendering of Python domain declarations is implemented with more docutils \ 
nodes to allow better CSS styling. It may break existing styling.
* the signature of domains.py.PyObject.get_signature_prefix() has changed to \ 
return a list of nodes instead of a plain string.
* domains.js.JSObject.display_prefix has been changed into a method \ 
get_display_prefix which now returns a list of nodes instead of a plain string.
* The rendering of Javascript domain declarations is implemented with more \ 
docutils nodes to allow better CSS styling. It may break existing styling.
* mathjax: Load MathJax via “defer” strategy

Deprecated
sphinx.ext.autodoc.AttributeDocumenter._datadescriptor
sphinx.writers.html.HTMLTranslator._fieldlist_row_index
sphinx.writers.html.HTMLTranslator._table_row_index
sphinx.writers.html5.HTML5Translator._fieldlist_row_index
sphinx.writers.html5.HTML5Translator._table_row_index

Features added
* autodoc: Support asynchronous generator functions
* autodoc: autodoc-process-bases supports to inject reST snippet as a base class
* C, added new info-field retval for c:function and c:macro.
C++, added new info-field retval for cpp:function.
* i18n: Add gettext_allow_fuzzy_translations to allow “fuzzy” messages for \ 
translation
* More CSS classes on Python domain descriptions
* More CSS classes on Javascript domain descriptions
* Revert the removal of add_stylesheet() API. It will be kept until the \ 
Sphinx-6.0 release
* add intersphinx_disabled_reftypes for disabling interphinx resolution of \ 
cross-references that do not have an explicit inventory specification. Specific \ 
types of cross-references can be disabled, e.g., std:doc or all cross-references \ 
in a specific domain, e.g., std:*.
* Allow to suppress “toctree contains reference to excluded document” \ 
warnings using suppress_warnings

Bugs fixed
* autodoc: Failed to build cross references if primary_domain is not ‘py’
* autodoc: Crashed on getting source info from problematic object
* autodoc: mocked object having doc comment is warned unexpectedly
* autodoc: return type field is not generated even if \ 
autodoc_typehints_description_target is set to “documented” when its \ 
info-field-list contains :returns: field
* autodoc: The base class for a subclass of mocked object is incorrect
* autodoc: Incorrect base class detection for the subclasses of the generic class
* autodoc: memory addresses are shown for aliases
* autodoc: Failed to detect type annotation for slots attribute
* autodoc: Crashed if classmethod does not have __func__ attribute
* autodoc: autodoc_inherit_docstrings does not effect to overriden classmethods
* autodoc: autodoc_preserve_defaults does not support hexadecimal numeric
* autosummary: Failed to build summary table if primary_domain is not ‘py’
* html: Fix download file with special characters
* html: Wrong styles for even/odd rows in nested tables
* html: parameter name and its type annotation are not separated in HTML
* HTML search: when objects have the same name but in different domains, return \ 
all of them as result instead of just one.
* intersphinx: references on the file in sub directory are broken
* LaTeX: hlist is rendered as a list containing “aggedright” text
* linkcheck: file extension was shown twice in warnings
* py domain: An index entry with parens was registered for py:method directive \ 
with :property: option
* py domain: Literal typehint was converted to a cross reference when \ 
autodoc_typehints='description'
* needs_extension failed to check double-digit version correctly
* Fix code` does not recognize :class: option
* Fix for logging handler flushing warnings in the middle of the docs build
* Fix warnings without subtype being incorrectly suppressed
Intersphinx, for unresolved references with an explicit inventory, e.g., \ 
proj:myFunc, leave the inventory prefix in the unresolved text.

Files:
RevisionActionfile
1.78modifypkgsrc/textproc/py-sphinx/Makefile
1.56modifypkgsrc/textproc/py-sphinx/distinfo