File python-Sphinx.changes of Package python-Sphinx (Revision 370787aa9e3d2d3ef02681fecd28ce42)
Currently displaying revision 370787aa9e3d2d3ef02681fecd28ce42 , Show latest
3448
1
-------------------------------------------------------------------
2
Sun May 14 15:27:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
3
4
- update to 7.0.1:
5
* Support `Docutils 0.20`_.
6
* #11418: Clean up remaining references to
7
``sphinx.setup_command``
8
following the removal of support for setuptools.
9
10
-------------------------------------------------------------------
11
Sun Apr 30 07:40:26 UTC 2023 - Martin Liška <mliska@suse.cz>
12
13
- Update to version 7.0.0
14
* #11359: Remove long-deprecated aliases for ``MecabSplitter`` and
15
``DefaultSplitter`` in ``sphinx.search.ja``.
16
* #11360: Remove deprecated ``make_old_id`` functions in domain object
17
description classes.
18
* #11363: Remove the Setuptools integration (``build_sphinx`` hook in
19
``setup.py``).
20
* #11364: Remove deprecated ``sphinx.ext.napoleon.iterators`` module.
21
* #11365: Remove support for the ``jsdump`` format in ``sphinx.search``.
22
* #11366: Make ``locale`` a required argument to
23
``sphinx.util.i18n.format_date()``.
24
* #11370: Remove deprecated ``sphinx.util.stemmer`` module.
25
* #11371: Remove deprecated ``sphinx.pycode.ast.parse()`` function.
26
* #11372: Remove deprecated ``sphinx.io.read_doc()`` function.
27
* #11373: Removed deprecated ``sphinx.util.get_matching_files()`` function.
28
* #11378: Remove deprecated ``sphinx.util.docutils.is_html5_writer_available()``
29
function.
30
* #11379: Make the ``env`` argument to ``Builder`` subclasses required.
31
* #11380: autosummary: Always emit grouped import exceptions.
32
* #11381: Remove deprecated ``style`` key for HTML templates.
33
* #11382: Remove deprecated ``sphinx.writers.latex.LaTeXTranslator.docclasses``
34
attribute.
35
* #11383: Remove deprecated ``sphinx.builders.html.html5_ready`` and
36
``sphinx.builders.html.HTMLTranslator`` attributes.
37
* #11385: Remove support for HTML 4 output.
38
39
-------------------------------------------------------------------
40
Wed Apr 26 16:21:27 UTC 2023 - Matej Cepl <mcepl@suse.com>
41
42
- For PSP packages don't include documentation at all. The
43
building of Sphinx documentation is so complicated, that it is
44
not possible to include it in the main package.
45
46
-------------------------------------------------------------------
47
Tue Apr 25 11:17:16 UTC 2023 - Martin Liška <mliska@suse.cz>
48
49
- Update to version 6.2.1
50
* #11355: Revert the default type of :confval:`nitpick_ignore` and
51
:confval:`nitpick_ignore_regex` to ``list``.
52
53
-------------------------------------------------------------------
54
Mon Apr 24 07:40:28 UTC 2023 - Martin Liška <mliska@suse.cz>
55
56
- Bump to version 6.2.0
57
* Require Docutils 0.18.1 or greater.
58
* LaTeX: removal of some internal TeX ``\dimen`` registers (not previously
59
publicly documented) as per 5.1.0 code comments in ``sphinx.sty``:
60
``\sphinxverbatimsep``, ``\sphinxverbatimborder``, ``\sphinxshadowsep``,
61
``\sphinxshadowsize``, and ``\sphinxshadowrule``. (refs: #11105)
62
* Remove ``.egg`` support from pycode ``ModuleAnalyser``; Python eggs are a
63
now-obsolete binary distribution format
64
* #11089: Remove deprecated code in ``sphinx.builders.linkcheck``.
65
Patch by Daniel Eades
66
* Remove internal-only ``sphinx.locale.setlocale``
67
* #11247: Deprecate the legacy ``intersphinx_mapping`` format
68
* ``sphinx.util.osutil.cd`` is deprecated in favour of ``contextlib.chdir``.
69
* #11277: :rst:dir:`autoproperty` allows the return type to be specified as
70
a type comment (e.g., ``# type: () -> int``). Patch by Bénédikt Tran
71
* #10811: Autosummary: extend ``__all__`` to imported members for template rendering
72
when option ``autosummary_ignore_module_all`` is set to ``False``. Patch by
73
Clement Pinard
74
* #11147: Add a ``content_offset`` parameter to ``nested_parse_with_titles()``,
75
allowing for correct line numbers during nested parsing.
76
Patch by Jeremy Maitin-Shepard
77
* Update to Unicode CLDR 42
78
* Add a ``--jobs`` synonym for ``-j``. Patch by Hugo van Kemenade
79
* LaTeX: a command ``\sphinxbox`` for styling text elements with a (possibly
80
rounded) box, optional background color and shadow, has been added.
81
See :ref:`sphinxbox`. (refs: #11224)
82
* LaTeX: add ``\sphinxstylenotetitle``, ..., ``\sphinxstylewarningtitle``, ...,
83
for an extra layer of mark-up freeing up ``\sphinxstrong`` for other uses.
84
See :ref:`latex-macros`. (refs: #11267)
85
* LaTeX: :dudir:`note`, :dudir:`hint`, :dudir:`important` and :dudir:`tip` can
86
now each be styled as the other admonitions, i.e. possibly with a background
87
color, individual border widths and paddings, possibly rounded corners, and
88
optional shadow. See :ref:`additionalcss`. (refs: #11234)
89
* LaTeX: admonitions and :dudir:`topic` (and
90
:dudir:`contents <table-of-contents>`) directives, and not only
91
:rst:dir:`code-block`, support ``box-decoration-break=slice``.
92
* LaTeX: let rounded boxes support up to 4 distinct border-widths (refs: #11243)
93
* LaTeX: new options ``noteTextColor``, ``noteTeXextras`` et al.
94
See :ref:`additionalcss`.
95
* LaTeX: support elliptical corners in rounded boxes. (refs: #11254)
96
* #11150: Include source location in highlighting warnings, when lexing fails.
97
Patch by Jeremy Maitin-Shepard
98
* #11281: Support for :confval:`imgmath_latex` ``= 'tectonic'`` or
99
``= 'xelatex'``. Patch by Dimitar Dimitrov
100
* #11109, #9643: Add :confval:`python_display_short_literal_types` option for
101
condensed rendering of ``Literal`` types.
102
* #11079: LaTeX: figures with align attribute may disappear and strangely impact
103
following lists
104
* #11093: LaTeX: fix "multiply-defined references" PDF build warnings when one or
105
more reST labels directly precede an :rst:dir:`py:module` or :rst:dir:`automodule`
106
directive. Patch by Bénédikt Tran (picnixz)
107
* #11110: LaTeX: Figures go missing from latex pdf if their files have the same
108
base name and they use a post transform. Patch by aaron-cooper
109
* LaTeX: fix potential color leak from shadow to border of rounded boxes, if
110
shadow color is set but border color is not
111
* LaTeX: fix unintended 1pt upwards vertical shift of code blocks frames
112
respective to contents (when using rounded corners)
113
* #11235: LaTeX: added ``\color`` in topic (or admonition) contents may cause color
114
leak to the shadow and border at a page break
115
* #11264: LaTeX: missing space before colon after "Voir aussi" for :rst:dir:`seealso`
116
directive in French
117
* #11268: LaTeX: longtable with left alignment breaks out of current list
118
indentation context in PDF. Thanks to picnixz.
119
* #11274: LaTeX: external links are not properly escaped for ``\sphinxupquote``
120
compatibility
121
* #11147: Fix source file/line number info in object description content and in
122
other uses of ``nested_parse_with_titles``. Patch by Jeremy Maitin-Shepard.
123
* #11192: Restore correct parallel search index building.
124
Patch by Jeremy Maitin-Shepard
125
* Use the new Transifex ``tx`` client
126
* Fail testing when any Python warnings are emitted
127
* Migrate remaining ``unittest.TestCase`` style test functions to pytest style
128
* Remove tests that rely on setuptools
129
- Remove alabaster-0713-compat.patch upstreamed patch.
130
- Update intersphinx links.
131
- Install filelock python dependency for tests.
132
- Run tests parallel.
133
134
-------------------------------------------------------------------
135
Fri Apr 21 12:21:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
136
137
- add sle15_python_module_pythons (jsc#PED-68)
138
139
-------------------------------------------------------------------
140
Thu Apr 13 22:45:03 UTC 2023 - Matej Cepl <mcepl@suse.com>
141
142
- Make calling of %{sle15modernpython} optional.
143
144
-------------------------------------------------------------------
145
Sun Jan 29 18:59:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
146
147
- add alabaster-0713-compat.patch to fix testsuite failure with
148
newer alabaster theme.
149
150
-------------------------------------------------------------------
151
Tue Jan 10 18:02:04 UTC 2023 - Martin Liška <mliska@suse.cz>
152
153
- Update to version 6.1.3
154
* #11116: Reverted to previous Sphinx 5 node copying method
155
* #11117: Reverted changes to parallel image processing from Sphinx 6.1.0
156
* #11119: Supress ``ValueError`` in the ``linkcheck`` builder
157
158
-------------------------------------------------------------------
159
Sun Jan 8 09:18:41 UTC 2023 - Martin Liška <mliska@suse.cz>
160
161
- Update to version 6.1.2
162
* #11101: LaTeX: div.topic_padding key of sphinxsetup documented at 5.1.0 was
163
implemented with name topic_padding
164
* #11099: LaTeX: shadowrule key of sphinxsetup causes PDF build to crash since
165
Sphinx 5.1.0
166
* #11096: LaTeX: shadowsize key of sphinxsetup causes PDF build to crash since
167
Sphinx 5.1.0
168
* #11095: LaTeX: shadow of topic and contents boxes not in page margin since
169
Sphinx 5.1.0
170
* #11100: Fix copying images when running under parallel mode.
171
- Disable test_copy_images tests as they need an internet access.
172
173
-------------------------------------------------------------------
174
Thu Jan 5 18:09:36 UTC 2023 - Martin Liška <mliska@suse.cz>
175
176
- Update to version 6.1.1
177
* #11091: Fix ``util.nodes.apply_source_workaround`` for ``literal_block`` nodes
178
with no source information in the node or the node's parents.
179
* Adopted the `Ruff`_ code linter.
180
.. _Ruff: https://github.com/charliermarsh/ruff
181
* #10979: gettext: Removed support for pluralisation in ``get_translation``.
182
This was unused and complicated other changes to ``sphinx.locale``.
183
* ``sphinx.util`` functions:
184
* Renamed ``sphinx.util.typing.stringify()``
185
to ``sphinx.util.typing.stringify_annotation()``
186
* Moved ``sphinx.util.xmlname_checker()``
187
to ``sphinx.builders.epub3._XML_NAME_PATTERN``
188
189
Moved to ``sphinx.util.display``:
190
191
* ``sphinx.util.status_iterator``
192
* ``sphinx.util.display_chunk``
193
* ``sphinx.util.SkipProgressMessage``
194
* ``sphinx.util.progress_message``
195
196
Moved to ``sphinx.util.http_date``:
197
198
* ``sphinx.util.epoch_to_rfc1123``
199
* ``sphinx.util.rfc1123_to_epoch``
200
201
Moved to ``sphinx.util.exceptions``:
202
203
* ``sphinx.util.save_traceback``
204
* ``sphinx.util.format_exception_cut_frames``
205
206
* Cache doctrees in the build environment during the writing phase.
207
* Make all writing phase tasks support parallel execution.
208
* #11072: Use PEP 604 (``X | Y``) display conventions for ``typing.Optional``
209
and ``typing.Optional`` types within the Python domain and autodoc.
210
* #10700: autodoc: Document ``typing.NewType()`` types as classes rather than
211
'data'.
212
* Cache doctrees between the reading and writing phases.
213
* #10962: HTML: Fix the multi-word key name lookup table.
214
* Fixed support for Python 3.12 alpha 3 (changes in the ``enum`` module).
215
* #11069: HTML Theme: Removed outdated "shortcut" link relation keyword.
216
* #10952: Properly terminate parallel processes on programme interuption.
217
* #10988: Speed up ``TocTree.resolve()`` through more efficient copying.
218
* #6744: LaTeX: support for seealso directive should be via an environment
219
to allow styling.
220
* #11074: LaTeX: Can't change sphinxnote to use sphinxheavybox starting with
221
5.1.0
222
* Require Pygments 2.13 or later.
223
* #10944: imgmath: Fix resolving image paths for files in nested folders.
224
225
-------------------------------------------------------------------
226
Wed Jan 4 05:56:10 UTC 2023 - Martin Liška <mliska@suse.cz>
227
228
- Add pygments-2.14.patch in order to fix Pygments tests
229
after the 2.14 release.
230
gh#sphinx-doc/sphinx#11067
231
232
-------------------------------------------------------------------
233
Sat Dec 31 09:06:47 UTC 2022 - Martin Liška <mliska@suse.cz>
234
235
- Update to version 6.0.0
236
* #10468: Drop Python 3.6 support
237
* #10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and
238
Docutils 0.17 support. Patch by Adam Turner
239
* #7405: Removed the jQuery and underscore.js JavaScript frameworks.
240
These frameworks are no longer be automatically injected into themes from
241
Sphinx 6.0. If you develop a theme or extension that uses the
242
``jQuery``, ``$``, or ``$u`` global objects, you need to update your
243
JavaScript to modern standards, or use the mitigation below.
244
The first option is to use the sphinxcontrib.jquery_ extension, which has been
245
developed by the Sphinx team and contributors. To use this, add
246
``sphinxcontrib.jquery`` to the ``extensions`` list in ``conf.py``, or call
247
``app.setup_extension("sphinxcontrib.jquery")`` if you develop a Sphinx theme
248
or extension.
249
The second option is to manually ensure that the frameworks are present.
250
To re-add jQuery and underscore.js, you will need to copy ``jquery.js`` and
251
``underscore.js`` from `the Sphinx repository`_ to your ``static`` directory,
252
and add the following to your ``layout.html``:
253
254
.. code-block:: html+jinja
255
256
{%- block scripts %}
257
<script src="{{ pathto('_static/jquery.js', resource=True) }}"></script>
258
<script src="{{ pathto('_static/underscore.js', resource=True) }}"></script>
259
{{ super() }}
260
{%- endblock %}
261
262
.. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/
263
Patch by Adam Turner.
264
* #10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See
265
:ref:`dev-deprecated-apis` for details. Patch by Adam Turner.
266
* #10901: C Domain: Remove support for parsing pre-v3 style type directives and
267
roles. Also remove associated configuration variables ``c_allow_pre_v3`` and
268
``c_warn_on_allowed_pre_v3``. Patch by Adam Turner.
269
* #10924: LaTeX: adopt better looking defaults for tables and code-blocks.
270
See :confval:`latex_table_style` and the ``pre_border-radius`` and
271
``pre_background-TeXcolor`` :ref:`additionalcss` for the former defaults
272
and how to re-enact them if desired.
273
* #10984: LaTeX: Document :confval:`latex_additional_files` behavior for files
274
with ``.tex`` extension.
275
276
-------------------------------------------------------------------
277
Sun Oct 16 14:43:01 UTC 2022 - Martin Liška <mliska@suse.cz>
278
279
- Update to version 5.3.0
280
* #10759: LaTeX: add :confval:`latex_table_style` and support the
281
``'booktabs'``, ``'borderless'``, and ``'colorrows'`` styles.
282
(thanks to Stefan Wiehler for initial pull requests #6666, #6671)
283
* #10840: One can cross-reference including an option value like ``:option:`--module=foobar```,
284
``:option:`--module[=foobar]``` or ``:option:`--module foobar```.
285
Patch by Martin Liska.
286
* #10881: autosectionlabel: Record the generated section label to the debug log.
287
* #10268: Correctly URI-escape image filenames.
288
* #10887: domains: Allow sections in all the content of all object description
289
directives (e.g. :rst:dir:`py:function`). Patch by Adam Turner
290
291
-------------------------------------------------------------------
292
Sun Oct 2 18:47:20 UTC 2022 - Markéta Machová <mmachova@suse.com>
293
294
- BuildRequires just flit-core instead of flit
295
296
-------------------------------------------------------------------
297
Fri Sep 30 18:06:55 UTC 2022 - Martin Liška <mliska@suse.cz>
298
299
- Update to version 5.2.3
300
* #10878: Fix base64 image embedding in sphinx.ext.imgmath
301
* #10886: Add :nocontentsentry: flag and global domain table of contents entry
302
control option. Patch by Adam Turner
303
304
-------------------------------------------------------------------
305
Tue Sep 27 15:35:11 UTC 2022 - Martin Liška <mliska@suse.cz>
306
307
- Update to version 5.2.2
308
* #10872: Restore link targets for autodoc modules to the top of content.
309
Patch by Dominic Davis-Foster.
310
311
-------------------------------------------------------------------
312
Mon Sep 26 07:06:34 UTC 2022 - Martin Liška <mliska@suse.cz>
313
314
- Update to version 5.2.1
315
* #10861: Always normalise the ``pycon3`` lexer to ``pycon``.
316
* Fix using ``sphinx.ext.autosummary`` with modules containing titles in the
317
module-level docstring.
318
- Remove unneeded spec hunks.
319
320
-------------------------------------------------------------------
321
Sun Sep 25 15:24:42 UTC 2022 - Martin Liška <mliska@suse.cz>
322
323
- Update to version 5.2.0
324
* #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages,
325
using PyPA’s build project as a build backend. Patch by Adam Turner.
326
* #10286: C++, support requires clauses not just between the template parameter lists and the declaration.
327
* #10755: linkcheck: Check the source URL of raw directives that use the url option.
328
* #10781: Allow ref role to be used with definitions and fields.
329
* #10717: HTML Search: Increase priority for full title and subtitle matches in search results
330
* #10718: HTML Search: Save search result score to the HTML element for debugging
331
* #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames
332
* #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner
333
* #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner
334
* #10816: imgmath: Allow embedding images in HTML as base64
335
* #10257: C++, ensure consistent non-specialization template argument representation.
336
* #10729: C++, fix parsing of certain non-type template parameter packs.
337
* #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t
338
339
-------------------------------------------------------------------
340
Wed Jul 27 06:58:04 UTC 2022 - Martin Liška <mliska@suse.cz>
341
342
- Update to version 5.1.1
343
* #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean``
344
iterator implementation.
345
* #10702: Restore compatability with third-party builders.
346
347
-------------------------------------------------------------------
348
Sun Jul 24 17:44:29 UTC 2022 - Martin Liška <mliska@suse.cz>
349
350
- Update to version 5.1.0
351
* #10656: Support `Docutils 0.19`_. Patch by Adam Turner.
352
* #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``.
353
Patch by Adam Turner.
354
* #9856: Deprecated ``sphinx.ext.napoleon.iterators``.
355
* #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet``
356
setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings.
357
* #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option`
358
directives through a new :confval:`option_emphasise_placeholders` configuration
359
option.
360
* #10439: std domain: Use the repr of some variables when displaying warnings,
361
making whitespace issues easier to identify.
362
* #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by
363
Pradyun Gedam.
364
* #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>`
365
keys allow to configure four separate border-widths, four paddings, four
366
corner radii, a shadow (possibly inset), colours for border, background, shadow
367
for each of the code-block, topic, attention, caution, danger, error and warning
368
directives.
369
* #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy
370
* #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when
371
using Docutils 0.18 or later, to allow for easier styling. This matches the
372
behaviour introduced in Docutils 0.19. Patch by Adam Turner.
373
* #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``.
374
Patch by Adam Turner.
375
* #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+
376
* #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due
377
to missing ``Node.findall()``
378
* #10506: LaTeX: build error if highlighting inline code role in figure caption
379
(refs: #10251)
380
* #10634: Make -P (pdb) option work better with exceptions triggered from events
381
* #10031: py domain: Fix spurious whitespace in unparsing various operators (``+``,
382
``-``, ``~``, and ``**``). Patch by Adam Turner.
383
* #10460: logging: Always show node source locations as absolute paths.
384
* HTML Search: HTML tags are displayed as a part of object name
385
* HTML Search: search snipets should not be folded
386
* HTML Search: Minor errors are emitted on fetching search snipets
387
* HTML Search: The markers for header links are shown in the search result
388
* #10520: HTML Theme: Fix use of sidebar classes in ``agogo.css_t``.
389
* #6679: HTML Theme: Fix inclusion of hidden toctrees in the agogo theme.
390
* #10566: HTML Theme: Fix enable_search_shortcuts does not work
391
* #8686: LaTeX: Text can fall out of code-block at end of page and leave artifact
392
on next page
393
* #10633: LaTeX: user injected ``\color`` commands in topic or admonition boxes may
394
cause color leaks in PDF due to upstream `framed.sty <https://ctan.org/pkg/framed>`_
395
bug
396
* #10638: LaTeX: framed coloured boxes in highlighted code (e.g. highlighted
397
diffs using Pygments style ``'manni'``) inherit thickness of code-block frame
398
* #10647: LaTeX: Only one ``\label`` is generated for ``desc_signature`` node
399
even if it has multiple node IDs
400
* #10579: i18n: UnboundLocalError is raised on translating raw directive
401
* #9577, #10088: py domain: Fix warning for duplicate Python references when
402
using ``:any:`` and autodoc.
403
* #10548: HTML Search: fix minor summary issues.
404
- Add update-intersphinx.sh and get all objects.inv files.
405
- Add Adam Turner's GPG key (61F0FB52) to python-Sphinx.keyring.
406
407
-------------------------------------------------------------------
408
Tue Jul 19 18:05:49 UTC 2022 - Matej Cepl <mcepl@suse.com>
409
410
- (bsc#1201272) Add a missing dependency of latex subpackage on
411
tex(tgtermes.sty).
412
- Add python-Sphinx.keyring
413
414
-------------------------------------------------------------------
415
Fri Jun 17 14:09:37 UTC 2022 - Martin Liška <mliska@suse.cz>
416
417
- Update to version 5.0.2
418
* #10523: HTML Theme: Expose the Docutils's version info tuple as a template
419
variable, ``docutils_version_info``. Patch by Adam Turner.
420
* #10538: autodoc: Inherited class attribute having docstring is documented even
421
if :confval:`autodoc_inherit_docstring` is disabled
422
* #10509: autosummary: autosummary fails with a shared library
423
* #10497: py domain: Failed to resolve strings in Literal. Patch by Adam Turner.
424
* #10523: HTML Theme: Fix double brackets on citation references in Docutils 0.18+.
425
Patch by Adam Turner.
426
* #10534: Missing CSS for nav.contents in Docutils 0.18+. Patch by Adam Turner.
427
428
-------------------------------------------------------------------
429
Fri Jun 3 08:12:27 UTC 2022 - Michael Ströder <michael@stroeder.com>
430
431
- Update to version 5.0.1
432
* #10498: gettext: TypeError is raised when sorting warning messages if a node
433
has no line number
434
* #10493: html theme: :rst:dir:`topic` directive is rendered incorrectly with
435
docutils-0.18
436
* #10495: IndexError is raised for a :rst:role:`kbd` role having a separator
437
438
-------------------------------------------------------------------
439
Mon May 30 09:20:27 UTC 2022 - Martin Liška <mliska@suse.cz>
440
441
- Update to version 5.0.0:
442
443
* #10164: Support `Docutils 0.18`_. Patch by Adam Turner.
444
* #10031: autosummary: ``sphinx.ext.autosummary.import_by_name()`` now raises
445
``ImportExceptionGroup`` instead of ``ImportError`` when it failed to import
446
target object. Please handle the exception if your extension uses the
447
function to import Python object. As a workaround, you can disable the
448
behavior via ``grouped_exception=False`` keyword argument until v7.0.
449
* #9962: texinfo: Customizing styles of emphasized text via ``@definfoenclose``
450
command was not supported because the command was deprecated since texinfo 6.8
451
* #2068: :confval:`intersphinx_disabled_reftypes` has changed default value
452
from an empty list to ``['std:doc']`` as avoid too surprising silent
453
intersphinx resolutions.
454
To migrate: either add an explicit inventory name to the references
455
intersphinx should resolve, or explicitly set the value of this configuration
456
variable to an empty list.
457
* #10197: html theme: Reduce ``body_min_width`` setting in basic theme to 360px
458
* #9999: LaTeX: separate terms from their definitions by a CR (refs: #9985)
459
* #10062: Change the default language to ``'en'`` if any language is not set in
460
``conf.py``
461
* #10474: :confval:`language` does not accept ``None`` as it value. The default
462
value of ``language`` becomes to ``'en'`` now.
463
* #10028: jQuery and underscore.js will no longer be automatically injected into
464
themes from Sphinx 6.0. If you develop a theme or extension that uses the
465
``jQuery``, ``$``, or ``$u`` global objects, you need to update your
466
JavaScript or use the mitigation below.
467
468
To re-add jQuery and underscore.js, you will need to copy ``jquery.js`` and
469
``underscore.js`` from `the Sphinx repository`_ to your ``static`` directory,
470
and add the following to your ``layout.html``:
471
472
.. _the Sphinx repository: https://github.com/sphinx-doc/sphinx/tree/v4.3.2/sphinx/themes/basic/static
473
.. code-block:: html+jinja
474
475
{%- block scripts %}
476
<script src="{{ pathto('_static/jquery.js', resource=True) }}"></script>
477
<script src="{{ pathto('_static/underscore.js', resource=True) }}"></script>
478
{{ super() }}
479
{%- endblock %}
480
* setuptools integration. The ``build_sphinx`` sub-command for setup.py is
481
marked as deprecated to follow the policy of setuptools team.
482
* The ``locale`` argument of ``sphinx.util.i18n:babel_format_date()`` becomes
483
required
484
* The ``language`` argument of ``sphinx.util.i18n:format_date()`` becomes
485
required
486
* ``sphinx.builders.html.html5_ready``
487
* ``sphinx.io.read_doc()``
488
* ``sphinx.util.docutils.__version_info__``
489
* ``sphinx.util.docutils.is_html5_writer_available()``
490
* ``sphinx.writers.latex.LaTeXWriter.docclasses``
491
* #9075: autodoc: The default value of :confval:`autodoc_typehints_format` is
492
changed to ``'smart'``. It will suppress the leading module names of
493
typehints (ex. ``io.StringIO`` -> ``StringIO``).
494
* #8417: autodoc: ``:inherited-members:`` option now takes multiple classes. It
495
allows to suppress inherited members of several classes on the module at once
496
by specifying the option to :rst:dir:`automodule` directive
497
* #9792: autodoc: Add new option for ``autodoc_typehints_description_target`` to
498
include undocumented return values but not undocumented parameters.
499
* #10285: autodoc: singledispatch functions having typehints are not documented
500
* autodoc: :confval:`autodoc_typehints_format` now also applies to attributes,
501
data, properties, and type variable bounds.
502
* #10258: autosummary: Recognize a documented attribute of a module as
503
non-imported
504
* #10028: Removed internal usages of JavaScript frameworks (jQuery and
505
underscore.js) and modernised ``doctools.js`` and ``searchtools.js`` to
506
EMCAScript 2018.
507
* #10302: C++, add support for conditional expressions (``?:``).
508
* #5157, #10251: Inline code is able to be highlighted via :rst:dir:`role`
509
directive
510
* #10337: Make sphinx-build faster by caching Publisher object during build
511
* #10200: apidoc: Duplicated submodules are shown for modules having both .pyx
512
and .so files
513
* #10279: autodoc: Default values for keyword only arguments in overloaded
514
functions are rendered as a string literal
515
* #10280: autodoc: :confval:`autodoc_docstring_signature` unexpectedly generates
516
return value typehint for constructors if docstring has multiple signatures
517
* #10266: autodoc: :confval:`autodoc_preserve_defaults` does not work for
518
mixture of keyword only arguments with/without defaults
519
* #10310: autodoc: class methods are not documented when decorated with mocked
520
function
521
* #10305: autodoc: Failed to extract optional forward-ref'ed typehints correctly
522
via :confval:`autodoc_type_aliases`
523
* #10421: autodoc: :confval:`autodoc_preserve_defaults` doesn't work on class
524
methods
525
* #10214: html: invalid language tag was generated if :confval:`language`
526
contains a country code (ex. zh_CN)
527
* #9974: html: Updated jQuery version from 3.5.1 to 3.6.0
528
* #10236: html search: objects are duplicated in search result
529
* #9962: texinfo: Deprecation message for ``@definfoenclose`` command on
530
bulding texinfo document
531
* #10000: LaTeX: glossary terms with common definition are rendered with
532
too much vertical whitespace
533
* #10188: LaTeX: alternating multiply referred footnotes produce a ``?`` in
534
pdf output
535
* #10363: LaTeX: make ``'howto'`` title page rule use ``\linewidth`` for
536
compatibility with usage of a ``twocolumn`` class option
537
* #10318: ``:prepend:`` option of :rst:dir:`literalinclude` directive does not
538
work with ``:dedent:`` option
539
* #9575: autodoc: The annotation of return value should not be shown when
540
``autodoc_typehints="description"``
541
* #9648: autodoc: ``*args`` and ``**kwargs`` entries are duplicated when
542
``autodoc_typehints="description"``
543
* #8180: autodoc: Docstring metadata ignored for attributes
544
* #10443: epub: EPUB builder can't detect the mimetype of .webp file
545
* #10104: gettext: Duplicated locations are shown if 3rd party extension does
546
not provide correct information
547
* #10456: py domain: ``:meta:`` fields are displayed if docstring contains two
548
or more meta-field
549
* #9096: sphinx-build: the value of progress bar for paralle build is wrong
550
* #10110: sphinx-build: exit code is not changed when error is raised on
551
builder-finished event
552
553
-------------------------------------------------------------------
554
Mon Mar 28 08:29:11 UTC 2022 - Martin Liška <mliska@suse.cz>
555
556
- Update to version 4.5.0:
557
* #10112: extlinks: Disable hardcoded links detector by default
558
* #9993, #10177: std domain: Disallow to refer an inline target via
559
:rst:role:`ref` role
560
* ``sphinx.ext.napoleon.docstring.GoogleDocstring._qualify_name()``
561
* #10260: Enable ``FORCE_COLOR`` and ``NO_COLOR`` for terminal colouring
562
* #10234: autosummary: Add "autosummary" CSS class to summary tables
563
* #10125: extlinks: Improve suggestion message for a reference having title
564
* #10112: extlinks: Add :confval:`extlinks_detect_hardcoded_links` to enable
565
hardcoded links detector feature
566
* #9494, #9456: html search: Add a config variable
567
:confval:`html_show_search_summary` to enable/disable the search summaries
568
* #9337: HTML theme, add option ``enable_search_shortcuts`` that enables :kbd:'/' as
569
a Quick search shortcut and :kbd:`Esc` shortcut that
570
removes search highlighting.
571
* #10107: i18n: Allow to suppress translation warnings by adding ``#noqa``
572
comment to the tail of each translation message
573
* #10252: C++, support attributes on classes, unions, and enums.
574
* #10253: :rst:dir:`pep` role now generates URLs based on peps.python.org
575
* #9876: autodoc: Failed to document an imported class that is built from native
576
binary module
577
* #10133: autodoc: Crashed when mocked module is used for type annotation
578
* #10146: autodoc: :confval:`autodoc_default_options` does not support
579
``no-value`` option
580
* #9971: autodoc: TypeError is raised when the target object is annotated by
581
unhashable object
582
* #10205: extlinks: Failed to compile regexp on checking hardcoded links
583
* #10277: html search: Could not search short words (ex. "use")
584
* #9529: LaTeX: named auto numbered footnote (ex. ``[#named]``) that is referred
585
multiple times was rendered to a question mark
586
* #9924: LaTeX: multi-line :rst:dir:`cpp:function` directive has big vertical
587
spacing in Latexpdf
588
* #10158: LaTeX: excessive whitespace since v4.4.0 for undocumented
589
variables/structure members
590
* #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
591
the name is also used in the different document
592
* #10269: manpage: Failed to resolve the title of :ref: cross references
593
* #10179: i18n: suppress "rST localization" warning
594
* #10118: imgconverter: Unnecessary availablity check is called for remote URIs
595
* #10181: napoleon: attributes are displayed like class attributes for google
596
style docstrings when :confval:`napoleon_use_ivar` is enabled
597
* #10122: sphinx-build: make.bat does not check the installation of sphinx-build
598
command before showing help
599
- Update url for requests.inv.
600
601
-------------------------------------------------------------------
602
Fri Jan 28 11:01:23 UTC 2022 - Matej Cepl <mcepl@suse.com>
603
604
- SPEC cleanup
605
606
-------------------------------------------------------------------
607
Thu Jan 20 14:26:44 UTC 2022 - Ben Greiner <code@bnavigator.de>
608
609
- Fix missing install_requires dependencies.
610
611
-------------------------------------------------------------------
612
Wed Jan 19 16:49:53 UTC 2022 - Matej Cepl <mcepl@suse.com>
613
614
- I know it looks cool to have URLs for all Source files, but these are
615
files in VCS and they are inherently very unstable, so it breaks our
616
checks.
617
618
-------------------------------------------------------------------
619
Sun Jan 16 18:25:51 UTC 2022 - Martin Liška <mliska@suse.cz>
620
621
- Update to version 4.4.0:
622
* #10007: Use ``importlib_metadata`` for python-3.9 or older
623
* #10007: Drop ``setuptools``
624
* #9075: autodoc: Add a config variable :confval:`autodoc_typehints_format`
625
to suppress the leading module names of typehints of function signatures (ex.
626
``io.StringIO`` -> ``StringIO``)
627
* #9831: Autosummary now documents only the members specified in a module's
628
``__all__`` attribute if :confval:`autosummary_ignore_module_all` is set to
629
``False``. The default behaviour is unchanged. Autogen also now supports
630
this behavior with the ``--respect-module-all`` switch.
631
* #9555: autosummary: Improve error messages on failure to load target object
632
* #9800: extlinks: Emit warning if a hardcoded link is replaceable
633
by an extlink, suggesting a replacement.
634
* #9961: html: Support nested <kbd> HTML elements in other HTML builders
635
* #10013: html: Allow to change the loading method of JS via ``loading_method``
636
parameter for :meth:`Sphinx.add_js_file()`
637
* #9551: html search: "Hide Search Matches" link removes "highlight" parameter
638
from URL
639
* #9815: html theme: Wrap sidebar components in div to allow customizing their
640
layout via CSS
641
* #9827: i18n: Sort items in glossary by translated terms
642
* #9899: py domain: Allows to specify cross-reference specifier (``.`` and
643
``~``) as ``:type:`` option
644
* #9894: linkcheck: add option ``linkcheck_exclude_documents`` to disable link
645
checking in matched documents.
646
* #9793: sphinx-build: Allow to use the parallel build feature in macOS on macOS
647
and Python3.8+
648
* #10055: sphinx-build: Create directories when ``-w`` option given
649
* #9993: std domain: Allow to refer an inline target (ex. ``_`target name```)
650
via :rst:role:`ref` role
651
* #9981: std domain: Strip value part of the option directive from general index
652
* #9391: texinfo: improve variable in ``samp`` role
653
* #9578: texinfo: Add :confval:`texinfo_cross_references` to disable cross
654
references for readability with standalone readers
655
* #9822 (and #9062), add new Intersphinx role :rst:role:`external` for explict
656
lookup in the external projects, without resolving to the local project.
657
* #9866: autodoc: doccomment for the imported class was ignored
658
* #9883: autodoc: doccomment for the alias to mocked object was ignored
659
* #9908: autodoc: debug message is shown on building document using NewTypes
660
with Python 3.10
661
* #9968: autodoc: instance variables are not shown if __init__ method has
662
position-only-arguments
663
* #9194: autodoc: types under the "typing" module are not hyperlinked
664
* #10009: autodoc: Crashes if target object raises an error on getting docstring
665
* #10058: autosummary: Imported members are not shown when
666
``autodoc_class_signature = 'separated'``
667
* #9947: i18n: topic directive having a bullet list can't be translatable
668
* #9878: mathjax: MathJax configuration is placed after loading MathJax itself
669
* #9932: napoleon: empty "returns" section is generated even if no description
670
* #9857: Generated RFC links use outdated base url
671
* #9909: HTML, prevent line-wrapping in literal text.
672
* #10061: html theme: Configuration values added by themes are not be able to
673
override from conf.py
674
* #10073: imgconverter: Unnecessary availablity check is called for "data" URIs
675
* #9925: LaTeX: prohibit also with ``'xelatex'`` line splitting at dashes of
676
inline and parsed literals
677
* #9944: LaTeX: extra vertical whitespace for some nested declarations
678
* #9940: LaTeX: Multi-function declaration in Python domain has cramped
679
vertical spacing in latexpdf output
680
* #10015: py domain: types under the "typing" module are not hyperlinked defined
681
at info-field-list
682
* #9390: texinfo: Do not emit labels inside footnotes
683
* #9413: xml: Invalid XML was generated when cross referencing python objects
684
* #9979: Error level messages were displayed as warning messages
685
* #10057: Failed to scan documents if the project is placed onto the root
686
directory
687
* #9636: code-block: ``:dedent:`` without argument did strip newlines
688
- Add new intersphinx mapping file: readthedocs.inv.
689
- Fix %fdupes.
690
- Remove python-Sphinx-rpmlintrc as it is not used any more.
691
692
-------------------------------------------------------------------
693
Wed Dec 22 10:11:19 UTC 2021 - Martin Liška <mliska@suse.cz>
694
695
- Update to version 4.3.2:
696
* #9917: C and C++, parse fundamental types no matter the order of simple type
697
specifiers.
698
699
-------------------------------------------------------------------
700
Sat Nov 27 21:14:22 UTC 2021 - Arun Persaud <arun@gmx.de>
701
702
- update to version 4.3.1:
703
* Features added
704
+ #9864: mathjax: Support chnaging the loading method of MathJax
705
to "defer" via :confval:`mathjax_options`
706
* Bugs fixed
707
+ #9838: autodoc: AttributeError is raised on building document
708
for functions decorated by functools.lru_cache
709
+ #9879: autodoc: AttributeError is raised on building document
710
for an object having invalid __doc__ atribute
711
+ #9844: autodoc: Failed to process a function wrapped with
712
functools.partial if :confval:`autodoc_preserve_defaults`
713
enabled
714
+ #9872: html: Class namespace collision between autodoc
715
signatures and docutils-0.17
716
+ #9868: imgmath: Crashed if the dvisvgm command failed to convert
717
equation
718
+ #9864: mathjax: Failed to render equations via MathJax v2. The
719
loading method of MathJax is back to "async" method again
720
721
-------------------------------------------------------------------
722
Fri Nov 12 16:29:59 UTC 2021 - Matej Cepl <mcepl@suse.com>
723
724
- Explicitly Require python-sphinxcontrib-qthelp >= 1.0.2 to prevent
725
bsc#1157793 and bsc#1158158 from occuring.
726
727
-------------------------------------------------------------------
728
Fri Nov 12 11:45:06 UTC 2021 - Martin Liška <mliska@suse.cz>
729
730
- Update rpmlintrc file.
731
- Update to 4.3.0:
732
733
* Support Python 3.10
734
735
* #9649: ``searchindex.js``: the embedded data has changed format to allow
736
objects with the same name in different domains.
737
* #9672: The rendering of Python domain declarations is implemented
738
with more docutils nodes to allow better CSS styling.
739
It may break existing styling.
740
* #9672: the signature of
741
:py:meth:`domains.py.PyObject.get_signature_prefix` has changed to
742
return a list of nodes instead of a plain string.
743
* #9695: ``domains.js.JSObject.display_prefix`` has been changed into a method
744
``get_display_prefix`` which now returns a list of nodes
745
instead of a plain string.
746
* #9695: The rendering of Javascript domain declarations is implemented
747
with more docutils nodes to allow better CSS styling.
748
It may break existing styling.
749
* #9450: mathjax: Load MathJax via "defer" strategy
750
751
* ``sphinx.ext.autodoc.AttributeDocumenter._datadescriptor``
752
* ``sphinx.writers.html.HTMLTranslator._fieldlist_row_index``
753
* ``sphinx.writers.html.HTMLTranslator._table_row_index``
754
* ``sphinx.writers.html5.HTML5Translator._fieldlist_row_index``
755
* ``sphinx.writers.html5.HTML5Translator._table_row_index``
756
757
* #9639: autodoc: Support asynchronous generator functions
758
* #9664: autodoc: ``autodoc-process-bases`` supports to inject reST snippet as a
759
base class
760
* #9691: C, added new info-field ``retval``
761
for :rst:dir:`c:function` and :rst:dir:`c:macro`.
762
* C++, added new info-field ``retval`` for :rst:dir:`cpp:function`.
763
* #9618: i18n: Add :confval:`gettext_allow_fuzzy_translations` to allow "fuzzy"
764
messages for translation
765
* #9672: More CSS classes on Python domain descriptions
766
* #9695: More CSS classes on Javascript domain descriptions
767
* #9683: Revert the removal of ``add_stylesheet()`` API. It will be kept until
768
the Sphinx-6.0 release
769
* #2068, add :confval:`intersphinx_disabled_reftypes` for disabling
770
interphinx resolution of cross-references that do not have an explicit
771
inventory specification. Specific types of cross-references can be disabled,
772
e.g., ``std:doc`` or all cross-references in a specific domain,
773
e.g., ``std:*``.
774
* #9623: Allow to suppress "toctree contains reference to excluded document"
775
warnings using :confval:`suppress_warnings`
776
777
* #9630: autodoc: Failed to build cross references if :confval:`primary_domain`
778
is not 'py'
779
* #9644: autodoc: Crashed on getting source info from problematic object
780
* #9655: autodoc: mocked object having doc comment is warned unexpectedly
781
* #9651: autodoc: return type field is not generated even if
782
:confval:`autodoc_typehints_description_target` is set to "documented" when
783
its info-field-list contains ``:returns:`` field
784
* #9657: autodoc: The base class for a subclass of mocked object is incorrect
785
* #9607: autodoc: Incorrect base class detection for the subclasses of the
786
generic class
787
* #9755: autodoc: memory addresses are shown for aliases
788
* #9752: autodoc: Failed to detect type annotation for slots attribute
789
* #9756: autodoc: Crashed if classmethod does not have __func__ attribute
790
* #9757: autodoc: :confval:`autodoc_inherit_docstrings` does not effect to
791
overriden classmethods
792
* #9781: autodoc: :confval:`autodoc_preserve_defaults` does not support
793
hexadecimal numeric
794
* #9630: autosummary: Failed to build summary table if :confval:`primary_domain`
795
is not 'py'
796
* #9670: html: Fix download file with special characters
797
* #9710: html: Wrong styles for even/odd rows in nested tables
798
* #9763: html: parameter name and its type annotation are not separated in HTML
799
* #9649: HTML search: when objects have the same name but in different domains,
800
return all of them as result instead of just one.
801
* #7634: intersphinx: references on the file in sub directory are broken
802
* #9737: LaTeX: hlist is rendered as a list containing "aggedright" text
803
* #9678: linkcheck: file extension was shown twice in warnings
804
* #9697: py domain: An index entry with parens was registered for ``py:method``
805
directive with ``:property:`` option
806
* #9775: py domain: Literal typehint was converted to a cross reference when
807
:confval:`autodoc_typehints='description'`
808
* #9708: needs_extension failed to check double-digit version correctly
809
* #9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option
810
* #9733: Fix for logging handler flushing warnings in the middle of the docs
811
build
812
* #9656: Fix warnings without subtype being incorrectly suppressed
813
* Intersphinx, for unresolved references with an explicit inventory,
814
e.g., ``proj:myFunc``, leave the inventory prefix in the unresolved text.
815
816
-------------------------------------------------------------------
817
Wed Nov 10 13:57:29 UTC 2021 - Matej Cepl <mcepl@suse.com>
818
819
- Fix Provides and Obsoletes ... we cannot use python_module there
820
821
-------------------------------------------------------------------
822
Tue Sep 14 09:13:14 UTC 2021 - Martin Liška <mliska@suse.cz>
823
824
- Update to 4.2.0:
825
* #9445: autodoc: Support class properties
826
* #9479: autodoc: Emit a warning if target is a mocked object
827
* #9560: autodoc: Allow to refer NewType instances with module name in Python
828
3.10 or above
829
* #9447: html theme: Expose the version of Sphinx in the form of tuple as a
830
template variable ``sphinx_version_tuple``
831
* #9594: manpage: Suppress the title of man page if description is empty
832
* #9445: py domain: ``:py:property:`` directive supports ``:classmethod:``
833
option to describe the class property
834
* #9524: test: SphinxTestApp can take ``builddir`` as an argument
835
* #9535: C and C++, support more fundamental types, including GNU extensions.
836
* #9608: apidoc: apidoc does not generate a module definition for implicit
837
namespace package
838
* #9504: autodoc: generate incorrect reference to the parent class if the target
839
class inherites the class having ``_name`` attribute
840
* #9537, #9589: autodoc: Some objects under ``typing`` module are not displayed
841
well with the HEAD of 3.10
842
* #9487: autodoc: typehint for cached_property is not shown
843
* #9509: autodoc: AttributeError is raised on failed resolving typehints
844
* #9518: autodoc: autodoc_docstring_signature does not effect to ``__init__()``
845
and ``__new__()``
846
* #9522: autodoc: PEP 585 style typehints having arguments (ex. ``list[int]``)
847
are not displayed well
848
* #9481: autosummary: some warnings contain non-existing filenames
849
* #9568: autosummary: summarise overlined sectioned headings correctly
850
* #9600: autosummary: Type annotations which contain commas in autosummary table
851
are not removed completely
852
* #9481: c domain: some warnings contain non-existing filenames
853
* #9481: cpp domain: some warnings contain non-existing filenames
854
* #9456: html search: abbreation marks are inserted to the search result if
855
failed to fetch the content of the page
856
* #9617: html search: The JS requirement warning is shown if browser is slow
857
* #9267: html theme: CSS and JS files added by theme were loaded twice
858
* #9585: py domain: ``:type:`` option for :rst:dir:`py:property` directive does
859
not create a hyperlink
860
* #9576: py domain: Literal typehint was converted to a cross reference
861
* #9535 comment: C++, fix parsing of defaulted function parameters that are
862
function pointers.
863
* #9564: smartquotes: don't adjust typography for text with
864
language-highlighted ``:code:`` role.
865
* #9512: sphinx-build: crashed with the HEAD of Python 3.10
866
867
-------------------------------------------------------------------
868
Sun Aug 1 09:22:28 UTC 2021 - Dirk Müller <dmueller@suse.com>
869
870
- update to 4.1.2:
871
* linkcheck: Disable checking automatically generated anchors on
872
github.com (ex. anchors in reST/Markdown documents)
873
* autodoc: Custom types using ``typing.NewType`` are not displayed well
874
with the HEAD of 3.10
875
* autodoc: Some objects under ``typing`` module are not displayed well
876
with the HEAD of 3.10
877
* autodoc: crashed if ``autodoc_class_signature = "separated"``
878
* html search: html_copy_source can't control the search summaries
879
* linkcheck: Failed to check anchors in github.com
880
881
-------------------------------------------------------------------
882
Sat Jul 17 13:23:38 UTC 2021 - Dirk Müller <dmueller@suse.com>
883
884
- update to 4.1.1:
885
* sphinxcontrib-htmlhelp-2.0.0 or above
886
* sphinxcontrib-serializinghtml-1.1.5 or above
887
* html: HTML logo or Favicon specified as file not being found on output
888
889
-------------------------------------------------------------------
890
Mon Jul 12 10:14:42 UTC 2021 - Martin Liška <mliska@suse.cz>
891
892
- Bump to 4.1.0:
893
* Support jinja2-3.0
894
* The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes
895
required
896
* ``sphinx.application.Sphinx.html_theme``
897
* ``sphinx.ext.autosummary._app``
898
* ``sphinx.util.docstrings.extract_metadata()``
899
* #8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass`
900
directive to control the content of the specific class like
901
:confval:`autoclass_content`
902
* #8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It
903
allows you to define an alias for a class with module name like
904
``foo.bar.BazClass``
905
* #9175: autodoc: Special member is not documented in the module
906
* #9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered
907
* #9185: autodoc: :confval:`autodoc_typehints` allows ``'both'`` setting to
908
allow typehints to be included both in the signature and description
909
* #4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class
910
entry and the definition of ``__init__()`` method
911
* #8061, #9218: autodoc: Support variable comment for alias classes
912
* #3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes
913
of the class definitions
914
* #9272: autodoc: Render enum values for the default argument value better
915
* #9384: autodoc: ``autodoc_typehints='none'`` now erases typehints for
916
variables, attributes and properties
917
* #3257: autosummary: Support instance attributes for classes
918
* #9358: html: Add "heading" role to the toctree items
919
* #9225: html: Add span tag to the return typehint of method/function
920
* #9129: html search: Show search summaries when html_copy_source = False
921
* #9307: html search: Prevent corrections and completions in search field
922
* #9120: html theme: Eliminate prompt characters of code-block from copyable
923
text
924
* #9176: i18n: Emit a debug message if message catalog file not found under
925
:confval:`locale_dirs`
926
* #9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents
927
* #9016: linkcheck: Support checking anchors on github.com
928
* #9016: linkcheck: Add a new event :event:`linkcheck-process-uri` to modify
929
URIs before checking hyperlinks
930
* #6525: linkcheck: Add :confval:`linkcheck_allowed_redirects` to mark
931
hyperlinks that are redirected to expected URLs as "working"
932
* #1874: py domain: Support union types using ``|`` in info-field-list
933
* #9268: py domain: :confval:`python_use_unqualified_type_names` supports type
934
field in info-field-list
935
* #9097: Optimize the parallel build
936
* #9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using
937
regular expressions
938
* #9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include
939
HTML assets in all the pages. Extensions can check this via
940
``Sphinx.registry.html_assets_policy``
941
* C++, add support for
942
- ``inline`` variables,
943
- ``consteval`` functions,
944
- ``constinit`` variables,
945
- ``char8_t``,
946
- ``explicit(<constant expression>)`` specifier,
947
- digit separators in literals, and
948
- constraints in placeholder type specifiers, aka. adjective syntax
949
(e.g., ``Sortable auto &v``).
950
* C, add support for digit separators in literals.
951
* #9166: LaTeX: support containers in LaTeX output
952
* #8872: autodoc: stacked singledispatches are wrongly rendered
953
* #8597: autodoc: a docsting having metadata only should be treated as
954
undocumented
955
* #9185: autodoc: typehints for overloaded functions and methods are inaccurate
956
* #9250: autodoc: The inherited method not having docstring is wrongly parsed
957
* #9283: autodoc: autoattribute directive failed to generate document for an
958
attribute not having any comment
959
* #9364: autodoc: single element tuple on the default argument value is wrongly
960
rendered
961
* #9362: autodoc: AttributeError is raised on processing a subclass of Tuple[()]
962
* #9404: autodoc: TypeError is raised on processing dict-like object (not a
963
class) via autoclass directive
964
* #9317: html: Pushing left key causes visiting the next page at the first page
965
* #9381: html: URL for html_favicon and html_log does not work
966
* #9270: html theme : pyramid theme generates incorrect logo links
967
* #9217: manpage: The name of manpage directory that is generated by
968
:confval:`man_make_section_directory` is not correct
969
* #9350: manpage: Fix font isn't reset after keyword at the top of samp role
970
* #9306: Linkcheck reports broken link when remote server closes the connection
971
on HEAD request
972
* #9280: py domain: "exceptions" module is not displayed
973
* #9418: py domain: a Callable annotation with no parameters
974
(e.g. ``Callable[[], None])`` will be rendered with a bracket missing
975
(``Callable[], None]``)
976
* #9319: quickstart: Make sphinx-quickstart exit when conf.py already exists
977
* #9387: xml: XML Builder ignores custom visitors
978
* #9224: ``:param:`` and ``:type:`` fields does not support a type containing
979
whitespace (ex. ``Dict[str, str]``)
980
* #8945: when transforming typed fields, call the specified role instead of
981
making an single xref. For C and C++, use the ``expr`` role for typed fields.
982
983
-------------------------------------------------------------------
984
Sat Jun 5 13:18:44 UTC 2021 - Martin Liška <mliska@suse.cz>
985
986
- Update again to 4.0.2.
987
988
-------------------------------------------------------------------
989
Wed Jun 2 16:48:48 UTC 2021 - Matej Cepl <mcepl@suse.com>
990
991
- Switch off the failing test_signature_annotations. It is just
992
not worthy filing upstream test on the obsolete version.
993
994
-------------------------------------------------------------------
995
Wed Jun 2 13:53:05 UTC 2021 - Matej Cepl <mcepl@suse.com>
996
997
- Revert to 3.5.4
998
999
-------------------------------------------------------------------
1000
Fri May 21 09:18:07 UTC 2021 - Martin Liška <mliska@suse.cz>
1001
1002
- Update to 4.0.2: see upstream CHANGES.
1003
- Add texlive-tex-gyre build dependency for tests.
1004
1005
-------------------------------------------------------------------
1006
Fri Apr 16 07:02:35 UTC 2021 - Dirk Müller <dmueller@suse.com>
1007
1008
- update to 3.5.4:
1009
* #9071: Restrict docutils to 0.16
1010
* #9078: autodoc: Async staticmethods and classmethods are considered as non
1011
async coroutine-functions with Python3.10
1012
* #8870, #9001, #9051: html theme: The style are not applied with docutils-0.17
1013
1014
-------------------------------------------------------------------
1015
Tue Apr 6 01:32:14 UTC 2021 - Dirk Müller <dmueller@suse.com>
1016
1017
- update to 3.5.3:
1018
* #8959: using UNIX path separator in image directive confuses Sphinx on Windows
1019
1020
-------------------------------------------------------------------
1021
Tue Mar 16 10:32:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
1022
1023
- update to 3.5.2:
1024
* #8943: i18n: Crashed by broken translation messages in ES, EL and HR
1025
* #8936: LaTeX: A custom LaTeX builder fails with unknown node error
1026
* #8952: Exceptions raised in a Directive cause parallel builds to hang
1027
* #8883: autodoc: AttributeError is raised on assigning __annotations__ on
1028
read-only class
1029
* #8884: html: minified js stemmers not included in the distributed package
1030
* #8885: html: AttributeError is raised if CSS/JS files are installed via
1031
:confval:`html_context`
1032
* #8880: viewcode: ExtensionError is raised on incremental build after
1033
unparsable python module found
1034
* LaTeX: ``multicol`` (it is anyhow a required part of the official latex2e
1035
base distribution)
1036
* Update Underscore.js to 1.12.0
1037
* #6550: html: The config variable ``html_add_permalinks`` is replaced by
1038
:confval:`html_permalinks` and :confval:`html_permalinks_icon`
1039
* pending_xref node for viewcode extension
1040
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.anchors_ignore``
1041
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.auth``
1042
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.broken``
1043
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.good``
1044
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.redirected``
1045
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.rqueue``
1046
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.to_ignore``
1047
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.workers``
1048
* ``sphinx.builders.linkcheck.CheckExternalLinksBuilder.wqueue``
1049
* ``sphinx.builders.linkcheck.node_line_or_0()``
1050
* ``sphinx.ext.autodoc.AttributeDocumenter.isinstanceattribute()``
1051
* ``sphinx.ext.autodoc.directive.DocumenterBridge.reporter``
1052
* ``sphinx.ext.autodoc.importer.get_module_members()``
1053
* ``sphinx.ext.autosummary.generate._simple_info()``
1054
* ``sphinx.ext.autosummary.generate._simple_warn()``
1055
* ``sphinx.writers.html.HTMLTranslator.permalink_text``
1056
* ``sphinx.writers.html5.HTML5Translator.permalink_text``
1057
* #8022: autodoc: autodata and autoattribute directives does not show right-hand
1058
value of the variable if docstring contains ``:meta hide-value:`` in
1059
info-field-list
1060
* #8514: autodoc: Default values of overloaded functions are taken from actual
1061
implementation if they're ellipsis
1062
* #8775: autodoc: Support type union operator (PEP-604) in Python 3.10 or above
1063
* #8297: autodoc: Allow to extend :confval:`autodoc_default_options` via
1064
directive options
1065
* #8619: html: kbd role generates customizable HTML tags for compound keys
1066
* #8634: html: Allow to change the order of JS/CSS via ``priority`` parameter
1067
for :meth:`Sphinx.add_js_file()` and :meth:`Sphinx.add_css_file()`
1068
* #6241: html: Allow to add JS/CSS files to the specific page when an extension
1069
calls ``app.add_js_file()`` or ``app.add_css_file()`` on
1070
:event:`html-page-context` event
1071
* #6550: html: Allow to use HTML permalink texts via
1072
:confval:`html_permalinks_icon`
1073
* #1638: html: Add permalink icons to glossary terms
1074
* #8868: html search: performance issue with massive lists
1075
* #8867: html search: Update JavaScript stemmer code to the latest version of
1076
Snowball (v2.1.0)
1077
* #8852: i18n: Allow to translate heading syntax in MyST-Parser
1078
* #8649: imgconverter: Skip availability check if builder supports the image
1079
type
1080
* #8573: napoleon: Allow to change the style of custom sections using
1081
:confval:`napoleon_custom_styles`
1082
* #8004: napoleon: Type definitions in Google style docstrings are rendered as
1083
references when :confval:`napoleon_preprocess_types` enabled
1084
* #6241: mathjax: Include mathjax.js only on the document using equations
1085
* #8775: py domain: Support type union operator (PEP-604)
1086
* #8651: std domain: cross-reference for a rubric having inline item is broken
1087
* #7642: std domain: Optimize case-insensitive match of term
1088
* #8681: viewcode: Support incremental build
1089
* #8132: Add :confval:`project_copyright` as an alias of :confval:`copyright`
1090
* #207: Now :confval:`highlight_language` supports multiple languages
1091
* #2030: :rst:dir:`code-block` and :rst:dir:`literalinclude` supports automatic
1092
dedent via no-argument ``:dedent:`` option
1093
* C++, also hyperlink operator overloads in expressions and alias declarations.
1094
* #8247: Allow production lists to refer to tokens from other production groups
1095
* #8813: Show what extension (or module) caused it on errors on event handler
1096
* #8213: C++: add ``maxdepth`` option to :rst:dir:`cpp:alias` to insert nested
1097
declarations.
1098
* C, add ``noroot`` option to :rst:dir:`c:alias` to render only nested
1099
declarations.
1100
* C++, add ``noroot`` option to :rst:dir:`cpp:alias` to render only nested
1101
declarations.
1102
* #8727: apidoc: namespace module file is not generated if no submodules there
1103
* #741: autodoc: inherited-members doesn't work for instance attributes on super
1104
class
1105
* #8592: autodoc: ``:meta public:`` does not effect to variables
1106
* #8594: autodoc: empty __all__ attribute is ignored
1107
* #8315: autodoc: Failed to resolve struct.Struct type annotation
1108
* #8652: autodoc: All variable comments in the module are ignored if the module
1109
contains invalid type comments
1110
* #8693: autodoc: Default values for overloaded functions are rendered as string
1111
* #8134: autodoc: crashes when mocked decorator takes arguments
1112
* #8800: autodoc: Uninitialized attributes in superclass are recognized as
1113
undocumented
1114
* #8655: autodoc: Failed to generate document if target module contains an
1115
object that raises an exception on ``hasattr()``
1116
* #8306: autosummary: mocked modules are documented as empty page when using
1117
:recursive: option
1118
* #8232: graphviz: Image node is not rendered if graph file is in subdirectory
1119
* #8618: html: kbd role produces incorrect HTML when compound-key separators (-,
1120
+ or ^) are used as keystrokes
1121
* #8629: html: A type warning for html_use_opensearch is shown twice
1122
* #8714: html: kbd role with "Caps Lock" rendered incorrectly
1123
* #8123: html search: fix searching for terms containing + (Requires a custom
1124
search language that does not split on +)
1125
* #8665: html theme: Could not override globaltoc_maxdepth in theme.conf
1126
* #8446: html: consecutive spaces are displayed as single space
1127
* #8745: i18n: crashes with KeyError when translation message adds a new auto
1128
footnote reference
1129
* #4304: linkcheck: Fix race condition that could lead to checking the
1130
availability of the same URL twice
1131
* #8791: linkcheck: The docname for each hyperlink is not displayed
1132
* #7118: sphinx-quickstart: questionare got Mojibake if libreadline unavailable
1133
* #8094: texinfo: image files on the different directory with document are not
1134
copied
1135
* #8782: todo: Cross references in todolist get broken
1136
* #8720: viewcode: module pages are generated for epub on incremental build
1137
* #8704: viewcode: anchors are generated in incremental build after singlehtml
1138
* #8756: viewcode: highlighted code is generated even if not referenced
1139
* #8671: :confval:`highlight_options` is not working
1140
* #8341: C, fix intersphinx lookup types for names in declarations.
1141
* C, C++: in general fix intersphinx and role lookup types.
1142
* #8683: :confval:`html_last_updated_fmt` does not support UTC offset (%z)
1143
* #8683: :confval:`html_last_updated_fmt` generates wrong time zone for %Z
1144
* #1112: ``download`` role creates duplicated copies when relative path is
1145
specified
1146
* #2616 (fifth item): LaTeX: footnotes from captions are not clickable,
1147
and for manually numbered footnotes only first one with same number is
1148
an hyperlink
1149
* #7576: LaTeX with French babel and memoir crash: "Illegal parameter number
1150
in definition of ``\FNH@prefntext``"
1151
* #8055: LaTeX (docs): A potential display bug with the LaTeX generation step
1152
in Sphinx (how to generate one-column index)
1153
* #8072: LaTeX: Directive :rst:dir:`hlist` not implemented in LaTeX
1154
* #8214: LaTeX: The :rst:role:`index` role and the glossary generate duplicate
1155
entries in the LaTeX index (if both used for same term)
1156
* #8735: LaTeX: wrong internal links in pdf to captioned code-blocks when
1157
:confval:`numfig` is not True
1158
* #8442: LaTeX: some indexed terms are ignored when using xelatex engine
1159
(or pdflatex and :confval:`latex_use_xindy` set to True) with memoir class
1160
* #8750: LaTeX: URLs as footnotes fail to show in PDF if originating from
1161
inside function type signatures
1162
* #8780: LaTeX: long words in narrow columns may not be hyphenated
1163
* #8788: LaTeX: ``\titleformat`` last argument in sphinx.sty should be
1164
bracketed, not braced (and is anyhow not needed)
1165
* #8849: LaTex: code-block printed out of margin (see the opt-in LaTeX syntax
1166
boolean :ref:`verbatimforcewraps <latexsphinxsetupforcewraps>` for use via
1167
the :ref:`'sphinxsetup' <latexsphinxsetup>` key of ``latex_elements``)
1168
* #8183: LaTeX: Remove substitution_reference nodes from doctree only on LaTeX
1169
builds
1170
* #8865: LaTeX: Restructure the index nodes inside title nodes only on LaTeX
1171
builds
1172
* #8796: LaTeX: potentially critical low level TeX coding mistake has gone
1173
unnoticed so far
1174
* C, :rst:dir:`c:alias` skip symbols without explicit declarations
1175
instead of crashing.
1176
* C, :rst:dir:`c:alias` give a warning when the root symbol is not declared.
1177
* C, ``expr`` role should start symbol lookup in the current scope.
1178
* #8655: autodoc: Failed to generate document if target module contains an
1179
object that raises an exception on ``hasattr()``
1180
1181
-------------------------------------------------------------------
1182
Wed Jan 13 08:15:17 UTC 2021 - Markéta Machová <mmachova@suse.com>
1183
1184
- Update to 3.4.3
1185
* Bugfix release, see upstream CHANGES
1186
1187
-------------------------------------------------------------------
1188
Mon Jan 11 14:09:59 UTC 2021 - Markéta Machová <mmachova@suse.com>
1189
1190
- Do not download python (and requests) documentation in the runtime.
1191
- Add file requests.inv
1192
1193
-------------------------------------------------------------------
1194
Tue Dec 29 20:31:46 UTC 2020 - Dirk Müller <dmueller@suse.com>
1195
1196
- update to 3.4.1:
1197
* #8105: autodoc: the signature of class constructor will be shown for decorated
1198
classes, not a signature of decorator
1199
* #8119: autodoc: Allow to determine whether a member not included in
1200
``__all__`` attribute of the module should be documented or not via
1201
:event:`autodoc-skip-member` event
1202
* #8219: autodoc: Parameters for generic class are not shown when super class is
1203
a generic class and show-inheritance option is given (in Python 3.7 or above)
1204
* autodoc: Add ``Documenter.config`` as a shortcut to access the config object
1205
* autodoc: Add Optional[t] to annotation of function and method if a default
1206
value equal to None is set.
1207
* #8209: autodoc: Add ``:no-value:`` option to :rst:dir:`autoattribute` and
1208
:rst:dir:`autodata` directive to suppress the default value of the variable
1209
* #8460: autodoc: Support custom types defined by typing.NewType
1210
* #8285: napoleon: Add :confval:`napoleon_attr_annotations` to merge type hints
1211
on source code automatically if any type is specified in docstring
1212
* #8236: napoleon: Support numpydoc's "Receives" section
1213
* #6914: Add a new event :event:`warn-missing-reference` to custom warning
1214
messages when failed to resolve a cross-reference
1215
* #6914: Emit a detailed warning when failed to resolve a ``:ref:`` reference
1216
* #6629: linkcheck: The builder now handles rate limits. See
1217
:confval:`linkcheck_retry_on_rate_limit` for details.
1218
* Large number of bugfixes, see included NEWS
1219
- remove sphinx-pr8520-fix-AliasNode-copy.patch (upstream)
1220
1221
-------------------------------------------------------------------
1222
Fri Dec 4 17:19:43 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
1223
1224
- Remove unused mypy from BuildRequires in :test
1225
- Fix the intersphinx inventory bundle for multiple python flavors
1226
gh#openSUSE/python-rpm-macros#66
1227
- Fix failing graphviz dot calls by including packages for png
1228
and pdf formats. The png fail was masked by an incorrect use of
1229
a shell command chain. Fails for pdf format were in the tests.
1230
- Add sphinx-pr8520-fix-AliasNode-copy.patch to fix failing
1231
manpages build -- gh#sphinx-doc/sphinx#8520
1232
1233
-------------------------------------------------------------------
1234
Thu Nov 26 09:18:00 UTC 2020 - Dirk Mueller <dmueller@suse.com>
1235
1236
- update to 3.3.1:
1237
* #8372: autodoc: autoclass directive became slower than Sphinx-3.2
1238
* #7727: autosummary: raise PycodeError when documenting python package
1239
* #8350: autosummary: autosummary_mock_imports causes slow down builds
1240
* #8364: C, properly initialize attributes in empty symbols.
1241
* #8399: i18n: Put system locale path after the paths specified by configuration
1242
* #8100: html: Show a better error message for failures on copying
1243
html_static_files
1244
* #8141: C: added a ``maxdepth`` option to :rst:dir:`c:alias` to insert
1245
nested declarations.
1246
* #8081: LaTeX: Allow to add LaTeX package via ``app.add_latex_package()`` until
1247
just before writing .tex file
1248
* #7996: manpage: Add :confval:`man_make_section_directory` to make a section
1249
directory on build man page
1250
* #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub
1251
builder using :confval:`suppress_warnings`.
1252
* #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
1253
* #8304: sphinx.testing: Register public markers in sphinx.testing.fixtures
1254
* #8051: napoleon: use the obj role for all See Also items
1255
* #8050: napoleon: Apply :confval:`napoleon_preprocess_types` to every field
1256
* C and C++, show line numbers for previous declarations when duplicates are
1257
detected.
1258
* #8183: Remove substitution_reference nodes from doctree only on LaTeX builds
1259
* bugfixes
1260
- remove sphinx-pygments-compat.patch (obsolete)
1261
1262
-------------------------------------------------------------------
1263
Wed Nov 4 11:10:14 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
1264
1265
- Fix the lang collection macro override.
1266
* gh#openSUSE/python-rpm-macros#66
1267
* gh#openSUSE/python-rpm-macros#74
1268
1269
-------------------------------------------------------------------
1270
Tue Nov 3 19:56:15 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
1271
1272
- Fix lang files collection for multiple flavors
1273
* gh#openSUSE/python-rpm-macros#5
1274
* gh#openSUSE/python-rpm-macros#66
1275
1276
-------------------------------------------------------------------
1277
Mon Sep 28 13:45:37 UTC 2020 - Dirk Mueller <dmueller@suse.com>
1278
1279
- add sphinx-pygments-compat.patch (fix tests with newer pygments)
1280
1281
-------------------------------------------------------------------
1282
Tue Aug 18 14:44:04 UTC 2020 - Dirk Mueller <dmueller@suse.com>
1283
1284
- update to 3.2.1:
1285
* #8095: napoleon: Add :confval:`napoleon_preprocess_types` to enable the type
1286
preprocessor for numpy style docstrings
1287
* #8114: C and C++, parse function attributes after parameters and qualifiers.
1288
* #8074: napoleon: Crashes during processing C-ext module
1289
* #8088: napoleon: "Inline literal start-string without end-string" warning in
1290
Numpy style Parameters section
1291
* #8084: autodoc: KeyError is raised on documenting an attribute of the broken
1292
class
1293
* #8091: autodoc: AttributeError is raised on documenting an attribute on Python
1294
3.5.2
1295
* #8099: autodoc: NameError is raised when target code uses ``TYPE_CHECKING``
1296
* C++, fix parsing of template template paramters, broken by the fix of #7944
1297
1298
-------------------------------------------------------------------
1299
Thu Aug 13 14:02:03 UTC 2020 - Dirk Mueller <dmueller@suse.com>
1300
1301
1302
- update to 3.2.0:
1303
* #2076: autodoc: Allow overriding of exclude-members in skip-member function
1304
* #8034: autodoc: ``:private-member:`` can take an explicit list of member names
1305
to be documented
1306
* #2024: autosummary: Add :confval:`autosummary_filename_map` to avoid conflict
1307
of filenames between two object with different case
1308
* #8011: autosummary: Support instance attributes as a target of autosummary
1309
directive
1310
* #7849: html: Add :confval:`html_codeblock_linenos_style` to change the style
1311
of line numbers for code-blocks
1312
* #7853: C and C++, support parameterized GNU style attributes.
1313
* #7888: napoleon: Add aliases Warn and Raise.
1314
* #7690: napoleon: parse type strings and make them hyperlinks as possible. The
1315
conversion rule can be updated via :confval:`napoleon_type_aliases`
1316
* #8049: napoleon: Create a hyperlink for each the type of parameter when
1317
:confval:`napoleon_use_params` is False
1318
* C, added :rst:dir:`c:alias` directive for inserting copies
1319
of existing declarations.
1320
* #7745: html: inventory is broken if the docname contains a space
1321
* #7991: html search: Allow searching for numbers
1322
* #7902: html theme: Add a new option :confval:`globaltoc_maxdepth` to control
1323
the behavior of globaltoc in sidebar
1324
* #7840: i18n: Optimize the dependencies check on bootstrap
1325
* #7768: i18n: :confval:`figure_language_filename` supports ``docpath`` token
1326
* #5208: linkcheck: Support checks for local links
1327
* #5090: setuptools: Link verbosity to distutils' -v and -q option
1328
* #6698: doctest: Add ``:trim-doctest-flags:`` and ``:no-trim-doctest-flags:``
1329
options to doctest, testcode and testoutput directives
1330
* #7052: add ``:noindexentry:`` to the Python, C, C++, and Javascript domains.
1331
Update the documentation to better reflect the relationship between this option
1332
and the ``:noindex:`` option.
1333
* #7899: C, add possibility of parsing of some pre-v3 style type directives and
1334
roles and try to convert them to equivalent v3 directives/roles.
1335
Set the new option :confval:`c_allow_pre_v3` to ``True`` to enable this.
1336
The warnings printed from this functionality can be suppressed by setting
1337
:confval:`c_warn_on_allowed_pre_v3`` to ``True``.
1338
The functionality is immediately deprecated.
1339
* #7999: C, add support for named variadic macro arguments.
1340
* #8071: Allow to suppress "self referenced toctrees" warning
1341
* #7886: autodoc: TypeError is raised on mocking generic-typed classes
1342
* #7935: autodoc: function signature is not shown when the function has a
1343
parameter having ``inspect._empty`` as its default value
1344
* #7901: autodoc: type annotations for overloaded functions are not resolved
1345
* #904: autodoc: An instance attribute cause a crash of autofunction directive
1346
* #1362: autodoc: ``private-members`` option does not work for class attributes
1347
* #7983: autodoc: Generator type annotation is wrongly rendered in py36
1348
* #8030: autodoc: An uninitialized annotated instance variable is not documented
1349
when ``:inherited-members:`` option given
1350
* #8032: autodoc: A type hint for the instance variable defined at parent class
1351
is not shown in the document of the derived class
1352
* #8041: autodoc: An annotated instance variable on super class is not
1353
documented when derived class has other annotated instance variables
1354
* #7839: autosummary: cannot handle umlauts in function names
1355
* #7865: autosummary: Failed to extract summary line when abbreviations found
1356
* #7866: autosummary: Failed to extract correct summary line when docstring
1357
contains a hyperlink target
1358
* #7469: autosummary: "Module attributes" header is not translatable
1359
* #7940: apidoc: An extra newline is generated at the end of the rst file if a
1360
module has submodules
1361
* #4258: napoleon: decorated special methods are not shown
1362
* #7799: napoleon: parameters are not escaped for combined params in numpydoc
1363
* #7780: napoleon: multiple paramaters declaration in numpydoc was wrongly
1364
recognized when napoleon_use_params=True
1365
* #7715: LaTeX: ``numfig_secnum_depth > 1`` leads to wrong figure links
1366
* #7846: html theme: XML-invalid files were generated
1367
* #7894: gettext: Wrong source info is shown when using rst_epilog
1368
* #7691: linkcheck: HEAD requests are not used for checking
1369
* #4888: i18n: Failed to add an explicit title to ``:ref:`` role on translation
1370
* #7928: py domain: failed to resolve a type annotation for the attribute
1371
* #8008: py domain: failed to parse a type annotation containing ellipsis
1372
* #7994: std domain: option directive does not generate old node_id compatible
1373
with 2.x or older
1374
* #7968: i18n: The content of ``math`` directive is interpreted as reST on
1375
translation
1376
* #7768: i18n: The ``root`` element for :confval:`figure_language_filename` is
1377
not a path that user specifies in the document
1378
* #7993: texinfo: TypeError is raised for nested object descriptions
1379
* #7993: texinfo: a warning not supporting desc_signature_line node is shown
1380
* #7869: :rst:role:`abbr` role without an explanation will show the explanation
1381
from the previous abbr role
1382
* #8048: graphviz: graphviz.css was copied on building non-HTML document
1383
* C and C++, removed ``noindex`` directive option as it did
1384
nothing.
1385
* #7619: Duplicated node IDs are generated if node has multiple IDs
1386
* #2050: Symbols sections are appeared twice in the index page
1387
* #8017: Fix circular import in sphinx.addnodes
1388
* #7986: CSS: make "highlight" selector more robust
1389
* #7944: C++, parse non-type template parameters starting with
1390
a dependent qualified name.
1391
* C, don't deepcopy the entire symbol table and make a mess every time an
1392
enumerator is handled.
1393
1394
-------------------------------------------------------------------
1395
Thu Jul 16 12:52:54 UTC 2020 - Matej Cepl <mcepl@suse.com>
1396
1397
- In the new multiversion world, python*.inv is in python3.8
1398
directory not python3.
1399
1400
-------------------------------------------------------------------
1401
Sat Jul 11 18:49:26 UTC 2020 - Arun Persaud <arun@gmx.de>
1402
1403
- update to version 3.1.2:
1404
* Incompatible changes
1405
+ #7650: autodoc: the signature of base function will be shown for
1406
decorated functions, not a signature of decorator
1407
* Bugs fixed
1408
+ #7844: autodoc: Failed to detect module when relative module
1409
name given
1410
+ #7856: autodoc: AttributeError is raised when non-class object
1411
is given to the autoclass directive
1412
+ #7850: autodoc: KeyError is raised for invalid mark up when
1413
autodoc_typehints is 'description'
1414
+ #7812: autodoc: crashed if the target name matches to both an
1415
attribute and module that are same name
1416
+ #7650: autodoc: function signature becomes "(*args, **kwargs)"
1417
if the function is decorated by generic decorator
1418
+ #7812: autosummary: generates broken stub files if the target
1419
code contains an attribute and module that are same name
1420
+ #7806: viewcode: Failed to resolve viewcode references on 3rd
1421
party builders
1422
+ #7838: html theme: List items have extra vertical space
1423
+ #7878: html theme: Undesired interaction between "overflow" and
1424
"float"
1425
1426
- changes from version 3.1.1:
1427
* Incompatible changes
1428
+ #7808: napoleon: a type for attribute are represented as typed
1429
field
1430
* Features added
1431
+ #7807: autodoc: Show detailed warning when type_comment is
1432
mismatched with its signature
1433
* Bugs fixed
1434
+ #7808: autodoc: Warnings raised on variable and attribute type
1435
annotations
1436
+ #7802: autodoc: EOFError is raised on parallel build
1437
+ #7821: autodoc: TypeError is raised for overloaded C-ext
1438
function
1439
+ #7805: autodoc: an object which descriptors returns is
1440
unexpectedly documented
1441
+ #7807: autodoc: wrong signature is shown for the function using
1442
contextmanager
1443
+ #7812: autosummary: generates broken stub files if the target
1444
code contains an attribute and module that are same name
1445
+ #7808: napoleon: Warnings raised on variable and attribute type
1446
annotations
1447
+ #7811: sphinx.util.inspect causes circular import problem
1448
1449
- changes from version 3.1.0:
1450
* Dependencies
1451
+ #7746: mathjax: Update to 2.7.5
1452
* Incompatible changes
1453
+ #7477: imgconverter: Invoke "magick convert" command by default
1454
on Windows
1455
* Deprecated
1456
+ The first argument for
1457
sphinx.ext.autosummary.generate.AutosummaryRenderer has been
1458
changed to Sphinx object
1459
+ "sphinx.ext.autosummary.generate.AutosummaryRenderer" takes an
1460
object type as an argument
1461
+ The "ignore" argument of
1462
"sphinx.ext.autodoc.Documenter.get_doc()"
1463
+ The "template_dir" argument of "sphinx.ext.autosummary.generate.
1464
AutosummaryRenderer"
1465
+ The "module" argument of "sphinx.ext.autosummary.generate.
1466
find_autosummary_in_docstring()"
1467
+ The "builder" argument of "sphinx.ext.autosummary.generate.
1468
generate_autosummary_docs()"
1469
+ The "template_dir" argument of "sphinx.ext.autosummary.generate.
1470
generate_autosummary_docs()"
1471
+ The "ignore" argument of
1472
"sphinx.util.docstring.prepare_docstring()"
1473
+ "sphinx.ext.autosummary.generate.AutosummaryRenderer.exists()"
1474
+ "sphinx.util.rpartition()"
1475
* Features added
1476
+ LaTeX: Make the "toplevel_sectioning" setting optional in LaTeX
1477
theme
1478
+ LaTeX: Allow to override papersize and pointsize from LaTeX
1479
themes
1480
+ LaTeX: Add :confval:`latex_theme_options` to override theme
1481
options
1482
+ #7410: Allow to suppress "circular toctree references detected"
1483
warnings using :confval:`suppress_warnings`
1484
+ C, added scope control directives, :rst:dir:`c:namespace`,
1485
:rst:dir:`c:namespace-push`, and :rst:dir:`c:namespace-pop`.
1486
+ #2044: autodoc: Suppress default value for instance attributes
1487
+ #7473: autodoc: consider a member public if docstring contains
1488
":meta public:" in info-field-list
1489
+ #7487: autodoc: Allow to generate docs for singledispatch
1490
functions by py:autofunction
1491
+ #7143: autodoc: Support final classes and methods
1492
+ #7384: autodoc: Support signatures defined by "__new__()",
1493
metaclasses and builtin base classes
1494
+ #2106: autodoc: Support multiple signatures on docstring
1495
+ #4422: autodoc: Support GenericAlias in Python 3.7 or above
1496
+ #3610: autodoc: Support overloaded functions
1497
+ #7722: autodoc: Support TypeVar
1498
+ #7466: autosummary: headings in generated documents are not
1499
translated
1500
+ #7490: autosummary: Add ":caption:" option to autosummary
1501
directive to set a caption to the toctree
1502
+ #7469: autosummary: Support module attributes
1503
+ #248, #6040: autosummary: Add ":recursive:" option to
1504
autosummary directive to generate stub files recursively
1505
+ #4030: autosummary: Add :confval:`autosummary_context` to add
1506
template variables for custom templates
1507
+ #7530: html: Support nested <kbd> elements
1508
+ #7481: html theme: Add right margin to footnote/citation labels
1509
+ #7482, #7717: html theme: CSS spacing for code blocks with
1510
captions and line numbers
1511
+ #7443: html theme: Add new options :confval:`globaltoc_collapse`
1512
and :confval:`globaltoc_includehidden` to control the behavior
1513
of globaltoc in sidebar
1514
+ #7484: html theme: Avoid clashes between sidebar and other
1515
blocks
1516
+ #7476: html theme: Relbar breadcrumb should contain current page
1517
+ #7506: html theme: A canonical URL is not escaped
1518
+ #7533: html theme: Avoid whitespace at the beginning of
1519
genindex.html
1520
+ #7541: html theme: Add a "clearer" at the end of the "body"
1521
+ #7542: html theme: Make admonition/topic/sidebar scrollable
1522
+ #7543: html theme: Add top and bottom margins to tables
1523
+ #7695: html theme: Add viewport meta tag for basic theme
1524
+ #7721: html theme: classic: default codetextcolor/codebgcolor
1525
doesn't override Pygments
1526
+ C and C++: allow semicolon in the end of declarations.
1527
+ C++, parse parameterized noexcept specifiers.
1528
+ #7294: C++, parse expressions with user-defined literals.
1529
+ C++, parse trailing return types.
1530
+ #7143: py domain: Add ":final:" option to :rst:dir:`py:class:`,
1531
:rst:dir:`py:exception:` and :rst:dir:`py:method:` directives
1532
+ #7596: py domain: Change a type annotation for variables to a
1533
hyperlink
1534
+ #7770: std domain: :rst:dir:`option` directive support arguments
1535
in the form of "foo[=bar]"
1536
+ #7582: napoleon: a type for attribute are represented like type
1537
annotation
1538
+ #7734: napoleon: overescaped trailing underscore on attribute
1539
+ #7247: linkcheck: Add :confval:`linkcheck_request_headers` to
1540
send custom HTTP headers for specific host
1541
+ #7792: setuptools: Support "--verbosity" option
1542
+ #7683: Add "allowed_exceptions" parameter to "Sphinx.emit()" to
1543
allow handlers to raise specified exceptions
1544
+ #7295: C++, parse (trailing) requires clauses.
1545
* Bugs fixed
1546
+ #6703: autodoc: incremental build does not work for imported
1547
objects
1548
+ #7564: autodoc: annotations not to be shown for descriptors
1549
+ #6588: autodoc: Decorated inherited method has no documentation
1550
+ #7469: autodoc: The change of autodoc-process-docstring for
1551
variables is cached unexpectedly
1552
+ #7559: autodoc: misdetects a sync function is async
1553
+ #6857: autodoc: failed to detect a classmethod on Enum class
1554
+ #7562: autodoc: a typehint contains spaces is wrongly rendered
1555
under autodoc_typehints='description' mode
1556
+ #7551: autodoc: failed to import nested class
1557
+ #7362: autodoc: does not render correct signatures for built-in
1558
functions
1559
+ #7654: autodoc: "Optional[Union[foo, bar]]" is presented as
1560
"Union[foo, bar, None]"
1561
+ #7629: autodoc: autofunction emits an unfriendly warning if an
1562
invalid object specified
1563
+ #7650: autodoc: undecorated signature is shown for decorated
1564
functions
1565
+ #7676: autodoc: typo in the default value of
1566
autodoc_member_order
1567
+ #7676: autodoc: wrong value for :member-order: option is ignored
1568
silently
1569
+ #7676: autodoc: member-order="bysource" does not work for C
1570
module
1571
+ #3673: autodoc: member-order="bysource" does not work for a
1572
module having __all__
1573
+ #7668: autodoc: wrong retann value is passed to a handler of
1574
autodoc-proccess-signature
1575
+ #7711: autodoc: fails with ValueError when processing numpy
1576
objects
1577
+ #7791: autodoc: TypeError is raised on documenting
1578
singledispatch function
1579
+ #7551: autosummary: a nested class is indexed as non-nested
1580
class
1581
+ #7661: autosummary: autosummary directive emits warnings twices
1582
if failed to import the target module
1583
+ #7685: autosummary: The template variable "members" contains
1584
imported members even if
1585
:confval:`autossummary_imported_members` is False
1586
+ #7671: autosummary: The location of import failure warning is
1587
missing
1588
+ #7535: sphinx-autogen: crashes when custom template uses
1589
inheritance
1590
+ #7536: sphinx-autogen: crashes when template uses i18n feature
1591
+ #7781: sphinx-build: Wrong error message when outdir is not
1592
directory
1593
+ #7653: sphinx-quickstart: Fix multiple directory creation for
1594
nested relpath
1595
+ #2785: html: Bad alignment of equation links
1596
+ #7718: html theme: some themes does not respect background color
1597
of Pygments style (agogo, haiku, nature, pyramid, scrolls,
1598
sphinxdoc and traditional)
1599
+ #7544: html theme: inconsistent padding in admonitions
1600
+ #7581: napoleon: bad parsing of inline code in attribute
1601
docstrings
1602
+ #7628: imgconverter: runs imagemagick once unnecessary for
1603
builders not supporting images
1604
+ #7610: incorrectly renders consecutive backslashes for
1605
docutils-0.16
1606
+ #7646: handle errors on event handlers
1607
+ #4187: LaTeX: EN DASH disappears from PDF bookmarks in Japanese
1608
documents
1609
+ #7701: LaTeX: Anonymous indirect hyperlink target causes
1610
duplicated labels
1611
+ #7723: LaTeX: pdflatex crashed when URL contains a single quote
1612
+ #7756: py domain: The default value for positional only argument
1613
is not shown
1614
+ #7760: coverage: Add :confval:`coverage_show_missing_items` to
1615
show coverage result to console
1616
+ C++, fix rendering and xrefs in nested names explicitly starting
1617
in global scope, e.g., "::A::B".
1618
+ C, fix rendering and xrefs in nested names explicitly starting
1619
in global scope, e.g., ".A.B".
1620
+ #7763: C and C++, don't crash during display stringification of
1621
unary expressions and fold expressions.
1622
1623
-------------------------------------------------------------------
1624
Sat May 30 23:25:39 UTC 2020 - Arun Persaud <arun@gmx.de>
1625
1626
- update to version 3.0.4:
1627
* Bugs fixed
1628
+ #7567: autodoc: parametrized types are shown twice for generic
1629
types
1630
+ #7637: autodoc: system defined TypeVars are shown in Python 3.9
1631
+ #7611: md5 fails when OpenSSL FIPS is enabled
1632
+ #7626: release package does not contain "CODE_OF_CONDUCT"
1633
1634
-------------------------------------------------------------------
1635
Mon May 4 10:17:24 UTC 2020 - Jan Zerebecki <jzerebecki@suse.com>
1636
1637
- Add python3.inv as a specific Source.
1638
- update to version 3.0.3
1639
* Features added
1640
* C, parse array declarators with static, qualifiers, and VLA specification.
1641
* Bugs fixed
1642
* #7516: autodoc: crashes if target object raises an error on accessing
1643
its attributes
1644
- update to version 3.0.2
1645
* Features added
1646
* C, parse attributes and add :confval:`c_id_attributes`
1647
and :confval:`c_paren_attributes` to support user-defined attributes.
1648
* Bugs fixed
1649
* #7461: py domain: fails with IndexError for empty tuple in type annotation
1650
* #7510: py domain: keyword-only arguments are documented as having a default of
1651
None
1652
* #7418: std domain: :rst:role:`term` role could not match case-insensitively
1653
* #7461: autodoc: empty tuple in type annotation is not shown correctly
1654
* #7479: autodoc: Sphinx builds has been slower since 3.0.0 on mocking
1655
* C++, fix spacing issue in east-const declarations.
1656
* #7414: LaTeX: Xindy language options were incorrect
1657
* sphinx crashes with ImportError on python3.5.1
1658
1659
- update to 3.0.1
1660
* Incompatible changes
1661
* #7418: std domain: :rst:dir:`term` role becomes case sensitive
1662
* Bugs fixed
1663
* #7428: py domain: a reference to class ``None`` emits a nitpicky warning
1664
* #7445: py domain: a return annotation ``None`` in the function signature is
1665
not converted to a hyperlink when using intersphinx
1666
* #7418: std domain: duplication warning for glossary terms is case insensitive
1667
* #7438: C++, fix merging overloaded functions in parallel builds.
1668
* #7422: autodoc: fails with ValueError when using autodoc_mock_imports
1669
* #7435: autodoc: ``autodoc_typehints='description'`` doesn't suppress typehints
1670
in signature for classes/methods
1671
* #7451: autodoc: fails with AttributeError when an object returns non-string
1672
object as a ``__doc__`` member
1673
* #7423: crashed when giving a non-string object to logger
1674
* #7479: html theme: Do not include xmlns attribute with HTML 5 doctype
1675
* #7426: html theme: Escape some links in HTML templates
1676
1677
- update to version 3.0.0
1678
* Dependencies
1679
* LaTeX: drop dependency on :program:`extractbb` for image inclusion in
1680
Japanese documents as ``.xbb`` files are unneeded by :program:`dvipdfmx`
1681
since TeXLive2015 (refs: #6189)
1682
* babel-2.0 or above is available (Unpinned)
1683
* Incompatible changes
1684
* Drop features and APIs deprecated in 1.8.x
1685
* #247: autosummary: stub files are overwritten automatically by default. see
1686
:confval:`autosummary_generate_overwrite` to change the behavior
1687
* #5923: autodoc: the members of ``object`` class are not documented by default
1688
when ``:inherited-members:`` and ``:special-members:`` are given.
1689
* #6830: py domain: ``meta`` fields in info-field-list becomes reserved. They
1690
are not displayed on output document now
1691
* #6417: py domain: doctree of desc_parameterlist has been changed. The
1692
argument names, annotations and default values are wrapped with inline node
1693
* The structure of ``sphinx.events.EventManager.listeners`` has changed
1694
* Due to the scoping changes for :rst:dir:`productionlist` some uses of
1695
:rst:role:`token` must be modified to include the scope which was previously
1696
ignored.
1697
* #6903: Internal data structure of Python, reST and standard domains have
1698
changed. The node_id is added to the index of objects and modules. Now they
1699
contains a pair of docname and node_id for cross reference.
1700
* #7276: C++ domain: Non intended behavior is removed such as ``say_hello_``
1701
links to ``.. cpp:function:: say_hello()``
1702
* #7210: js domain: Non intended behavior is removed such as ``parseInt_`` links
1703
to ``.. js:function:: parseInt``
1704
* #7229: rst domain: Non intended behavior is removed such as ``numref_`` links
1705
to ``.. rst:role:: numref``
1706
* #6903: py domain: Non intended behavior is removed such as ``say_hello_``
1707
links to ``.. py:function:: say_hello()``
1708
* #7246: py domain: Drop special cross reference helper for exceptions,
1709
functions and methods
1710
* The C domain has been rewritten, with additional directives and roles.
1711
The existing ones are now more strict, resulting in new warnings.
1712
* The attribute ``sphinx_cpp_tagname`` in the ``desc_signature_line`` node
1713
has been renamed to ``sphinx_line_type``.
1714
* #6462: double backslashes in domain directives are no longer replaced by
1715
single backslashes as default. A new configuration value
1716
:confval:`strip_signature_backslash` can be used by users to reenable it.
1717
* #7222: ``sphinx.util.inspect.unwrap()`` is renamed to ``unwrap_all()``
1718
* Deprecated
1719
* ``desc_signature['first']``
1720
* ``sphinx.directives.DescDirective``
1721
* ``sphinx.domains.std.StandardDomain.add_object()``
1722
* ``sphinx.domains.python.PyDecoratorMixin``
1723
* ``sphinx.ext.autodoc.get_documenters()``
1724
* ``sphinx.ext.autosummary.process_autosummary_toc()``
1725
* ``sphinx.parsers.Parser.app``
1726
* ``sphinx.testing.path.Path.text()``
1727
* ``sphinx.testing.path.Path.bytes()``
1728
* ``sphinx.util.inspect.getargspec()``
1729
* ``sphinx.writers.latex.LaTeXWriter.format_docclass()``
1730
* Features added
1731
* #247: autosummary: Add :confval:`autosummary_generate_overwrite` to overwrite
1732
old stub file
1733
* #5923: autodoc: ``:inherited-members:`` option takes a name of anchestor class
1734
not to document inherited members of the class and uppers
1735
* #6830: autodoc: consider a member private if docstring contains
1736
``:meta private:`` in info-field-list
1737
* #7165: autodoc: Support Annotated type (PEP-593)
1738
* #2815: autodoc: Support singledispatch functions and methods
1739
* #7079: autodoc: :confval:`autodoc_typehints` accepts ``"description"``
1740
configuration. It shows typehints as object description
1741
* #7314: apidoc: Propagate ``--maxdepth`` option through package documents
1742
* #6558: glossary: emit a warning for duplicated glossary entry
1743
* #3106: domain: Register hyperlink target for index page automatically
1744
* #6558: std domain: emit a warning for duplicated generic objects
1745
* #6830: py domain: Add new event: :event:`object-description-transform`
1746
* #6895: py domain: Do not emit nitpicky warnings for built-in types
1747
* py domain: Support lambda functions in function signature
1748
* #6417: py domain: Allow to make a style for arguments of functions and methods
1749
* #7238, #7239: py domain: Emit a warning on describing a python object if the
1750
entry is already added as the same name
1751
* #7341: py domain: type annotations in singature are converted to cross refs
1752
* Support priority of event handlers. For more detail, see
1753
:py:meth:`.Sphinx.connect()`
1754
* #3077: Implement the scoping for :rst:dir:`productionlist` as indicated
1755
in the documentation.
1756
* #1027: Support backslash line continuation in :rst:dir:`productionlist`.
1757
* #7108: config: Allow to show an error message from conf.py via ``ConfigError``
1758
* #7032: html: :confval:`html_scaled_image_link` will be disabled for images having
1759
``no-scaled-link`` class
1760
* #7144: Add CSS class indicating its domain for each desc node
1761
* #7211: latex: Use babel for Chinese document when using XeLaTeX
1762
* #6672: LaTeX: Support LaTeX Theming (experimental)
1763
* #7005: LaTeX: Add LaTeX styling macro for :rst:role:`kbd` role
1764
* #7220: genindex: Show "main" index entries at first
1765
* #7103: linkcheck: writes all links to ``output.json``
1766
* #7025: html search: full text search can be disabled for individual document
1767
using ``:nosearch:`` file-wide metadata
1768
* #7293: html search: Allow to override JavaScript splitter via
1769
``SearchLanguage.js_splitter_code``
1770
* #7142: html theme: Add a theme option: ``pygments_dark_style`` to switch the
1771
style of code-blocks in dark mode
1772
* The C domain has been rewritten adding for example:
1773
1774
- Cross-referencing respecting the current scope.
1775
- Possible to document anonymous entities.
1776
- More specific directives and roles for each type of entitiy,
1777
e.g., handling scoping of enumerators.
1778
- New role :rst:role:`c:expr` for rendering expressions and types
1779
in text.
1780
1781
* Added ``SphinxDirective.get_source_info()``
1782
and ``SphinxRole.get_source_info()``.
1783
* #7324: sphinx-build: Emit a warning if multiple files having different file
1784
extensions for same document found
1785
* Added ``ObjectDescription.transform_content()``.
1786
* Bugs fixed
1787
* C++, fix cross reference lookup in certain cases involving
1788
function overloads.
1789
* #5078: C++, fix cross reference lookup when a directive contains multiple
1790
declarations.
1791
* C++, suppress warnings for directly dependent typenames in cross references
1792
generated automatically in signatures.
1793
* #5637: autodoc: Incorrect handling of nested class names on show-inheritance
1794
* #7267: autodoc: error message for invalid directive options has wrong location
1795
* #7329: autodoc: info-field-list is wrongly generated from type hints into the
1796
class description even if ``autoclass_content='class'`` set
1797
* #7331: autodoc: a cython-function is not recognized as a function
1798
* #5637: inheritance_diagram: Incorrect handling of nested class names
1799
* #7139: ``code-block:: guess`` does not work
1800
* #7325: html: source_suffix containing dot leads to wrong source link
1801
* #7357: html: Resizing SVG image fails with ValueError
1802
* #7278: html search: Fix use of ``html_file_suffix`` instead of
1803
``html_link_suffix`` in search results
1804
* #7297: html theme: ``bizstyle`` does not support ``sidebarwidth``
1805
* #3842: singlehtml: Path to images broken when master doc is not in source root
1806
* #7179: std domain: Fix whitespaces are suppressed on referring GenericObject
1807
* #7289: console: use bright colors instead of bold
1808
* #1539: C, parse array types.
1809
* #2377: C, parse function pointers even in complex types.
1810
* #7345: sphinx-build: Sphinx crashes if output directory exists as a file
1811
* #7290: sphinx-build: Ignore bdb.BdbQuit when handling exceptions
1812
* #6240: napoleon: Attributes and Methods sections ignore :noindex: option
1813
* #7364: autosummary: crashed when :confval:`autosummary_generate` is False
1814
* #7370: autosummary: raises UnboundLocalError when unknown module given
1815
* #7367: C++, alternate operator spellings are now supported.
1816
* C, alternate operator spellings are now supported.
1817
* #7368: C++, comma operator in expressions, pack expansion in template
1818
argument lists, and more comprehensive error messages in some cases.
1819
* C, C++, fix crash and wrong duplicate warnings related to anon symbols.
1820
* #6477: Escape first "!" in a cross reference linking no longer possible
1821
* #7219: py domain: The index entry generated by ``py:function`` directive is
1822
different with one from ``index`` directive with "builtin" type
1823
* #7301: capital characters are not allowed for node_id
1824
* #7301: epub: duplicated node_ids are generated
1825
* #6564: html: a width of table was ignored on HTML builder
1826
* #7401: Incorrect argument is passed for :event:`env-get-outdated` handlers
1827
* #7355: autodoc: a signature of cython-function is not recognized well
1828
* #7222: autodoc: ``__wrapped__`` functions are not documented correctly
1829
* #7409: intersphinx: ValueError is raised when an extension sets up
1830
:confval:`intersphinx_mapping` on :event:`config-inited` event
1831
* #7343: Sphinx builds has been slower since 2.4.0 on debug mode
1832
1833
- update to version 2.4.4
1834
* Bugs fixed
1835
* #7197: LaTeX: platex cause error to build image directive with target url
1836
* #7223: Sphinx builds has been slower since 2.4.0
1837
1838
- update to version 2.4.3
1839
* Bugs fixed
1840
* #7184: autodoc: ``*args`` and ``**kwarg`` in type comments are not handled
1841
properly
1842
* #7189: autodoc: classmethod coroutines are not detected
1843
* #7183: intersphinx: ``:attr:`` reference to property is broken
1844
* #6244, #6387: html search: Search breaks/hangs when built with dirhtml builder
1845
* #7195: todo: emit doctree-resolved event with non-document node incorrectly
1846
1847
- update to version 2.4.2
1848
* Bugs fixed
1849
* #7138: autodoc: ``autodoc.typehints`` crashed when variable has unbound object
1850
as a value
1851
* #7156: autodoc: separator for keyword only arguments is not shown
1852
* #7146: autodoc: IndexError is raised on suppressed type_comment found
1853
* #7161: autodoc: typehints extension does not support parallel build
1854
* #7178: autodoc: TypeError is raised on fetching type annotations
1855
* #7151: crashed when extension assigns a value to ``env.indexentries``
1856
* #7170: text: Remove debug print
1857
* #7137: viewcode: Avoid to crash when non-python code given
1858
1859
- update to version 2.4.1
1860
* Bugs fixed
1861
* #7120: html: crashed when on scaling SVG images which have float dimentions
1862
* #7126: autodoc: TypeError: 'getset_descriptor' object is not iterable
1863
1864
- update to version 2.4.0
1865
* Deprecated
1866
* The ``decode`` argument of ``sphinx.pycode.ModuleAnalyzer()``
1867
* ``sphinx.directives.other.Index``
1868
* ``sphinx.environment.temp_data['gloss_entries']``
1869
* ``sphinx.environment.BuildEnvironment.indexentries``
1870
* ``sphinx.environment.collectors.indexentries.IndexEntriesCollector``
1871
* ``sphinx.ext.apidoc.INITPY``
1872
* ``sphinx.ext.apidoc.shall_skip()``
1873
* ``sphinx.io.FiletypeNotFoundError``
1874
* ``sphinx.io.get_filetype()``
1875
* ``sphinx.pycode.ModuleAnalyzer.encoding``
1876
* ``sphinx.roles.Index``
1877
* ``sphinx.util.detect_encoding()``
1878
* ``sphinx.util.get_module_source()``
1879
* ``sphinx.util.inspect.Signature``
1880
* ``sphinx.util.inspect.safe_getmembers()``
1881
* ``sphinx.writers.latex.LaTeXTranslator.settings.author``
1882
* ``sphinx.writers.latex.LaTeXTranslator.settings.contentsname``
1883
* ``sphinx.writers.latex.LaTeXTranslator.settings.docclass``
1884
* ``sphinx.writers.latex.LaTeXTranslator.settings.docname``
1885
* ``sphinx.writers.latex.LaTeXTranslator.settings.title``
1886
* ``sphinx.writers.latex.ADDITIONAL_SETTINGS``
1887
* ``sphinx.writers.latex.DEFAULT_SETTINGS``
1888
* ``sphinx.writers.latex.LUALATEX_DEFAULT_FONTPKG``
1889
* ``sphinx.writers.latex.PDFLATEX_DEFAULT_FONTPKG``
1890
* ``sphinx.writers.latex.XELATEX_DEFAULT_FONTPKG``
1891
* ``sphinx.writers.latex.XELATEX_GREEK_DEFAULT_FONTPKG``
1892
* Features added
1893
* #6910: inheritance_diagram: Make the background of diagrams transparent
1894
* #6446: duration: Add ``sphinx.ext.durations`` to inspect which documents slow
1895
down the build
1896
* #6837: LaTeX: Support a nested table
1897
* #7115: LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via environment
1898
variable
1899
* #6966: graphviz: Support ``:class:`` option
1900
* #6696: html: ``:scale:`` option of image/figure directive not working for SVG
1901
images (imagesize-1.2.0 or above is required)
1902
* #6994: imgconverter: Support illustrator file (.ai) to .png conversion
1903
* autodoc: Support Positional-Only Argument separator (PEP-570 compliant)
1904
* autodoc: Support type annotations for variables
1905
* #2755: autodoc: Add new event: :event:`autodoc-before-process-signature`
1906
* #2755: autodoc: Support type_comment style (ex. ``# type: (str) -> str``)
1907
annotation (python3.8+ or `typed_ast <https://github.com/python/typed_ast>`_
1908
is required)
1909
* #7051: autodoc: Support instance variables without defaults (PEP-526)
1910
* #6418: autodoc: Add a new extension ``sphinx.ext.autodoc.typehints``. It shows
1911
typehints as object description if ``autodoc_typehints = "description"`` set.
1912
This is an experimental extension and it will be integrated into autodoc core
1913
in Sphinx-3.0
1914
* SphinxTranslator now calls visitor/departure method for super node class if
1915
visitor/departure method for original node class not found
1916
* #6418: Add new event: :event:`object-description-transform`
1917
* py domain: :rst:dir:`py:data` and :rst:dir:`py:attribute` take new options
1918
named ``:type:`` and ``:value:`` to describe its type and initial value
1919
* #6785: py domain: ``:py:attr:`` is able to refer properties again
1920
* #6772: apidoc: Add ``-q`` option for quiet mode
1921
* Bugs fixed
1922
* #6925: html: Remove redundant type="text/javascript" from <script> elements
1923
* #7112: html: SVG image is not layouted as float even if aligned
1924
* #6906, #6907: autodoc: failed to read the source codes encoeded in cp1251
1925
* #6961: latex: warning for babel shown twice
1926
* #7059: latex: LaTeX compilation falls into infinite loop (wrapfig issue)
1927
* #6581: latex: ``:reversed:`` option for toctree does not effect to LaTeX build
1928
* #6559: Wrong node-ids are generated in glossary directive
1929
* #6986: apidoc: misdetects module name for .so file inside module
1930
* #6899: apidoc: private members are not shown even if ``--private`` given
1931
* #6327: apidoc: Support a python package consisted of __init__.so file
1932
* #6999: napoleon: fails to parse tilde in :exc: role
1933
* #7019: gettext: Absolute path used in message catalogs
1934
* #7023: autodoc: nested partial functions are not listed
1935
* #7023: autodoc: partial functions imported from other modules are listed as
1936
module members without :impoprted-members: option
1937
* #6889: autodoc: Trailing comma in ``:members::`` option causes cryptic warning
1938
* #6568: autosummary: ``autosummary_imported_members`` is ignored on generating
1939
a stub file for submodule
1940
* #7055: linkcheck: redirect is treated as an error
1941
* #7088: HTML template: If ``navigation_with_keys`` option is activated,
1942
modifier keys are ignored, which means the feature can interfere with browser
1943
features
1944
* #7090: std domain: Can't assign numfig-numbers for custom container nodes
1945
* #7106: std domain: enumerated nodes are marked as duplicated when extensions
1946
call ``note_explicit_target()``
1947
* #7095: dirhtml: Cross references are broken via intersphinx and ``:doc:`` role
1948
* C++:
1949
1950
- Don't crash when using the ``struct`` role in some cases.
1951
- Don't warn when using the ``var``/``member`` role for function
1952
parameters.
1953
- Render call and braced-init expressions correctly.
1954
* #7097: Filenames of images generated by
1955
``sphinx.transforms.post_transforms.images.ImageConverter``
1956
or its subclasses (used for latex build) are now sanitized,
1957
to prevent broken paths
1958
1959
-------------------------------------------------------------------
1960
Tue Apr 7 08:20:04 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
1961
1962
- Revert to 2.3.1 due to severely increased memory usage when building
1963
kernel documentation. bsc#1166965
1964
1965
-------------------------------------------------------------------
1966
Sun Mar 8 18:13:36 UTC 2020 - Arun Persaud <arun@gmx.de>
1967
1968
- update to version 2.4.4:
1969
* #7197: LaTeX: platex cause error to build image directive with
1970
target url
1971
* #7223: Sphinx builds has been slower since 2.4.0
1972
1973
-------------------------------------------------------------------
1974
Sat Feb 22 18:38:16 UTC 2020 - Arun Persaud <arun@gmx.de>
1975
1976
- specfile:
1977
* update copyright year
1978
1979
- update to version 2.4.3:
1980
* Bugs fixed
1981
+ #7184: autodoc: "*args" and "**kwarg" in type comments are not
1982
handled properly
1983
+ #7189: autodoc: classmethod coroutines are not detected
1984
+ #7183: intersphinx: ":attr:" reference to property is broken
1985
+ #6244, #6387: html search: Search breaks/hangs when built with
1986
dirhtml builder
1987
+ #7195: todo: emit doctree-resolved event with non-document node
1988
incorrectly
1989
1990
- changes from version 2.4.2:
1991
* Bugs fixed
1992
+ #7138: autodoc: "autodoc.typehints" crashed when variable has
1993
unbound object as a value
1994
+ #7156: autodoc: separator for keyword only arguments is not
1995
shown
1996
+ #7146: autodoc: IndexError is raised on suppressed type_comment
1997
found
1998
+ #7161: autodoc: typehints extension does not support parallel
1999
build
2000
+ #7178: autodoc: TypeError is raised on fetching type annotations
2001
+ #7151: crashed when extension assigns a value to
2002
"env.indexentries"
2003
+ #7170: text: Remove debug print
2004
+ #7137: viewcode: Avoid to crash when non-python code given
2005
2006
- changes from version 2.4.1:
2007
* Bugs fixed
2008
+ #7120: html: crashed when on scaling SVG images which have float
2009
dimentions
2010
+ #7126: autodoc: TypeError: 'getset_descriptor' object is not
2011
iterable
2012
2013
- changes from version 2.4.0:
2014
* Deprecated
2015
+ The "decode" argument of "sphinx.pycode.ModuleAnalyzer()"
2016
+ "sphinx.directives.other.Index"
2017
+ "sphinx.environment.temp_data['gloss_entries']"
2018
+ "sphinx.environment.BuildEnvironment.indexentries"
2019
+
2020
"sphinx.environment.collectors.indexentries.IndexEntriesCollector"
2021
+ "sphinx.ext.apidoc.INITPY"
2022
+ "sphinx.ext.apidoc.shall_skip()"
2023
+ "sphinx.io.FiletypeNotFoundError"
2024
+ "sphinx.io.get_filetype()"
2025
+ "sphinx.pycode.ModuleAnalyzer.encoding"
2026
+ "sphinx.roles.Index"
2027
+ "sphinx.util.detect_encoding()"
2028
+ "sphinx.util.get_module_source()"
2029
+ "sphinx.util.inspect.Signature"
2030
+ "sphinx.util.inspect.safe_getmembers()"
2031
+ "sphinx.writers.latex.LaTeXTranslator.settings.author"
2032
+ "sphinx.writers.latex.LaTeXTranslator.settings.contentsname"
2033
+ "sphinx.writers.latex.LaTeXTranslator.settings.docclass"
2034
+ "sphinx.writers.latex.LaTeXTranslator.settings.docname"
2035
+ "sphinx.writers.latex.LaTeXTranslator.settings.title"
2036
+ "sphinx.writers.latex.ADDITIONAL_SETTINGS"
2037
+ "sphinx.writers.latex.DEFAULT_SETTINGS"
2038
+ "sphinx.writers.latex.LUALATEX_DEFAULT_FONTPKG"
2039
+ "sphinx.writers.latex.PDFLATEX_DEFAULT_FONTPKG"
2040
+ "sphinx.writers.latex.XELATEX_DEFAULT_FONTPKG"
2041
+ "sphinx.writers.latex.XELATEX_GREEK_DEFAULT_FONTPKG"
2042
* Features added
2043
+ #6910: inheritance_diagram: Make the background of diagrams
2044
transparent
2045
+ #6446: duration: Add "sphinx.ext.durations" to inspect which
2046
documents slow down the build
2047
+ #6837: LaTeX: Support a nested table
2048
+ #7115: LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via
2049
environment variable
2050
+ #6966: graphviz: Support ":class:" option
2051
+ #6696: html: ":scale:" option of image/figure directive not
2052
working for SVG images (imagesize-1.2.0 or above is required)
2053
+ #7025: html search: full text search can be disabled for
2054
individual document using ":nosearch:" file-wide metadata
2055
+ #6994: imgconverter: Support illustrator file (.ai) to .png
2056
conversion
2057
+ autodoc: Support Positional-Only Argument separator (PEP-570
2058
compliant)
2059
+ autodoc: Support type annotations for variables
2060
+ #2755: autodoc: Add new event:
2061
:event:`autodoc-before-process-signature`
2062
+ #2755: autodoc: Support type_comment style (ex. "# type: (str)
2063
-> str") annotation (python3.8+ or `typed_ast
2064
<https://github.com/python/typed_ast>`_ is required)
2065
+ #7051: autodoc: Support instance variables without defaults
2066
(PEP-526)
2067
+ #6418: autodoc: Add a new extension
2068
"sphinx.ext.autodoc.typehints". It shows typehints as object
2069
description if "autodoc_typehints = "description"" set. This
2070
is an experimental extension and it will be integrated into
2071
autodoc core in Sphinx-3.0
2072
+ SphinxTranslator now calls visitor/departure method for super
2073
node class if visitor/departure method for original node class
2074
not found
2075
+ #6418: Add new event: :event:`object-description-transform`
2076
+ py domain: :rst:dir:`py:data` and :rst:dir:`py:attribute` take
2077
new options named ":type:" and ":value:" to describe its type
2078
and initial value
2079
+ #6785: py domain: ":py:attr:" is able to refer properties again
2080
+ #6772: apidoc: Add "-q" option for quiet mode
2081
* Bugs fixed
2082
+ #6925: html: Remove redundant type="text/javascript" from
2083
<script> elements
2084
+ #7112: html: SVG image is not layouted as float even if aligned
2085
+ #6906, #6907: autodoc: failed to read the source codes encoeded
2086
in cp1251
2087
+ #6961: latex: warning for babel shown twice
2088
+ #7059: latex: LaTeX compilation falls into infinite loop
2089
(wrapfig issue)
2090
+ #6581: latex: ":reversed:" option for toctree does not effect to
2091
LaTeX build
2092
+ #6559: Wrong node-ids are generated in glossary directive
2093
+ #6986: apidoc: misdetects module name for .so file inside module
2094
+ #6899: apidoc: private members are not shown even if "--private"
2095
given
2096
+ #6327: apidoc: Support a python package consisted of __init__.so
2097
file
2098
+ #6999: napoleon: fails to parse tilde in :exc: role
2099
+ #7019: gettext: Absolute path used in message catalogs
2100
+ #7023: autodoc: nested partial functions are not listed
2101
+ #7023: autodoc: partial functions imported from other modules
2102
are listed as module members without :impoprted-members: option
2103
+ #6889: autodoc: Trailing comma in ":members::" option causes
2104
cryptic warning
2105
+ #6568: autosummary: "autosummary_imported_members" is ignored on
2106
generating a stub file for submodule
2107
+ #7055: linkcheck: redirect is treated as an error
2108
+ #7088: HTML template: If "navigation_with_keys" option is
2109
activated, modifier keys are ignored, which means the feature
2110
can interfere with browser features
2111
+ #7090: std domain: Can't assign numfig-numbers for custom
2112
container nodes
2113
+ #7106: std domain: enumerated nodes are marked as duplicated
2114
when extensions call "note_explicit_target()"
2115
+ #7095: dirhtml: Cross references are broken via intersphinx and
2116
":doc:" role
2117
+ C++:
2118
- Don't crash when using the ``struct`` role in some cases.
2119
- Don't warn when using the ``var``/``member`` role for function parameters.
2120
- Render call and braced-init expressions correctly.
2121
+ #7097: Filenames of images generated by
2122
"sphinx.transforms.post_transforms.images.ImageConverter" or
2123
its subclasses (used for latex build) are now sanitized, to
2124
prevent broken paths
2125
2126
-------------------------------------------------------------------
2127
Wed Dec 25 18:54:41 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
2128
2129
- Update to version 2.3.1
2130
* #6936: sphinx-autogen: raises AttributeError
2131
version 2.3.0:
2132
* #6742: ``end-before`` option of :rst:dir:`literalinclude`
2133
directive does not match the first line of the code block.
2134
* #1331: Change default User-Agent header to ``"Sphinx/X.Y.Z
2135
requests/X.Y.Z python/X.Y.Z"``. It can be changed via
2136
:confval:`user_agent`.
2137
* #6867: text: content of admonitions starts after a blank line
2138
* #6707: C++, support bit-fields.
2139
* #267: html: Eliminate prompt characters of doctest block
2140
from copyable text
2141
* #6548: html: Use favicon for OpenSearch if available
2142
* #6729: html theme: agogo theme now supports ``rightsidebar``
2143
option
2144
* #6780: Add PEP-561 Support
2145
* #6762: latex: Allow to load additonal LaTeX packages via
2146
``extrapackages`` key of :confval:`latex_elements`
2147
* #1331: Add new config variable: :confval:`user_agent`
2148
* #6000: LaTeX: have backslash also be an inline literal word
2149
wrap break character
2150
* #4186: LaTeX: Support upLaTeX as a new
2151
:confval:`latex_engine` (experimental)
2152
* #6812: Improve a warning message when extensions are not
2153
parallel safe
2154
* #6818: Improve Intersphinx performance for multiple remote
2155
inventories.
2156
* #2546: apidoc: .so file support
2157
* #6798: autosummary: emit ``autodoc-skip-member`` event on
2158
generating stub file
2159
* #6483: i18n: make explicit titles in toctree translatable
2160
* #6816: linkcheck: Add :confval:`linkcheck_auth` option to
2161
provide authentication information when doing ``linkcheck``
2162
builds
2163
* #6872: linkcheck: Handles HTTP 308 Permanent Redirect
2164
* #6613: html: Wrap section number in span tag
2165
* #6781: gettext: Add :confval:`gettext_last_translator' and
2166
:confval:`gettext_language_team` to customize headers of POT
2167
file
2168
2169
-------------------------------------------------------------------
2170
Sat Dec 7 17:50:25 UTC 2019 - Arun Persaud <arun@gmx.de>
2171
2172
- update to version 2.2.2:
2173
* Incompatible changes
2174
+ #6803: For security reason of python, parallel mode is disabled
2175
on macOS and Python3.8+
2176
* Bugs fixed
2177
+ #6776: LaTeX: 2019-10-01 LaTeX release breaks
2178
:file:`sphinxcyrillic.sty`
2179
+ #6815: i18n: French, Hindi, Chinese, Japanese and Korean
2180
translation messages has been broken
2181
+ #6803: parallel build causes AttributeError on macOS and
2182
Python3.8
2183
2184
-------------------------------------------------------------------
2185
Fri Nov 1 08:06:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2186
2187
- Update to 2.2.1:
2188
* #6641: LaTeX: Undefined control sequence \sphinxmaketitle
2189
* #6710: LaTeX not well configured for Greek language as main language
2190
2191
-------------------------------------------------------------------
2192
Wed Sep 11 12:06:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2193
2194
- Update 2.2.0:
2195
* apidoc: template files are renamed to ``.rst_t``
2196
* html: Field lists will be styled by grid layout
2197
* #5124: graphviz: ``:graphviz_dot:`` option is renamed to ``:layout:``
2198
* #1464: html: emit a warning if :confval:`html_static_path` and
2199
:confval:`html_extra_path` directories are inside output directory
2200
* #6514: html: Add a label to search input for accessability purposes
2201
* #5602: apidoc: Add ``--templatedir`` option
2202
* #6475: Add ``override`` argument to ``app.add_autodocumenter()``
2203
* #6310: imgmath: let :confval:`imgmath_use_preview` work also with the SVG
2204
format for images rendering inline math
2205
* #6533: LaTeX: refactor visit_enumerated_list() to use ``\sphinxsetlistlabels``
2206
* #6628: quickstart: Use ``https://docs.python.org/3/`` for default setting of
2207
:confval:`intersphinx_mapping`
2208
* #6419: sphinx-build: give reasons why rebuilded
2209
2210
-------------------------------------------------------------------
2211
Fri Aug 9 08:32:42 UTC 2019 - Dan Čermák <dcermak@suse.com>
2212
2213
- Add Sphinx translation files via %find_lang
2214
2215
-------------------------------------------------------------------
2216
Tue Jul 2 14:44:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2217
2218
- Update to 2.1.2:
2219
* #6497: custom lexers fails highlighting when syntax error
2220
* #6478, #6488: info field lists are incorrectly recognized
2221
2222
-------------------------------------------------------------------
2223
Tue Jun 11 18:01:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2224
2225
- Update to 2.1.1:
2226
* #6442: LaTeX: admonitions of note type can get separated from immediately preceding section title by pagebreak
2227
* #6448: autodoc: crashed when autodocumenting classes with __slots__ = None
2228
* #6452: autosummary: crashed when generating document of properties
2229
2230
-------------------------------------------------------------------
2231
Tue Jun 4 11:37:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2232
2233
- Update to 2.1:
2234
* Many major updates in the package
2235
* Supports only python 3.5+
2236
- Remove obsolete conditionals wrt 3.5+ only support
2237
2238
-------------------------------------------------------------------
2239
Wed Apr 10 20:43:43 UTC 2019 - Dirk Mueller <dmueller@suse.com>
2240
2241
- don't provide sphinx from test subpackage, it is for testing
2242
2243
-------------------------------------------------------------------
2244
Wed Apr 10 07:13:28 UTC 2019 - Dirk Mueller <dmueller@suse.com>
2245
2246
- fix tests to include latex/extmath tests
2247
2248
-------------------------------------------------------------------
2249
Wed Mar 27 16:39:15 UTC 2019 - Matej Cepl <mcepl@suse.com>
2250
2251
- Remove last remainder of python-Sphinx-doc-man-common subpackage
2252
2253
-------------------------------------------------------------------
2254
Thu Mar 14 16:25:50 CET 2019 - Matej Cepl <mcepl@suse.com>
2255
2256
- Switch off test_latex_images test, because it tries to download
2257
image from the www.python.org.
2258
2259
-------------------------------------------------------------------
2260
Tue Mar 12 15:35:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
2261
2262
- Remove lang packages
2263
2264
-------------------------------------------------------------------
2265
Mon Mar 11 15:32:54 CET 2019 - Matej Cepl <mcepl@suse.com>
2266
2267
- Revert to multiple lang files using standard macros.
2268
2269
-------------------------------------------------------------------
2270
Mon Mar 11 10:25:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2271
2272
- Drop patch disable-test.patch no longer applicable
2273
2274
-------------------------------------------------------------------
2275
Mon Mar 11 09:40:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
2276
2277
- Update to 1.8.5:
2278
* LaTeX: Remove extraneous space after author names on PDF title page (refs: #6004)
2279
* #6026: LaTeX: A cross reference to definition list does not work
2280
* #6046: LaTeX: TypeError is raised when invalid latex_elements given
2281
* #6067: LaTeX: images having a target are concatenated to next line
2282
* #6067: LaTeX: images having a target are not aligned even if specified
2283
* #6019: imgconverter: Including multipage PDF fails
2284
* #6047: autodoc: autofunction emits a warning for method objects
2285
* #6028: graphviz: Ensure the graphviz filenames are reproducible
2286
* #6068: doctest: skipif option may remove the code block from documentation
2287
* #6136: :name: option for math directive causes a crash
2288
* #6139: intersphinx: ValueError on failure reporting
2289
* #6135: changes: Fix UnboundLocalError when any module found
2290
2291
-------------------------------------------------------------------
2292
Wed Mar 6 16:28:12 CET 2019 - Matej Cepl <mcepl@suse.com>
2293
2294
- Rewrite the package to multibuild. Remove python-Sphinx-doc*.
2295
- Fix %check to make tests passing.
2296
2297
-------------------------------------------------------------------
2298
Tue Mar 5 10:17:45 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
2299
2300
- update to 1.8.4:
2301
There are many changes so have a look at the following changes files:
2302
* https://www.sphinx-doc.org/en/master/changes.html#release-1-8-4-released-feb-03-2019
2303
* https://www.sphinx-doc.org/en/master/changes.html#release-1-8-3-released-dec-26-2018
2304
* https://www.sphinx-doc.org/en/master/changes.html#release-1-8-2-released-nov-11-2018
2305
* https://www.sphinx-doc.org/en/master/changes.html#release-1-8-1-released-sep-22-2018
2306
* https://www.sphinx-doc.org/en/master/changes.html#release-1-8-0-released-sep-13-2018
2307
* https://www.sphinx-doc.org/en/master/changes.html#release-1-7-9-released-sep-05-2018
2308
* https://www.sphinx-doc.org/en/master/changes.html#release-1-7-8-released-aug-29-2018
2309
* https://www.sphinx-doc.org/en/master/changes.html#release-1-7-7-released-aug-19-2018
2310
2311
-------------------------------------------------------------------
2312
Fri Dec 7 21:20:58 CET 2018 - mcepl@suse.com
2313
2314
- Make this package also own %{python_sitelib}/sphinxcontrib
2315
directory, so it is properly owned.
2316
2317
-------------------------------------------------------------------
2318
Wed Jul 18 15:28:39 UTC 2018 - mimi.vx@gmail.com
2319
2320
- update to 1.7.6
2321
- fix Requires based on results of Shinx testsuite
2322
* LaTeX \sphinxupquote{} breaks in Russian
2323
* sphinx.testing uses deprecated pytest API; Node.get_marker(name)
2324
* crashed when recommonmark.AutoStrictify is enabled
2325
* latex: crashed with docutils package provided by Debian/Ubuntu
2326
* latex: a label for table is vanished if table does not have a caption
2327
* crashed with numbered toctree
2328
* C, render empty argument lists for macros.
2329
* C++, fix lookup of full template specializations with no template arguments.
2330
* C++, fix assertion on missing references in global scope when using intersphinx.
2331
* autodoc: crashed by Form Feed Character
2332
* autodoc: loses the first staticmethod parameter for old styled classes
2333
* quickstart: Typing Ctrl-U clears the whole of line
2334
* html: “relations” sidebar is not shown by default
2335
* latex: curly braces in index entries are not handled correctly
2336
* epub: Wrong internal href fragment links
2337
* apidoc: Interface of sphinx.apidoc:main() has changed
2338
* PDF builds of French projects have issues with XeTeX
2339
* napoleon raises RuntimeError with python 3.7
2340
* sphinx-build: Interface of sphinx:main() has changed
2341
* sphinx-build: sphinx.cmd.build.main() refers sys.argv
2342
instead of given argument
2343
* autosummary: warning is emitted when the first line of docstring ends
2344
with literal notation
2345
* autosummary: warnings of autosummary indicates wrong location (refs: #5146)
2346
* autodoc: crashed on inspecting dict like object which does not support sorting
2347
* autodoc: Enum argument missing if it shares value with another
2348
* py domain: rtype field could not handle “None” as a type
2349
* LaTeX: indexing of terms containing @, !, or " fails
2350
* html: crashes if copying static files are failed
2351
* autodoc: Fix formatting type annotations for tuples with more than two arguments
2352
* i18n: crashed by auto-symbol footnote references
2353
* autosummary: module summary has been broken when it starts with heading
2354
2355
-------------------------------------------------------------------
2356
Tue Jul 17 08:14:57 UTC 2018 - dmueller@suse.com
2357
2358
- update to 1.7.5:
2359
* #4924: html search: Upper characters problem in any other languages
2360
* #4932: apidoc: some subpackage is ignored if sibling subpackage contains a
2361
module starting with underscore
2362
* #4863, #4938, #4939: i18n doesn't handle node.title correctly tat used for
2363
contents, topic, admonition, table and section.
2364
* #4913: i18n: literal blocks in bullet list are not translated
2365
* #4962: C++, raised TypeError on duplicate declaration.
2366
* #4825: C++, properly parse expr roles and give better error messages when
2367
(escaped) line breaks are present.
2368
* C++, properly use ``desc_addname`` nodes for prefixes of names.
2369
* C++, parse pack expansions in function calls.
2370
* #4915, #4916: links on search page are broken when using dirhtml builder
2371
* #4969: autodoc: constructor method should not have return annotation
2372
* latex: deeply nested enumerated list which is beginning with non-1 causes
2373
LaTeX engine crashed
2374
* #4978: latex: shorthandoff is not set up for Brazil locale
2375
* #4928: i18n: Ignore dot-directories like .git/ in LC_MESSAGES/
2376
* #4946: py domain: type field could not handle "None" as a type
2377
* #4979: latex: Incorrect escaping of curly braces in index entries
2378
* #4956: autodoc: Failed to extract document from a subclass of the class on
2379
mocked module
2380
* #4973: latex: glossary directive adds whitespace to each item
2381
* #4980: latex: Explicit labels on code blocks are duplicated
2382
* #4919: node.asdom() crashes if toctree has :numbered: option
2383
* #4914: autodoc: Parsing error when using dataclasses without default values
2384
* #4931: autodoc: crashed when handler for autodoc-skip-member raises an error
2385
* #4931: autodoc: crashed when subclass of mocked class are processed by
2386
napoleon module
2387
* #5007: sphinx-build crashes when error log contains a "%" character
2388
2389
-------------------------------------------------------------------
2390
Wed May 23 12:14:49 UTC 2018 - mimi.vx@gmail.com
2391
2392
- update to 1.7.4
2393
- very long list of changes - please see http://www.sphinx-doc.org/en/master/changes.html#release-1-7-4-released-apr-25-2018
2394
2395
-------------------------------------------------------------------
2396
Thu Mar 8 10:22:47 UTC 2018 - aplanas@suse.com
2397
2398
- Allows Recommends and Suggest in Fedora
2399
2400
-------------------------------------------------------------------
2401
Tue Mar 6 11:55:15 UTC 2018 - dmueller@suse.com
2402
2403
- go back to a working sphinx version for now (1.6.5)
2404
* newer versions are not able to build openstack clients
2405
2406
-------------------------------------------------------------------
2407
Tue Feb 27 14:09:37 UTC 2018 - aplanas@suse.com
2408
2409
- Recommends only on SUSE
2410
2411
-------------------------------------------------------------------
2412
Sat Feb 24 18:31:35 UTC 2018 - arun@gmx.de
2413
2414
- specfile:
2415
* update copyright year
2416
* remove sed for sed command for sphinx/pycode/pgen2/token.py
2417
(not in tar-ball anymore)
2418
2419
- update to version 1.7.1:
2420
* Deprecated
2421
+ #4623: "sphinx.build_main()" is deprecated. Use
2422
"sphinx.cmd.build.build_main()" instead.
2423
+ autosummary: The interface of
2424
"sphinx.ext.autosummary.get_documenter()" has been changed
2425
(Since 1.7.0)
2426
+ #4664: "sphinx.ext.intersphinx.debug()" is deprecated. Use
2427
"sphinx.ext.intersphinx.inspect_main()" instead.
2428
* Bugs fixed
2429
+ #4608: epub: Invalid meta tag is generated
2430
+ #4260: autodoc: keyword only argument separator is not
2431
disappeared if it is appeared at top of the argument list
2432
+ #4622: epub: :confval:`epub_scheme` does not effect to
2433
content.opf
2434
+ #4627: graphviz: Fit graphviz images to page
2435
+ #4617: quickstart: PROJECT_DIR argument is required
2436
+ #4623: sphinx.build_main no longer exists in 1.7.0
2437
+ #4615: The argument of "sphinx.build" has been changed in 1.7.0
2438
+ autosummary: The interface of
2439
"sphinx.ext.autosummary.get_documenter()" has been changed
2440
+ #4630: Have order on msgids in sphinx.pot deterministic
2441
+ #4563: autosummary: Incorrect end of line punctuation detection
2442
+ #4577: Enumerated sublists with explicit start with wrong number
2443
+ #4641: A external link in TOC cannot contain "?" with ":glob:"
2444
option
2445
+ C++, add missing parsing of explicit casts and typeid in
2446
expression parsing.
2447
+ C++, add missing parsing of "this" in expression parsing.
2448
+ #4655: Fix incomplete localization strings in Polish
2449
+ #4653: Fix error reporting for parameterless ImportErrors
2450
+ #4664: Reading objects.inv fails again
2451
+ #4662: "any" refs with "term" targets crash when an ambiguity is
2452
encountered
2453
2454
- changes to version 1.7.0:
2455
* long changelog, see https://github.com/sphinx-doc/sphinx/blob/master/CHANGES
2456
2457
- changes from version 1.6.7:
2458
* Bugs fixed
2459
+ #1922: html search: Upper characters problem in French
2460
+ #4412: Updated jQuery version from 3.1.0 to 3.2.1
2461
+ #4438: math: math with labels with whitespace cause html error
2462
+ #2437: make full reference for classes, aliased with "alias of"
2463
+ #4434: pure numbers as link targets produce warning
2464
+ #4477: Build fails after building specific files
2465
+ #4449: apidoc: include "empty" packages that contain modules
2466
+ #3917: citation labels are tranformed to ellipsis
2467
+ #4501: graphviz: epub3 validation error caused if graph is not
2468
clickable
2469
+ #4514: graphviz: workaround for wrong map ID which graphviz
2470
generates
2471
+ #4525: autosectionlabel does not support parallel build
2472
+ #3953: Do not raise warning when there is a working intersphinx
2473
inventory
2474
+ #4487: math: ValueError is raised on parallel build. Thanks to
2475
jschueller.
2476
+ #2372: autosummary: invalid signatures are shown for type
2477
annotated functions
2478
+ #3942: html: table is not aligned to center even if ":align:
2479
center"
2480
2481
- changes from version 1.6.6:
2482
* Features added
2483
+ #4181: autodoc: Sort dictionary keys when possible
2484
+ "VerbatimHighlightColor" is a new :ref:`LaTeX 'sphinxsetup'
2485
<latexsphinxsetup>` key (refs: #4285)
2486
+ Easier customizability of LaTeX macros involved in rendering of
2487
code-blocks
2488
+ Show traceback if conf.py raises an exception (refs: #4369)
2489
+ Add :confval:`smartquotes` to disable smart quotes through
2490
"conf.py" (refs: #3967)
2491
+ Add :confval:`smartquotes_action` and
2492
:confval:`smartquotes_excludes` (refs: #4142, #4357)
2493
* Bugs fixed
2494
+ #4334: sphinx-apidoc: Don't generate references to non-existing
2495
files in TOC
2496
+ #4206: latex: reST label between paragraphs loses paragraph
2497
break
2498
+ #4231: html: Apply fixFirefoxAnchorBug only under Firefox
2499
+ #4221: napoleon depends on autodoc, but users need to load it
2500
manually
2501
+ #2298: automodule fails to document a class attribute
2502
+ #4099: C++: properly link class reference to class from inside
2503
constructor
2504
+ #4267: PDF build broken by Unicode U+2116 NUMERO SIGN character
2505
+ #4249: PDF output: Pygments error highlighting increases line
2506
spacing in code blocks
2507
+ #1238: Support ":emphasize-lines:" in PDF output
2508
+ #4279: Sphinx crashes with pickling error when run with multiple
2509
processes and remote image
2510
+ #1421: Respect the quiet flag in sphinx-quickstart
2511
+ #4281: Race conditions when creating output directory
2512
+ #4315: For PDF 'howto' documents,
2513
"latex_toplevel_sectioning='part'" generates "\chapter"
2514
commands
2515
+ #4214: Two todolist directives break sphinx-1.6.5
2516
+ Fix links to external option docs with intersphinx (refs: #3769)
2517
+ #4091: Private members not documented without :undoc-members:
2518
2519
-------------------------------------------------------------------
2520
Fri Oct 27 16:13:16 UTC 2017 - arun@gmx.de
2521
2522
- update to version 1.6.5:
2523
* Features added
2524
+ #4107: Make searchtools.js compatible with pre-Sphinx1.5
2525
templates
2526
+ #4112: Don't override the smart_quotes setting if it was already
2527
set
2528
+ #4125: Display reference texts of original and translated
2529
passages on i18n warning message
2530
+ #4147: Include the exception when logging PO/MO file read/write
2531
* Bugs fixed
2532
+ #4085: Failed PDF build from image in parsed-literal using
2533
":align:" option
2534
+ #4100: Remove debug print from autodoc extension
2535
+ #3987: Changing theme from alabaster causes HTML build to fail
2536
+ #4096: C++, don't crash when using the wrong role type. Thanks
2537
to mitya57.
2538
+ #4070, #4111: crashes when the warning message contains format
2539
strings (again)
2540
+ #4108: Search word highlighting breaks SVG images
2541
+ #3692: Unable to build HTML if writing .buildinfo failed
2542
+ #4152: HTML writer crashes if a field list is placed on top of
2543
the document
2544
+ #4063: Sphinx crashes when labeling directive ".. todolist::"
2545
+ #4134: [doc] :file:`docutils.conf` is not documented explicitly
2546
+ #4169: Chinese language doesn't trigger Chinese search
2547
automatically
2548
+ #1020: ext.todo todolist not linking to the page in pdflatex
2549
+ #3965: New quickstart generates wrong SPHINXBUILD in Makefile
2550
+ #3739: ":module:" option is ignored at content of pyobjects
2551
+ #4149: Documentation: Help choosing :confval:`latex_engine`
2552
+ #4090: [doc] :confval:`latex_additional_files` with extra LaTeX
2553
macros should not use ".tex" extension
2554
+ Failed to convert reST parser error to warning (refs: #4132)
2555
2556
-------------------------------------------------------------------
2557
Sat Sep 30 16:28:00 UTC 2017 - arun@gmx.de
2558
2559
- update to version 1.6.4:
2560
* Features added
2561
+ #3926: Add "autodoc_warningiserror" to suppress the behavior of
2562
"-W" option during importing target modules on autodoc
2563
* Bugs fixed
2564
+ #3924: docname lost after dynamically parsing RST in extension
2565
+ #3946: Typo in sphinx.sty (this was a bug with no effect in
2566
default context)
2567
+ :pep: and :rfc: does not supports "default-role" directive
2568
(refs: #3960)
2569
+ #3960: default_role = 'guilabel' not functioning
2570
+ Missing "texinputs_win/Makefile" to be used in latexpdf builder
2571
on windows.
2572
+ #4026: nature: Fix macOS Safari scrollbar color
2573
+ #3877: Fix for C++ multiline signatures.
2574
+ #4006: Fix crash on parallel build
2575
+ #3969: private instance attributes causes AttributeError
2576
+ #4041: C++, remove extra name linking in function pointers.
2577
+ #4038: C, add missing documentation of "member" role.
2578
+ #4044: An empty multicolumn cell causes extra row height in PDF
2579
output
2580
+ #4049: Fix typo in output of sphinx-build -h
2581
+ #4062: hashlib.sha1() must take bytes, not unicode on Python 3
2582
+ Avoid indent after index entries in latex (refs: #4066)
2583
+ #4070: crashes when the warning message contains format strings
2584
+ #4067: Return non-zero exit status when make subprocess fails
2585
+ #4055: graphviz: the :align: option does not work for SVG output
2586
+ #4055: graphviz: the :align: center option does not work for
2587
latex output
2588
+ #4051: "warn()" function for HTML theme outputs 'None' string
2589
2590
-------------------------------------------------------------------
2591
Mon Sep 18 22:03:24 UTC 2017 - toddrme2178@gmail.com
2592
2593
- Move sphinxcontrib namespace into seperate package to avoid
2594
dependency loop with sphinxcontrib-websupport.
2595
2596
-------------------------------------------------------------------
2597
Mon Sep 11 17:07:40 UTC 2017 - jengelh@inai.de
2598
2599
- Trim package descriptions for size.
2600
2601
-------------------------------------------------------------------
2602
Thu Aug 31 22:47:36 UTC 2017 - toddrme2178@gmail.com
2603
2604
- Create a base sphinxcontrib namespace package to guarantee all
2605
the "python(2|3)-sphinxcontrib-foo" packages can be imported
2606
correctly.
2607
2608
-------------------------------------------------------------------
2609
Thu Aug 24 15:55:01 UTC 2017 - toddrme2178@gmail.com
2610
2611
- Add new latex dependencies needed in openSUSE:Factory
2612
2613
-------------------------------------------------------------------
2614
Mon Jul 24 19:11:52 UTC 2017 - toddrme2178@gmail.com
2615
2616
- Split documentation into subpackage to avoid dependency loops.
2617
- Only require python3-typing for python3 < 3.5
2618
2619
-------------------------------------------------------------------
2620
Mon Jul 3 13:45:38 UTC 2017 - tbechtold@suse.com
2621
2622
- update to 1.6.3:
2623
* #3821: Failed to import sphinx.util.compat with docutils-0.14rc1
2624
* #3829: sphinx-quickstart template is incomplete regarding use of alabaster
2625
* #3772: 'str object' has no attribute 'filename'
2626
* Emit wrong warnings if citation label includes hyphens (refs: #3565)
2627
* #3858: Some warnings are not colored when using --color option
2628
* #3775: Remove unwanted whitespace in default template
2629
* #3835: sphinx.ext.imgmath fails to convert SVG images if project directory
2630
name contains spaces
2631
* #3850: Fix color handling in make mode's help command
2632
* #3865: use of self.env.warn in sphinx extension fails
2633
* #3824: production lists apply smart quotes transform since Sphinx 1.6.1
2634
* latex: fix ``\sphinxbfcode`` swallows initial space of argument
2635
* #3878: Quotes in auto-documented class attributes should be straight quotes
2636
in PDF output
2637
* #3881: LaTeX figure floated to next page sometimes leaves extra vertical
2638
whitespace
2639
* #3885: duplicated footnotes raises IndexError
2640
* #3873: Failure of deprecation warning mechanism of
2641
``sphinx.util.compat.Directive``
2642
* #3874: Bogus warnings for "citation not referenced" for cross-file citations
2643
* #3860: Don't download images when builders not supported images
2644
* #3860: Remote image URIs without filename break builders not supported remote
2645
images
2646
* #3833: command line messages are translated unintentionally with ``language``
2647
setting.
2648
* #3840: make checking ``epub_uid`` strict
2649
* #3851, #3706: Fix about box drawing characters for PDF output
2650
* #3900: autosummary could not find methods
2651
* #3902: Emit error if ``latex_documents`` contains non-unicode string in py2
2652
2653
-------------------------------------------------------------------
2654
Fri Jun 30 06:54:21 UTC 2017 - tbechtold@suse.com
2655
2656
- python-sphinxcontrib-websupport is a Requires
2657
2658
-------------------------------------------------------------------
2659
Thu Jun 29 15:44:02 UTC 2017 - tbechtold@suse.com
2660
2661
- Adjust Requires
2662
2663
-------------------------------------------------------------------
2664
Fri Jun 23 18:04:59 UTC 2017 - tbechtold@suse.com
2665
2666
- update to 1.6.2:
2667
* See http://www.sphinx-doc.org/en/stable/changes.html
2668
- Adjust Requires and BuildRequires
2669
- Add disable-test.patch to disable test which needs remote access.
2670
2671
-------------------------------------------------------------------
2672
Mon May 8 15:38:53 UTC 2017 - toddrme2178@gmail.com
2673
2674
- Fix update-alternatives.
2675
2676
-------------------------------------------------------------------
2677
Fri May 5 14:55:31 UTC 2017 - toddrme2178@gmail.com
2678
2679
- Fix old obsoletes/provides.
2680
2681
-------------------------------------------------------------------
2682
Mon Feb 20 14:18:17 UTC 2017 - jmatejek@suse.com
2683
2684
- update for singlespec
2685
- run tests for all python versions
2686
- include python-enum34 for test compatibility
2687
2688
-------------------------------------------------------------------
2689
Thu Feb 16 11:18:38 UTC 2017 - tbechtold@suse.com
2690
2691
- update to 1.5.2:
2692
* See http://www.sphinx-doc.org/en/stable/changes.html
2693
- Adjust Requires and BuildRequires
2694
2695
-------------------------------------------------------------------
2696
Mon Feb 29 16:07:44 UTC 2016 - michael@stroeder.com
2697
2698
- Removed obsolete fix_some_testcase_error_with_pygments-2.1.1.patch
2699
- update to version 1.3.6:
2700
* #1873, #1876, #2278: Add ``page_source_suffix`` html context variable. This should be
2701
introduced with :confval:`source_parsers` feature. Thanks for Eric Holscher.
2702
* #2265: Fix babel is used in spite of disabling it on ``latex_elements``
2703
* #2295: Avoid mutating dictionary errors while enumerating members in autodoc
2704
with Python 3
2705
* #2291: Fix pdflatex "Counter too large" error from footnotes inside tables of contents
2706
* #2292: Fix some footnotes disappear from LaTeX output
2707
* #2287: ``sphinx.transforms.Locale`` always uses rst parser. Sphinx i18n feature should
2708
support parsers that specified source_parsers.
2709
* #2290: Fix ``sphinx.ext.mathbase`` use of amsfonts may break user choice of math fonts
2710
* #2324: Print a hint how to increase the recursion limit when it is hit.
2711
* #1565, #2229: Revert new warning; the new warning will be triggered from version 1.4 on.
2712
* #2329: Refresh environment forcely if source directory has changed.
2713
* #2019: Fix the domain objects in search result are not escaped
2714
2715
-------------------------------------------------------------------
2716
Wed Feb 17 09:10:17 UTC 2016 - toddrme2178@gmail.com
2717
2718
- Add fix_some_testcase_error_with_pygments-2.1.1.patch
2719
Fixes tests with python-Pygments 2.1.1.
2720
Should be in next release.
2721
See https://github.com/sphinx-doc/sphinx/commit/50f4862b069d58ade556aad90bd179206f10fdc1
2722
- Add additional latex requirements.
2723
2724
-------------------------------------------------------------------
2725
Mon Jan 25 10:56:43 UTC 2016 - michael@stroeder.com
2726
2727
- requires python-pygments => 2.1
2728
- update to version 1.3.5:
2729
* Fix line numbers was not shown on warnings in LaTeX and texinfo
2730
builders
2731
* Fix filenames were not shown on warnings of citations
2732
* Fix line numbers was not shown on warnings in LaTeX and texinfo
2733
builders
2734
* Fix line numbers was not shown on warnings of indecies
2735
* #2026: Fix LaTeX builder rais error if parsed-literal includes
2736
links
2737
* #2243: Ignore strange docstring types for classes, do not crash
2738
* #2247: Fix #2205 breaks make html for definition list with
2739
classifiers that contains regular-expression like string
2740
* #1565: Show warning if Pygments throws an ErrorToken
2741
* #2211: Fix paragraphs in table cell doesn't work in Latex output
2742
* #2253: ":pyobject:" option of "literalinclude" directive can't
2743
detect indented body block when the block starts with blank or
2744
comment lines.
2745
* Fix TOC is not shown when no ":maxdepth:" for toctrees (ref: #771)
2746
* Fix warning message for ":numref:" if target is in orphaned doc
2747
(ref: #2244)
2748
2749
-------------------------------------------------------------------
2750
Tue Jan 12 16:35:16 UTC 2016 - michael@stroeder.com
2751
2752
- Update to 1.3.4
2753
2754
Release 1.3.4 (released Jan 12, 2016)[51]
2755
* #2134: Fix figure caption with reference causes latex build error
2756
* #2094: Fix rubric with reference not working in Latex
2757
* #2147: Fix litralinclude code in latex does not break in pages
2758
* #1833: Fix email addresses is showed again if latex_show_urls is
2759
not None
2760
* #2176: sphinx.ext.graphviz: use <object> instead of <img> to embed
2761
svg
2762
* #967: Fix SVG inheritance diagram is not hyperlinked (clickable)
2763
* #1237: Fix footnotes not working in definition list in LaTeX
2764
* #2168: Fix raw directive does not work for text writer
2765
* #2171: Fix cannot linkcheck url with unicode
2766
* #2182: LaTeX: support image file names with more than 1 dots
2767
* #2189: Fix previous sibling link for first file in subdirectory
2768
uses last file, not intended previous from root toctree
2769
* #2003: Fix decode error under python2 (only) when make linkcheck is
2770
run
2771
* #2186: Fix LaTeX output of mathbb in math
2772
* #1480, #2188: LaTeX: Support math in section titles
2773
* #2071: Fix same footnote in more than two section titles =>
2774
LaTeX/PDF Bug
2775
* #2040: Fix UnicodeDecodeError in sphinx-apidoc when author contains
2776
non-ascii characters
2777
* #2193: Fix shutil.SameFileError if source directory and destination
2778
directory are same
2779
* #2178: Fix unparseable C++ cross-reference when referencing a
2780
function with :cpp:any:
2781
* #2206: Fix Sphinx latex doc build failed due to a footnotes
2782
* #2201: Fix wrong table caption for tables with over 30 rows
2783
* #2213: Set <blockquote> in the classic theme to fit with <p>
2784
* #1815: Fix linkcheck does not raise an exception if warniserror set
2785
to true and link is broken
2786
* #2197: Fix slightly cryptic error message for missing index.rst
2787
file
2788
* #1894: Unlisted phony targets in quickstart Makefile
2789
* #2125: Fix unifies behavior of collapsed fields (GroupedField and
2790
TypedField)
2791
* #1408: Check latex_logo validity before copying
2792
* #771: Fix latex output doesn’t set tocdepth
2793
* #1820: On Windows, console coloring is broken with colorama version
2794
0.3.3. Now sphinx use colorama>=0.3.5 to avoid this problem.
2795
* #2072: Fix footnotes in chapter-titles do not appear in PDF output
2796
* #1580: Fix paragraphs in longtable don’t work in Latex output
2797
* #1366: Fix centered image not centered in latex
2798
* #1860: Fix man page using :samp: with braces - font doesn’t reset
2799
* #1610: Sphinx crashes in japanese indexing in some systems
2800
* Fix Sphinx crashes if mecab initialization failed
2801
* #2160: Fix broken TOC of PDFs if section includes an image
2802
* #2172: Fix dysfunctional admonition [53]py@lightbox in sphinx.sty.
2803
Thanks to jfbu.
2804
* #2198,#2205: make gettext generate broken msgid for definition
2805
lists.
2806
* #2062: Escape characters in doctests are treated incorrectly with
2807
Python 2.
2808
* #2225: Fix if the option does not begin with dash, linking is not
2809
performed
2810
* #2226: Fix math is not HTML-encoded when :nowrap: is given (jsmath,
2811
mathjax)
2812
* #1601, #2220: ‘any’ role breaks extended domains behavior. Affected
2813
extensions doesn’t support resolve_any_xref and resolve_xref
2814
returns problematic node instead of None. sphinxcontrib-httpdomain
2815
is one of them.
2816
* #2229: Fix no warning is given for unknown options
2817
2818
-------------------------------------------------------------------
2819
Wed Dec 9 16:41:19 UTC 2015 - michael@stroeder.com
2820
2821
- Update to 1.3.3
2822
- Updated project url in .spec file
2823
- Aligned version in BuildRequires: python-Pygments >= 2.0 with
2824
Requires line
2825
2826
Release 1.3.3 (released Dec 2, 2015)
2827
====================================
2828
2829
Bugs fixed
2830
----------
2831
2832
* #2012: Fix exception occurred if ``numfig_format`` is invalid
2833
* #2142: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js`` for
2834
source distribution on PyPI.
2835
* #2148: Error while building devhelp target with non-ASCII document.
2836
2837
2838
Release 1.3.2 (released Nov 29, 2015)
2839
=====================================
2840
2841
Features added
2842
--------------
2843
2844
* #1935: Make "numfig_format" overridable in latex_elements.
2845
2846
Bugs fixed
2847
----------
2848
2849
* #1976: Avoid "2.0" version of Babel because it doesn't work with Windows environment.
2850
* Add a "default.css" stylesheet (which imports "classic.css") for compatibility.
2851
* #1788: graphviz extension raises exception when caption option is present.
2852
* #1789: ``:pyobject:`` option of ``literalinclude`` directive includes following
2853
lines after class definitions
2854
* #1790: ``literalinclude`` strips empty lines at the head and tail
2855
* #1802: load plugin themes automatically when theme.conf use it as 'inherit'. Thanks to
2856
Takayuki Hirai.
2857
* #1794: custom theme extended from alabaster or sphinx_rtd_theme can't find base theme.
2858
* #1834: compatibility for docutils-0.13: handle_io_errors keyword argument for
2859
docutils.io.FileInput cause TypeError.
2860
* #1823: '.' as <module_path> for sphinx-apidoc cause an unfriendly error. Now '.'
2861
is converted to absolute path automatically.
2862
* Fix a crash when setting up extensions which do not support metadata.
2863
* #1784: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js``
2864
* #1822, #1892: Fix regression for #1061. autosummary can't generate doc for imported
2865
members since sphinx-1.3b3. Thanks to Eric Larson.
2866
* #1793, #1819: "see also" misses a linebreak in text output. Thanks to Takayuki Hirai.
2867
* #1780, #1866: "make text" shows "class" keyword twice. Thanks to Takayuki
2868
Hirai.
2869
* #1871: Fix for LaTeX output of tables with one column and multirows.
2870
* Work around the lack of the HTMLParserError exception in Python 3.5.
2871
* #1949: Use ``safe_getattr`` in the coverage builder to avoid aborting with
2872
descriptors that have custom behavior.
2873
* #1915: Do not generate smart quotes in doc field type annotations.
2874
* #1796: On py3, automated .mo building caused UnicodeDecodeError.
2875
* #1923: Use babel features only if the babel latex element is nonempty.
2876
* #1942: Fix a KeyError in websupport.
2877
* #1903: Fix strange id generation for glossary terms.
2878
* #1796, On py3, automated .mo building cause UnicodeDecodeError
2879
* Fix: ``make text`` will crush if a definition list item has more than 1 classifiers as:
2880
* #1796: On py3, automated .mo building cause UnicodeDecodeError
2881
* ``make text`` will crush if a definition list item has more than 1 classifiers as:
2882
* Fixed #1855: make gettext generates broken po file for definition lists with classifier.
2883
``term : classifier1 : classifier2``.
2884
* #1855: make gettext generates broken po file for definition lists with classifier.
2885
* #1869: Fix problems when dealing with files containing non-ASCII characters. Thanks to
2886
Marvin Schmidt.
2887
* #1798: Fix building LaTeX with references in titles.
2888
* #1725: On py2 environment, doctest with using non-ASCII characters causes
2889
``'ascii' codec can't decode byte`` exception.
2890
* #1540: Fix RuntimeError with circular referenced toctree
2891
* #1983: i18n translation feature breaks references which uses section name.
2892
* #1990: Use caption of toctree to title of \tableofcontents in LaTeX
2893
* #1987: Fix ampersand is ignored in ``:menuselection:`` and ``:guilabel:`` on LaTeX builder
2894
* #1994: More supporting non-standard parser (like recommonmark parser) for Translation and
2895
WebSupport feature. Now node.rawsource is fall backed to node.astext() during docutils
2896
transforming.
2897
* On Py2 environment, conf.py that is generated by sphinx-quickstart should have u prefixed
2898
config value for 'version' and 'release'.
2899
* #2102: On Windows + Py3, using ``|today|`` and non-ASCII date format will raise
2900
UnicodeEncodeError.
2901
* #1974: UnboundLocalError: local variable 'domain' referenced before assignment when
2902
using `any` role and `sphinx.ext.intersphinx` in same time.
2903
* #2121: multiple words search doesn't find pages when words across on the page title and
2904
the page content.
2905
* #1884, #1885: plug-in html themes cannot inherit another plug-in theme. Thanks to
2906
Suzumizaki.
2907
* #1818: `sphinx.ext.todo` directive generates broken html class attribute as
2908
'admonition-' when :confval:`language` is specified with non-ASCII linguistic area like
2909
'ru' or 'ja'. To fix this, now ``todo`` directive can use ```:class:`` option.
2910
* #2140: Fix footnotes in table has broken in LaTeX
2911
* #2127: MecabBinder for html searching feature doesn't work with Python 3.
2912
Thanks to Tomoko Uchida.
2913
2914
-------------------------------------------------------------------
2915
Wed Sep 16 13:16:01 UTC 2015 - toddrme2178@gmail.com
2916
2917
- Don't buildrequires latex-related stuff.
2918
2919
-------------------------------------------------------------------
2920
Fri Sep 4 13:27:51 UTC 2015 - toddrme2178@gmail.com
2921
2922
- Split latex-related stuff into its own subpackage so we can
2923
depend on the necessary latex components.
2924
2925
-------------------------------------------------------------------
2926
Wed Jul 29 13:18:28 UTC 2015 - hpj@urpla.net
2927
2928
- Be explicit about six version requirements
2929
2930
-------------------------------------------------------------------
2931
Mon Jul 27 09:03:41 UTC 2015 - seife+obs@b1-systems.com
2932
2933
- fix build on CentOS/RHEL by conditionalizing Recommends: tag
2934
- add #!BuildIgnore: texinfo to work around CentOS-7 project config
2935
2936
-------------------------------------------------------------------
2937
Mon Jun 29 14:07:26 UTC 2015 - toddrme2178@gmail.com
2938
2939
- Fix directory for man update-alternatives
2940
- Suggests are poorly-supported in openSUSE so use Recommends
2941
2942
-------------------------------------------------------------------
2943
Mon Apr 13 17:17:57 UTC 2015 - alarrosa@suse.com
2944
2945
- Added python-six as a requirement, not only as build requirement
2946
2947
-------------------------------------------------------------------
2948
Thu Apr 9 02:29:40 UTC 2015 - termim@gmail.com
2949
2950
- Update to 1.3.1
2951
+ Bugs fixed
2952
* see http://sphinx-doc.org/changes.html#release-1-3-1-released-mar-17-2015
2953
for complete list of fixed bugs
2954
2955
- additional dependencies required by 1.3.1
2956
+ python-Babel
2957
+ python-alabaster
2958
+ python-snowballstemmer
2959
+ python-sphinx_rtdtheme
2960
+ python-mock
2961
+ python-six
2962
2963
- Update to 1.3
2964
+ Incompatible changes
2965
* Roles ref, term and menusel now don’t generate emphasis nodes
2966
anymore. If you want to keep italic style, adapt your stylesheet.
2967
* Role numref uses %s as special character to indicate position of
2968
figure numbers instead # symbol.
2969
* Dependency requirement updates: docutils 0.11, Pygments 2.0
2970
* The gettext_enables config value has been renamed to
2971
gettext_additional_targets.
2972
* #1735: Use https://doc.python.org/ instead of http protocol. It was
2973
used for sphinx.ext.intersphinx and some documentation.
2974
* update bundled ez_setup.py for setuptools-7.0 that requires Python
2975
2.6 or later.
2976
* Dropped support for Python 2.5, 3.1 and 3.2.
2977
* Dropped support for docutils versions up to 0.9.
2978
* Removed the sphinx.ext.oldcmarkup extension.
2979
* The deprecated config values exclude_trees, exclude_dirnames and
2980
unused_docs have been removed.
2981
* A new node, sphinx.addnodes.literal_strong, has been added, for text
2982
that should appear literally (i.e. no smart quotes) in strong
2983
font. Custom writers will have to be adapted to handle this node.
2984
* PR#269, #1476: replace <tt> tag by <code>. User customized
2985
stylesheets should be updated If the css contain some styles for tt>
2986
tag. Thanks to Takeshi Komiya.
2987
* #1543: templates_path is automatically added to exclude_patterns to
2988
avoid reading autosummary rst templates in the templates directory.
2989
* Custom domains should implement the new Domain.resolve_any_xref
2990
method to make the any role work properly.
2991
* gettext builder: gettext doesn’t emit uuid information to generated
2992
pot files by default. Please set True to gettext_uuid to emit uuid
2993
information. Additionally, if the python-levenshtein 3rd-party package is
2994
installed, it will improve the calculation time.
2995
* gettext builder: disable extracting/apply ‘index’ node by
2996
default. Please set ‘index’ to gettext_enables to enable extracting index
2997
entries.
2998
* PR#307: Add frame to code-block in LaTeX. Thanks to Takeshi Komiya.
2999
+ Features added
3000
* Add convenience directives and roles to the C++ domain: directive
3001
cpp:var as alias for cpp:member, role :cpp:var as alias for :cpp:member,
3002
and role any for cross-reference to any C++ declaraction. #1577, #1744
3003
* The source_suffix config value can now be a list of multiple suffixes.
3004
* Add the ability to specify source parsers by source suffix with the
3005
source_parsers config value.
3006
* #1675: A new builder, AppleHelpBuilder, has been added that builds
3007
Apple Help Books.
3008
* #1346: Add new default theme;
3009
Add ‘alabaster’ theme.
3010
Add ‘sphinx_rtd_theme’ theme.
3011
The ‘default’ html theme has been renamed to ‘classic’. ‘default’
3012
is still available, however it will emit notice a recommendation that
3013
using new ‘alabaster’ theme.
3014
* Added highlight_options configuration value.
3015
* The language config value is now available in the HTML templates.
3016
* The env-updated event can now return a value, which is interpreted as
3017
an iterable of additional docnames that need to be rewritten.
3018
* #772: Support for scoped and unscoped enums in C++. Enumerators in
3019
unscoped enums are injected into the parent scope in addition to the enum
3020
scope.
3021
* Add todo_include_todos config option to quickstart conf file, handled
3022
as described in documentation.
3023
* HTML breadcrumb items tag has class “nav-item” and “nav-item-N” (like
3024
nav-item-0, 1, 2...).
3025
* New option sphinx-quickstart --use-make-mode for generating Makefile
3026
that use sphinx-build make-mode.
3027
* #1235: i18n: several node can be translated if it is set to
3028
gettext_additional_targets in conf.py. Supported nodes are:
3029
‘literal-block’
3030
‘doctest-block’
3031
‘raw’
3032
‘image’
3033
* #1227: Add html_scaled_image_link config option to conf.py, to
3034
control scaled image link.
3035
* #1597: Added possibility to return a new template name from
3036
html-page-context.
3037
* PR#314, #1150: Configuration values are now checked for their type. A
3038
warning is raised if the configured and the default value do not have the
3039
same type and do not share a common non-trivial base class.
3040
* Add support for Python 3.4.
3041
* Add support for docutils 0.12
3042
* Added sphinx.ext.napoleon extension for NumPy and Google style
3043
docstring support.
3044
* Added support for parallel reading (parsing) of source files with the
3045
sphinx-build -j option. Third-party extensions will need to be checked
3046
for compatibility and may need to be adapted if they store information in
3047
the build environment object. See env-merge-info.
3048
* Added the any role that can be used to find a cross-reference of any
3049
type in any domain. Custom domains should implement the new
3050
Domain.resolve_any_xref method to make this work properly.
3051
* Exception logs now contain the last 10 messages emitted by Sphinx.
3052
* Added support for extension versions (a string returned by setup(),
3053
these can be shown in the traceback log files). Version requirements for
3054
extensions can be specified in projects using the new needs_extensions
3055
config value.
3056
* Changing the default role within a document with the default-role
3057
directive is now supported.
3058
* PR#214: Added stemming support for 14 languages, so that the built-in
3059
document search can now handle these. Thanks to Shibukawa Yoshiki.
3060
* PR#296, PR#303, #76: numfig feature: Assign numbers to figures,
3061
tables and code-blocks. This feature is configured with numfig,
3062
numfig_secnum_depth and numfig_format. Also numref role is
3063
available. Thanks to Takeshi Komiya.
3064
* PR#202: Allow ”.” and “~” prefixed references in :param: doc fields
3065
for Python.
3066
* PR#184: Add autodoc_mock_imports, allowing to mock imports of
3067
external modules that need not be present when autodocumenting.
3068
* #925: Allow list-typed config values to be provided on the command
3069
line, like -D key=val1,val2.
3070
* #668: Allow line numbering of code-block and literalinclude
3071
directives to start at an arbitrary line number, with a new lineno-start
3072
option.
3073
* PR#172, PR#266: The code-block and literalinclude directives now can
3074
have a caption option that shows a filename before the code in the
3075
output. Thanks to Nasimul Haque, Takeshi Komiya.
3076
* Prompt for the document language in sphinx-quickstart.
3077
* PR#217: Added config values to suppress UUID and location information
3078
in generated gettext catalogs.
3079
* PR#236, #1456: apidoc: Add a -M option to put module documentation
3080
before submodule documentation. Thanks to Wes Turner and Luc Saffre.
3081
* #1434: Provide non-minified JS files for jquery.js and underscore.js
3082
to clarify the source of the minified files.
3083
* PR#252, #1291: Windows color console support. Thanks to meu31.
3084
* PR#255: When generating latex references, also insert latex
3085
target/anchor for the ids defined on the node. Thanks to Olivier
3086
Heurtier.
3087
* PR#229: Allow registration of other translators. Thanks to Russell
3088
Sim.
3089
* Add app.set_translator() API to register or override a Docutils
3090
translator class like html_translator_class.
3091
* PR#267, #1134: add ‘diff’ parameter to literalinclude. Thanks to
3092
Richard Wall and WAKAYAMA shirou.
3093
* PR#272: Added ‘bizstyle’ theme. Thanks to Shoji KUMAGAI.
3094
* Automatically compile *.mo files from *.po files when
3095
gettext_auto_build is True (default) and *.po is newer than *.mo file.
3096
* #623: sphinx.ext.viewcode supports imported function/class aliases.
3097
* PR#275: sphinx.ext.intersphinx supports multiple target for the
3098
inventory. Thanks to Brigitta Sipocz.
3099
* PR#261: Added the env-before-read-docs event that can be connected to
3100
modify the order of documents before they are read by the environment.
3101
* #1284: Program options documented with option can now start with +.
3102
* PR#291: The caption of code-block is recognised as a title of ref
3103
target. Thanks to Takeshi Komiya.
3104
* PR#298: Add new API: add_latex_package(). Thanks to Takeshi Komiya.
3105
* #1344: add gettext_enables to enable extracting ‘index’ to gettext
3106
catalog output / applying translation catalog to generated
3107
documentation.
3108
* PR#301, #1583: Allow the line numbering of the directive
3109
literalinclude to match that of the included file, using a new
3110
lineno-match option. Thanks to Jeppe Pihl.
3111
* PR#299: add various options to sphinx-quickstart. Quiet mode option
3112
--quiet will skips wizard mode. Thanks to WAKAYAMA shirou.
3113
* #1623: Return types specified with :rtype: are now turned into links
3114
if possible.
3115
+ Bugs fixed
3116
* see http://sphinx-doc.org/changes.html#release-1-3-released-mar-10-2015
3117
for complete list of fixed bugs
3118
3119
-------------------------------------------------------------------
3120
Tue Sep 9 16:14:01 UTC 2014 - toddrme2178@gmail.com
3121
3122
- Update to 1.2.3:
3123
+ Features added
3124
* #1518: `sphinx-apidoc` command now have a `--version` option to show version
3125
information and exit
3126
* New locales: Hebrew, European Portuguese, Vietnamese.
3127
+ Bugs fixed
3128
* #636: Keep straight single quotes in literal blocks in the LaTeX build.
3129
* #1419: Generated i18n sphinx.js files are missing message catalog entries
3130
from '.js_t' and '.html'. The issue was introduced from Sphinx-1.1
3131
* #1363: Fix i18n: missing python domain's cross-references with currentmodule
3132
directive or currentclass directive.
3133
* #1444: autosummary does not create the description from attributes docstring.
3134
* #1457: In python3 environment, make linkcheck cause "Can't convert 'bytes'
3135
object to str implicitly" error when link target url has a hash part.
3136
Thanks to Jorge_C.
3137
* #1467: Exception on Python3 if nonexistent method is specified by automethod
3138
* #1441: autosummary can't handle nested classes correctly.
3139
* #1499: With non-callable `setup` in a conf.py, now sphinx-build emits
3140
user-friendly error message.
3141
* #1502: In autodoc, fix display of parameter defaults containing backslashes.
3142
* #1226: autodoc, autosummary: importing setup.py by automodule will invoke
3143
setup process and execute `sys.exit()`. Now sphinx avoids SystemExit
3144
exception and emits warnings without unexpected termination.
3145
* #1503: py:function directive generate incorrectly signature when specifying
3146
a default parameter with an empty list `[]`. Thanks to Geert Jansen.
3147
* #1508: Non-ASCII filename raise exception on make singlehtml, latex, man,
3148
texinfo and changes.
3149
* #1531: On Python3 environment, docutils.conf with 'source_link=true' in the
3150
general section cause type error.
3151
* PR#270, #1533: Non-ASCII docstring cause UnicodeDecodeError when uses with
3152
inheritance-diagram directive. Thanks to WAKAYAMA shirou.
3153
* PR#281, PR#282, #1509: TODO extension not compatible with websupport. Thanks
3154
to Takeshi Komiya.
3155
* #1477: gettext does not extract nodes.line in a table or list.
3156
* #1544: `make text` generate wrong table when it has empty table cells.
3157
* #1522: Footnotes from table get displayed twice in LaTeX. This problem has
3158
been appeared from Sphinx-1.2.1 by #949.
3159
* #508: Sphinx every time exit with zero when is invoked from setup.py command.
3160
ex. `python setup.py build_sphinx -b doctest` return zero even if doctest
3161
failed.
3162
3163
-------------------------------------------------------------------
3164
Thu Mar 6 12:50:16 UTC 2014 - mcihar@suse.cz
3165
3166
- Update to 1.2.2:
3167
- PR#211: When checking for existence of the html_logo file, check the full
3168
relative path and not the basename.
3169
- PR#212: Fix traceback with autodoc and __init__ methods without docstring.
3170
- PR#213: Fix a missing import in the setup command.
3171
- #1357: Option names documented by option are now again allowed to not start
3172
with a dash or slash, and referencing them will work correctly.
3173
- #1358: Fix handling of image paths outside of the source directory when
3174
using the “wildcard” style reference.
3175
- #1374: Fix for autosummary generating overly-long summaries if first line
3176
doesn’t end with a period.
3177
- #1383: Fix Python 2.5 compatibility of sphinx-apidoc.
3178
- #1391: Actually prevent using “pngmath” and “mathjax” extensions at the
3179
same time in sphinx-quickstart.
3180
- #1386: Fix bug preventing more than one theme being added by the entry
3181
point mechanism.
3182
- #1370: Ignore “toctree” nodes in text writer, instead of raising.
3183
- #1364: Fix ‘make gettext’ fails when the ‘.. todolist::’ directive is
3184
present.
3185
- #1367: Fix a change of PR#96 that break
3186
sphinx.util.docfields.Field.make_field interface/behavior for item argument
3187
usage.
3188
3189
-------------------------------------------------------------------
3190
Mon Feb 10 15:08:45 UTC 2014 - speilicke@suse.com
3191
3192
- Update to version 1.2.1
3193
+ See CHANGES
3194
- Fix update-alternatives usage
3195
- Removed sphinx-setup_command_unicode.patch (upstream)
3196
3197
-------------------------------------------------------------------
3198
Mon Nov 18 09:05:53 UTC 2013 - speilicke@suse.com
3199
3200
- Fix %preun update-alternatives, used wrong master
3201
3202
-------------------------------------------------------------------
3203
Fri Nov 15 12:17:12 UTC 2013 - speilicke@suse.com
3204
3205
- Only ghost /etc/alternatives on 12.3 or newer
3206
3207
-------------------------------------------------------------------
3208
Wed Nov 13 14:54:09 UTC 2013 - speilicke@suse.com
3209
3210
- Add sphinx-setup_command_unicode.patch: Backport of
3211
https://bitbucket.org/birkenfeld/sphinx/pull-request/193/
3212
3213
-------------------------------------------------------------------
3214
Wed Nov 6 08:10:01 UTC 2013 - speilicke@suse.com
3215
3216
- Updateo version 1.2b3:
3217
+ The Sphinx error log files will now include a list of the loaded extensions
3218
for help in debugging.
3219
+ PR#154: Remove "sphinx" prefix from LaTeX class name except 'sphinxmanual'
3220
and 'sphinxhowto'. Now you can use your custom document class without
3221
'sphinx' prefix. Thanks to Erik B.
3222
+ #1265: Fix i18n: crash when translating a section name that is pointed to from
3223
a named target.
3224
+ A wrong condition broke the search feature on first page that is usually
3225
index.rst. This issue was introduced in 1.2b1.
3226
+ #703: When Sphinx can't decode filenames with non-ASCII characters, Sphinx now
3227
catches UnicodeError and will continue if possible instead of raising the
3228
exception.
3229
- Changes from version 1.2b2 and prior:
3230
+ See CHANGES file
3231
- Own /etc/alternatives/sphinx-* by ghosting (update-alternatives)
3232
- Dropped sphinx-docutils-0.10.patch (merged upstream)
3233
3234
-------------------------------------------------------------------
3235
Thu Oct 24 11:14:54 UTC 2013 - speilicke@suse.com
3236
3237
- Require python-setuptools instead of distribute (upstreams merged)
3238
3239
-------------------------------------------------------------------
3240
Thu Jul 18 09:15:10 UTC 2013 - speilicke@suse.com
3241
3242
- Drop runtime req on python-distribute
3243
3244
-------------------------------------------------------------------
3245
Tue Jul 9 14:16:18 UTC 2013 - dmueller@suse.com
3246
3247
- add sphinx-docutils-0.10.patch:
3248
* add support for docutils 0.10
3249
3250
-------------------------------------------------------------------
3251
Thu May 16 10:33:17 UTC 2013 - speilicke@suse.com
3252
3253
- Fix update-alternatives and support upgrade from previous versions
3254
3255
-------------------------------------------------------------------
3256
Tue Apr 30 14:38:24 UTC 2013 - speilicke@suse.com
3257
3258
- Apply update-alternatives for binaries and man-pages
3259
3260
-------------------------------------------------------------------
3261
Tue Nov 20 11:42:44 UTC 2012 - saschpe@suse.de
3262
3263
- Run testsuite
3264
- Build and install man-pages
3265
3266
-------------------------------------------------------------------
3267
Thu Nov 15 05:29:16 UTC 2012 - saschpe@suse.de
3268
3269
- Revert last "locale" change, it was a false positive
3270
3271
-------------------------------------------------------------------
3272
Tue Nov 6 00:24:32 UTC 2012 - saschpe@suse.de
3273
3274
- Remove obsolete SUSE version checks
3275
- Don't package locale files twice
3276
3277
-------------------------------------------------------------------
3278
Wed May 23 16:02:17 UTC 2012 - highwaystar.ru@gmail.com
3279
3280
- python3 package added
3281
3282
-------------------------------------------------------------------
3283
Wed May 23 12:59:54 UTC 2012 - saschpe@suse.de
3284
3285
- Update to version 1.1.13:
3286
* PR#40: Fix safe_repr function to decode bytestrings with non-ASCII
3287
characters correctly.
3288
* PR#37: Allow configuring sphinx-apidoc via SPHINX_APIDOC_OPTIONS.
3289
* PR#34: Restore Python 2.4 compatibility.
3290
* PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to
3291
the document class.
3292
* #695: When the highlight language "python" is specified explicitly,
3293
do not try to parse the code to recognize non-Python snippets.
3294
* #859: Fix exception under certain circumstances when not finding
3295
appropriate objects to link to.
3296
* #860: Do not crash when encountering invalid doctest examples, just
3297
emit a warning.
3298
* #864: Fix crash with some settings of :confval:modindex_common_prefix.
3299
* #862: Fix handling of -D and -A options on Python 3.
3300
* #851: Recognize and warn about circular toctrees, instead of running
3301
into recursion errors.
3302
* #853: Restore compatibility with docutils trunk.
3303
* #852: Fix HtmlHelp index entry links again.
3304
* #854: Fix inheritance_diagram raising attribute errors on builtins.
3305
* #832: Fix crashes when putting comments or lone terms in a glossary.
3306
* #834, #818: Fix HTML help language/encoding mapping for all Sphinx
3307
supported languages.
3308
* #844: Fix crashes when dealing with Unicode output in doctest extension.
3309
* #831: Provide --project flag in setup_command as advertised.
3310
* #875: Fix reading config files under Python 3.
3311
* #876: Fix quickstart test under Python 3.
3312
* #870: Fix spurious KeyErrors when removing documents.
3313
* #892: Fix single-HTML builder misbehaving with the master document in a
3314
subdirectory.
3315
* #873: Fix assertion errors with empty only directives.
3316
* #816: Fix encoding issues in the Qt help builder.
3317
3318
-------------------------------------------------------------------
3319
Thu Nov 10 11:05:21 UTC 2011 - saschpe@suse.de
3320
3321
- Update to version 1.1.2:
3322
* #809: Include custom fixers in the source distribution.
3323
- Changes from version 1.1.1:
3324
* #791: Fix QtHelp, DevHelp and HtmlHelp index entry links.
3325
* #792: Include "sphinx-apidoc" in the source distribution.
3326
* #797: Don't crash on a misformatted glossary.
3327
* #801: Make intersphinx work properly without SSL support.
3328
* #805: Make the Sphinx.add_index_to_domain method work correctly.
3329
* #780: Fix Python 2.5 compatibility.
3330
3331
-------------------------------------------------------------------
3332
Thu Sep 22 10:58:02 UTC 2011 - saschpe@suse.de
3333
3334
- Require python-docutils instead of docutils
3335
- Change license to BSD-2-Clause (SPDX style, according to LICENSE)
3336
3337
-------------------------------------------------------------------
3338
Wed Aug 31 13:59:59 UTC 2011 - saschpe@suse.de
3339
3340
- Corrected buildrequires/requires:
3341
* python-jinja2 is now python-Jinja2
3342
* python-pygments is now python-Pygments
3343
3344
-------------------------------------------------------------------
3345
Tue Jul 12 09:59:25 UTC 2011 - mcihar@suse.cz
3346
3347
- add python-distribute to Requires, it is needed to run sphinx-build
3348
3349
-------------------------------------------------------------------
3350
Sun Jul 3 11:31:27 UTC 2011 - saschpe@gmx.de
3351
3352
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx'
3353
- Update to version 1.0.7:
3354
* #347: Fix wrong generation of directives of static methods in
3355
autosummary.
3356
* #599: Import PIL as from PIL import Image.
3357
* #558: Fix longtables with captions in LaTeX output.
3358
* Make token references work as hyperlinks again in LaTeX output.
3359
* #572: Show warnings by default when reference labels cannot be
3360
found.
3361
* #536: Include line number when complaining about missing reference
3362
targets in nitpicky mode.
3363
* #590: Fix inline display of graphviz diagrams in LaTeX output.
3364
* #589: Build using app.build() in setup command.
3365
* Fix a bug in the inheritance diagram exception that caused base
3366
classes to be skipped if one of them is a builtin.
3367
* Fix general index links for C++ domain objects.
3368
* #332: Make admonition boundaries in LaTeX output visible.
3369
* #573: Fix KeyErrors occurring on rebuild after removing a file.
3370
* Fix a traceback when removing files with globbed toctrees.
3371
* If an autodoc object cannot be imported, always re-read the
3372
document containing the directive on next build.
3373
* If an autodoc object cannot be imported, show the full traceback
3374
of the import error.
3375
* Fix a bug where the removal of download files and images wasn't
3376
noticed.
3377
* #571: Implement ~ cross-reference prefix for the C domain.
3378
* Fix regression of LaTeX output with the fix of #556.
3379
* #568: Fix lookup of class attribute documentation on descriptors
3380
so that comment documentation now works.
3381
* Fix traceback with only directives preceded by targets.
3382
* Fix tracebacks occurring for duplicate C++ domain objects.
3383
* Fix JavaScript domain links to objects with $ in their name.
3384
- Spec file cleanup:
3385
* Use fdupes and %find_lang
3386
* Removed authors from description
3387
* Make doc package on require %{version}, not %{release}
3388
3389
-------------------------------------------------------------------
3390
Wed Jan 12 09:36:17 UTC 2011 - saschpe@suse.de
3391
3392
- Spec file cleanup
3393
* correct doc package group, no dupes
3394
* added rpmlintrc file
3395
- Update to 1.0.6
3396
* #581: Fix traceback in Python domain for empty cross-reference
3397
targets.
3398
* #283: Fix literal block display issues on Chrome browsers.
3399
* #383, #148: Support sorting a limited range of accented
3400
characters in the general index and the glossary.
3401
* #570: Try decoding -D and -A command-line arguments with
3402
the locale's preferred encoding.
3403
* #528: Observe locale_dirs when looking for the JS
3404
translations file.
3405
* #574: Add special code for better support of Japanese documents
3406
in the LaTeX builder.
3407
* Regression of #77: If there is only one parameter given with
3408
:param: markup, the bullet list is now suppressed again.
3409
* #556: Fix missing paragraph breaks in LaTeX output in certain
3410
situations.
3411
* #567: Emit the autodoc-process-docstring event even for objects
3412
without a docstring so that it can add content.
3413
* #565: In the LaTeX builder, not only literal blocks require
3414
different table handling, but also quite a few other list-like
3415
block elements.
3416
* #515: Fix tracebacks in the viewcode extension for Python objects
3417
that do not have a valid signature.
3418
* Fix strange reportings of line numbers for warnings generated
3419
from autodoc-included docstrings, due to different behavior
3420
depending on docutils version.
3421
* Several fixes to the C++ domain.
3422
3423
-------------------------------------------------------------------
3424
Mon Jan 3 12:04:29 UTC 2011 - nix@opensuse.org
3425
3426
- Update to 1.0.5
3427
3428
-------------------------------------------------------------------
3429
Wed Sep 8 12:35:13 UTC 2010 - nix@opensuse.org
3430
3431
- Update to 1.0.3
3432
3433
-------------------------------------------------------------------
3434
Mon Apr 26 14:34:11 UTC 2010 - nix@opensuse.org
3435
3436
- Update to 0.6.5
3437
3438
-------------------------------------------------------------------
3439
Tue Aug 11 10:53:47 CEST 2009 - cfarrell@suse.de
3440
3441
- Update to 0.6.2 and split docs into separate package
3442
3443
-------------------------------------------------------------------
3444
Fri Jun 5 21:54:31 CEST 2009 - poeml@suse.de
3445
3446
- initial package (0.6.1)
3447
3448