1
0
forked from pool/python-Sphinx

3 Commits

Author SHA256 Message Date
ed440f67f6 Accepting request 979826 from home:marxin:branches:devel:languages:python
- Update to version 5.0.0:
  * #10164: Support `Docutils 0.18`_. Patch by Adam Turner.
  * #10031: autosummary: ``sphinx.ext.autosummary.import_by_name()`` now raises
    ``ImportExceptionGroup`` instead of ``ImportError`` when it failed to import
    target object.  Please handle the exception if your extension uses the
    function to import Python object.  As a workaround, you can disable the
    behavior via ``grouped_exception=False`` keyword argument until v7.0.
  * #9962: texinfo: Customizing styles of emphasized text via ``@definfoenclose``
    command was not supported because the command was deprecated since texinfo 6.8
  * #2068: :confval:`intersphinx_disabled_reftypes` has changed default value
    from an empty list to ``['std:doc']`` as avoid too surprising silent
    intersphinx resolutions.
    To migrate: either add an explicit inventory name to the references
    intersphinx should resolve, or explicitly set the value of this configuration
    variable to an empty list.
  * #10197: html theme: Reduce ``body_min_width`` setting in basic theme to 360px
  * #9999: LaTeX: separate terms from their definitions by a CR (refs: #9985)
  * #10062: Change the default language to ``'en'`` if any language is not set in
    ``conf.py``
  * #10474: :confval:`language` does not accept ``None`` as it value.  The default
    value of ``language`` becomes to ``'en'`` now.
    * #10028: jQuery and underscore.js will no longer be automatically injected into
    themes from Sphinx 6.0. If you develop a theme or extension that uses the
    ``jQuery``, ``$``, or ``$u`` global objects, you need to update your
    JavaScript or use the mitigation below.
    To re-add jQuery and underscore.js, you will need to copy ``jquery.js`` and
    ``underscore.js`` from `the Sphinx repository`_ to your ``static`` directory,
    and add the following to your ``layout.html``:
    .. _the Sphinx repository: https://github.com/sphinx-doc/sphinx/tree/v4.3.2/sphinx/themes/basic/static
    .. code-block:: html+jinja

OBS-URL: https://build.opensuse.org/request/show/979826
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=208
2022-05-30 09:59:33 +00:00
bec2daec3d Accepting request 965338 from home:marxin:branches:devel:languages:python
- Update to version 4.5.0:
  * #10112: extlinks: Disable hardcoded links detector by default
  * #9993, #10177: std domain: Disallow to refer an inline target via
    :rst:role:`ref` role
  * ``sphinx.ext.napoleon.docstring.GoogleDocstring._qualify_name()``
  * #10260: Enable ``FORCE_COLOR`` and ``NO_COLOR`` for terminal colouring
  * #10234: autosummary: Add "autosummary" CSS class to summary tables
  * #10125: extlinks: Improve suggestion message for a reference having title
  * #10112: extlinks: Add :confval:`extlinks_detect_hardcoded_links` to enable
    hardcoded links detector feature
  * #9494, #9456: html search: Add a config variable
    :confval:`html_show_search_summary` to enable/disable the search summaries
  * #9337: HTML theme, add option ``enable_search_shortcuts`` that enables :kbd:'/' as
           a Quick search shortcut and :kbd:`Esc` shortcut that
           removes search highlighting.
  * #10107: i18n: Allow to suppress translation warnings by adding ``#noqa``
    comment to the tail of each translation message
  * #10252: C++, support attributes on classes, unions, and enums.
  * #10253: :rst:dir:`pep` role now generates URLs based on peps.python.org
  * #9876: autodoc: Failed to document an imported class that is built from native
    binary module
  * #10133: autodoc: Crashed when mocked module is used for type annotation
  * #10146: autodoc: :confval:`autodoc_default_options` does not support
    ``no-value`` option
  * #9971: autodoc: TypeError is raised when the target object is annotated by
    unhashable object
  * #10205: extlinks: Failed to compile regexp on checking hardcoded links
  * #10277: html search: Could not search short words (ex. "use")
  * #9529: LaTeX: named auto numbered footnote (ex. ``[#named]``) that is referred
    multiple times was rendered to a question mark

OBS-URL: https://build.opensuse.org/request/show/965338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=206
2022-03-28 15:11:51 +00:00
93d7fa7d3a Accepting request 947122 from home:marxin:branches:devel:languages:python
- Update to version 4.4.0:
  * #10007: Use ``importlib_metadata`` for python-3.9 or older
  * #10007: Drop ``setuptools``
  * #9075: autodoc: Add a config variable :confval:`autodoc_typehints_format`
    to suppress the leading module names of typehints of function signatures (ex.
    ``io.StringIO`` -> ``StringIO``)
  * #9831: Autosummary now documents only the members specified in a module's
    ``__all__`` attribute if :confval:`autosummary_ignore_module_all` is set to
    ``False``. The default behaviour is unchanged. Autogen also now supports
    this behavior with the ``--respect-module-all`` switch.
  * #9555: autosummary: Improve error messages on failure to load target object
  * #9800: extlinks: Emit warning if a hardcoded link is replaceable
    by an extlink, suggesting a replacement.
  * #9961: html: Support nested <kbd> HTML elements in other HTML builders
  * #10013: html: Allow to change the loading method of JS via ``loading_method``
    parameter for :meth:`Sphinx.add_js_file()`
  * #9551: html search: "Hide Search Matches" link removes "highlight" parameter
    from URL
  * #9815: html theme: Wrap sidebar components in div to allow customizing their
    layout via CSS
  * #9827: i18n: Sort items in glossary by translated terms
  * #9899: py domain: Allows to specify cross-reference specifier (``.`` and
    ``~``) as ``:type:`` option
  * #9894: linkcheck: add option ``linkcheck_exclude_documents`` to disable link
    checking in matched documents.
  * #9793: sphinx-build: Allow to use the parallel build feature in macOS on macOS
    and Python3.8+
  * #10055: sphinx-build: Create directories when ``-w`` option given
  * #9993: std domain: Allow to refer an inline target (ex. ``_`target name```)
    via :rst:role:`ref` role

OBS-URL: https://build.opensuse.org/request/show/947122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=200
2022-01-18 21:35:10 +00:00