Debian Codegraph @

doc/changes/4.4.rst

raw
1 ==========
2 Sphinx 4.4
3 ==========
4
5
6 Release 4.4.0 (released Jan 17, 2022)
7 =====================================
8
9 Dependencies
10 ------------
11
12 * #10007: Use ``importlib_metadata`` for python-3.9 or older
13 * #10007: Drop ``setuptools``
14
15 Features added
16 --------------
17
18 * #9075: autodoc: Add a config variable :confval:`autodoc_typehints_format`
19 to suppress the leading module names of typehints of function signatures (ex.
20 ``io.StringIO`` -> ``StringIO``)
21 * #9831: Autosummary now documents only the members specified in a module's
22 ``__all__`` attribute if :confval:`autosummary_ignore_module_all` is set to
23 ``False``. The default behaviour is unchanged. Autogen also now supports
24 this behavior with the ``--respect-module-all`` switch.
25 * #9555: autosummary: Improve error messages on failure to load target object
26 * #9800: extlinks: Emit warning if a hardcoded link is replaceable
27 by an extlink, suggesting a replacement.
28 * #9961: html: Support nested <kbd> HTML elements in other HTML builders
29 * #10013: html: Allow to change the loading method of JS via ``loading_method``
30 parameter for :meth:`.Sphinx.add_js_file`
31 * #9551: html search: "Hide Search Matches" link removes "highlight" parameter
32 from URL
33 * #9815: html theme: Wrap sidebar components in div to allow customizing their
34 layout via CSS
35 * #9827: i18n: Sort items in glossary by translated terms
36 * #9899: py domain: Allows to specify cross-reference specifier (``.`` and
37 ``~``) as ``:type:`` option
38 * #9894: linkcheck: add option ``linkcheck_exclude_documents`` to disable link
39 checking in matched documents.
40 * #9793: sphinx-build: Allow to use the parallel build feature in macOS on macOS
41 and Python3.8+
42 * #10055: sphinx-build: Create directories when ``-w`` option given
43 * #9993: std domain: Allow to refer an inline target (ex. ``_`target name```)
44 via :rst:role:`ref` role
45 * #9981: std domain: Strip value part of the option directive from general index
46 * #9391: texinfo: improve variable in ``samp`` role
47 * #9578: texinfo: Add :confval:`texinfo_cross_references` to disable cross
48 references for readability with standalone readers
49 * #9822, #9062: add new Intersphinx role :rst:role:`external` for explicit
50 lookup in the external projects, without resolving to the local project.
51
52 Bugs fixed
53 ----------
54
55 * #9866: autodoc: doccomment for the imported class was ignored
56 * #9883: autodoc: doccomment for the alias to mocked object was ignored
57 * #9908: autodoc: debug message is shown on building document using NewTypes
58 with Python 3.10
59 * #9968: autodoc: instance variables are not shown if __init__ method has
60 position-only-arguments
61 * #9194: autodoc: types under the "typing" module are not hyperlinked
62 * #10009: autodoc: Crashes if target object raises an error on getting docstring
63 * #10058: autosummary: Imported members are not shown when
64 ``autodoc_class_signature = 'separated'``
65 * #9947: i18n: topic directive having a bullet list can't be translatable
66 * #9878: mathjax: MathJax configuration is placed after loading MathJax itself
67 * #9932: napoleon: empty "returns" section is generated even if no description
68 * #9857: Generated RFC links use outdated base url
69 * #9909: HTML, prevent line-wrapping in literal text.
70 * #10061: html theme: Configuration values added by themes are not be able to
71 override from conf.py
72 * #10073: imgconverter: Unnecessary availability check is called for "data" URIs
73 * #9925: LaTeX: prohibit also with ``'xelatex'`` line splitting at dashes of
74 inline and parsed literals
75 * #9944: LaTeX: extra vertical whitespace for some nested declarations
76 * #9940: LaTeX: Multi-function declaration in Python domain has cramped
77 vertical spacing in latexpdf output
78 * #10015: py domain: types under the "typing" module are not hyperlinked defined
79 at info-field-list
80 * #9390: texinfo: Do not emit labels inside footnotes
81 * #9413: xml: Invalid XML was generated when cross referencing python objects
82 * #9979: Error level messages were displayed as warning messages
83 * #10057: Failed to scan documents if the project is placed onto the root
84 directory
85 * #9636: code-block: ``:dedent:`` without argument did strip newlines