Debian Codegraph @

doc/changes/2.3.rst

raw
1 ==========
2 Sphinx 2.3
3 ==========
4
5
6 Release 2.3.1 (released Dec 22, 2019)
7 =====================================
8
9 Bugs fixed
10 ----------
11
12 * #6936: sphinx-autogen: raises AttributeError
13
14 Release 2.3.0 (released Dec 15, 2019)
15 =====================================
16
17 Incompatible changes
18 --------------------
19
20 * #6742: ``end-before`` option of :rst:dir:`literalinclude` directive does not
21 match the first line of the code block.
22 * #1331: Change default User-Agent header to ``"Sphinx/X.Y.Z requests/X.Y.Z
23 python/X.Y.Z"``. It can be changed via :confval:`user_agent`.
24 * #6867: text: content of admonitions starts after a blank line
25
26 Deprecated
27 ----------
28
29 * ``sphinx.builders.gettext.POHEADER``
30 * ``sphinx.io.SphinxStandaloneReader.app``
31 * ``sphinx.io.SphinxStandaloneReader.env``
32 * ``sphinx.util.texescape.tex_escape_map``
33 * ``sphinx.util.texescape.tex_hl_escape_map_new``
34 * ``sphinx.writers.latex.LaTeXTranslator.no_contractions``
35
36 Features added
37 --------------
38
39 * #6707: C++, support bit-fields.
40 * #267: html: Eliminate prompt characters of doctest block from copyable text
41 * #6548: html: Use favicon for OpenSearch if available
42 * #6729: html theme: agogo theme now supports ``rightsidebar`` option
43 * #6780: Add PEP-561 Support
44 * #6762: latex: Allow to load additional LaTeX packages via ``extrapackages`` key
45 of :confval:`latex_elements`
46 * #1331: Add new config variable: :confval:`user_agent`
47 * #6000: LaTeX: have backslash also be an inline literal word wrap break
48 character
49 * #4186: LaTeX: Support upLaTeX as a new :confval:`latex_engine` (experimental)
50 * #6812: Improve a warning message when extensions are not parallel safe
51 * #6818: Improve Intersphinx performance for multiple remote inventories.
52 * #2546: apidoc: .so file support
53 * #6798: autosummary: emit ``autodoc-skip-member`` event on generating stub file
54 * #6483: i18n: make explicit titles in toctree translatable
55 * #6816: linkcheck: Add :confval:`linkcheck_auth` option to provide
56 authentication information when doing ``linkcheck`` builds
57 * #6872: linkcheck: Handles HTTP 308 Permanent Redirect
58 * #6613: html: Wrap section number in span tag
59 * #6781: gettext: Add :confval:`gettext_last_translator` and
60 :confval:`gettext_language_team` to customize headers of POT file
61
62 Bugs fixed
63 ----------
64
65 * #6668: LaTeX: Longtable before header has incorrect distance
66 (refs: `latex3/latex2e#173`_)
67
68 .. _latex3/latex2e#173: https://github.com/latex3/latex2e/issues/173
69 * #6618: LaTeX: Avoid section names at the end of a page
70 * #6738: LaTeX: Do not replace unicode characters by LaTeX macros on unicode
71 supported LaTeX engines: ¶, §, €, ∞, ±, →, ‣, –, superscript and subscript
72 digits go through "as is" (as default OpenType font supports them)
73 * #6704: linkcheck: Be defensive and handle newly defined HTTP error code
74 * #6806: linkcheck: Failure on parsing content
75 * #6655: image URLs containing ``data:`` causes gettext builder crashed
76 * #6584: i18n: Error when compiling message catalogs on Hindi
77 * #6718: i18n: KeyError is raised if section title and table title are same
78 * #6743: i18n: :confval:`rst_prolog` breaks the translation
79 * #6708: mathbase: Some deprecated functions have removed
80 * #6709: autodoc: mock object does not work as a class decorator
81 * #5070: epub: Wrong internal href fragment links
82 * #6712: Allow not to install sphinx.testing as runtime (mainly for ALT Linux)
83 * #6741: html: search result was broken with empty :confval:`html_file_suffix`
84 * #6001: LaTeX does not wrap long code lines at backslash character
85 * #6804: LaTeX: PDF build breaks if admonition of danger type contains
86 code-block long enough not to fit on one page
87 * #6809: LaTeX: code-block in a danger type admonition can easily spill over
88 bottom of page
89 * #6793: texinfo: Code examples broken following "sidebar"
90 * #6813: An orphan warning is emitted for included document on Windows. Thanks
91 to @drillan
92 * #6850: Fix smartypants module calls re.sub() with wrong options
93 * #6824: HTML search: If a search term is partially matched in the title and
94 fully matched in a text paragraph on the same page, the search does not
95 include this match.
96 * #6848: config.py shouldn't pop extensions from overrides
97 * #6867: text: extra spaces are inserted to hyphenated words on folding lines
98 * #6886: LaTeX: xelatex converts straight double quotes into right curly ones
99 (shows when :confval:`smartquotes` is ``False``)
100 * #6890: LaTeX: even with smartquotes off, PDF output transforms straight
101 quotes and consecutive hyphens into curly quotes and dashes
102 * #6876: LaTeX: multi-line display of authors on title page has ragged edges
103 * #6887: Sphinx crashes with Docutils 0.16b0
104 * #6920: sphinx-build: A console message is wrongly highlighted
105 * #6900: sphinx-build: ``-D`` option does not considers ``0`` and ``1`` as a
106 boolean value