summaryrefslogtreecommitdiff
path: root/sphinx
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ``status_iterator``HEADmasterAdam Turner2023-05-151-14/+20
|
* Don't add colours to messagelogAdam Turner2023-05-151-1/+0
| | | | We need to remove colours later for display, so it is pointless to add them.
* Expand the mypy whitelist for 'sphinx.util' (#11406)danieleades2023-05-125-8/+8
|
* Remove 'sphinx.ext.duration' from the mypy whitelist (#11404)danieleades2023-05-121-1/+1
|
* Bump versionAdam Turner2023-05-121-2/+2
|
* Allow ``copyright`` to contain multiple entries (#10983)Stefanie Molin2023-05-112-7/+23
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Allow multi-line object description signatures (#11011)TLouf2023-05-1113-35/+350
| | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com> Co-authored-by: TLouf <loufthomas@gmail.com>
* Accept a version tuple in ``app.require_sphinx()``Adam Turner2023-05-111-4/+12
|
* html builder: Append CRC32 checksum to asset URIs (#11415)Adam Turner2023-05-115-21/+57
|
* Warn on deprecated Python-specific index types (#11412)Adam Turner2023-05-094-30/+23
|
* linkcheck: Use context managers for HTTP requests (#11318)James Addison2023-05-091-12/+10
| | | | | | | | This closes HTTP responses when no content reads are required, as when requests are made in streaming mode, ``requests`` doesn't know whether the caller may intend to later read content from a streamed HTTP response object and holds the socket open. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Bump versionAdam Turner2023-04-291-3/+3
|
* Bump to 7.0.0 finalv7.0.0Adam Turner2023-04-291-2/+2
|
* Bump to 7.0.0rc1 finalv7.0.0rc1Adam Turner2023-04-281-3/+3
|
* Update ``sphinx.deprecation`` for Sphinx 7.0 (#11386)Adam Turner2023-04-281-10/+10
|
* Remove HTML 4 support (#11385)Adam Turner2023-04-284-887/+15
|
* Remove ``HTMLTranslator`` and ``html5_ready`` from ``sphinx.builders.html`` ↵Adam Turner2023-04-281-18/+0
| | | | (#11383)
* Remove deprecated ``LaTeXTranslator.docclasses`` attribute (#11382)Adam Turner2023-04-281-9/+0
|
* Remove deprecated ``style`` key for HTML templates (#11381)Adam Turner2023-04-281-1/+0
|
* Autosummary: Always emit grouped ``ImportError`` exceptions (#11380)Adam Turner2023-04-281-15/+5
|
* Make the ``env`` argument to ``Builder`` subclasses required (#11379)Adam Turner2023-04-283-37/+5
|
* Remove deprecated ``sphinx.util.docutils.is_html5_writer_available()`` ↵Adam Turner2023-04-281-9/+0
| | | | function (#11378)
* Removed deprecated ``sphinx.util.get_matching_files()`` function (#11373)Adam Turner2023-04-281-39/+1
|
* Remove deprecated ``sphinx.io.read_doc()`` function (#11372)Adam Turner2023-04-271-37/+1
|
* Remove deprecated ``sphinx.pycode.ast.parse()`` (#11371)Adam Turner2023-04-271-17/+0
|
* Remove deprecated ``sphinx.util.stemmer`` module (#11370)Adam Turner2023-04-271-62/+0
|
* Make ``locale`` required in ``sphinx.util.i18n.format_date()`` (#11366)Adam Turner2023-04-271-13/+1
|
* Remove support for the ``jsdump`` format in ``sphinx.search`` (#11365)Adam Turner2023-04-272-213/+2
|
* Remove the deprecated ``sphinx.ext.napoleon.iterators`` module (#11364)Adam Turner2023-04-271-235/+0
|
* Remove the deprecated Setuptools integration (#11363)Adam Turner2023-04-271-192/+0
|
* Harmonise references to Sphinx versions (#11361)Adam Turner2023-04-273-5/+6
|
* Remove deprecated ``make_old_id`` functions (#11360)Adam Turner2023-04-275-87/+0
|
* Remove deprecated search splitters in ``sphinx.search.ja`` (#11359)Adam Turner2023-04-271-5/+0
|
* Bump versionAdam Turner2023-04-261-2/+2
|
* Bump versionAdam Turner2023-04-251-3/+3
|
* Bump to 6.2.1 finalv6.2.1Adam Turner2023-04-251-2/+2
|
* Revert the default type of ``nitpick_ignore[_regex]`` to ``list``Adam Turner2023-04-251-2/+2
|
* Bump versionAdam Turner2023-04-231-3/+3
|
* Bump to 6.2.0 finalAdam Turner2023-04-231-2/+2
|
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-2353-98/+42
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Partially revert "Disable localisation when SOURCE_DATE_EPOCH is set ↵Adam Turner2023-04-218-25/+18
| | | | | (#10949)" (#11343) This keeps some of the added tests, and avoids a full revert of ``sphinx.locale``.
* Create a 'search field' component for themes (#11045)Tim Hoffmann2023-04-211-0/+23
| | | | | | | | | | | | | ``searchfield.html`` is similar to the existing ``searchbox.html``, but does not have the heading "Quick Search". Instead, it uses "Search" as a placeholder text. This gives a cleaner and less cluttered appearance. The searchfield component is added to the basic theme and thus can be used in any derivative theme. It is not used by default for backward compatibility. The searchfield compenent is made the default in the sphinx13 theme. CSS changes ensure that the top of the search field is aligned with the top of the main content.
* Update CHANGES for PR #11333Bénédikt Tran2023-04-181-3/+3
|
* Fix duplicated labels in TeX output (#11093)Bénédikt Tran2023-04-171-1/+20
|
* Use leaner TeX syntax (follow-up to #11319)Jean-François B2023-04-111-6/+6
| | | | Because it is cool. And avoids overhead. Matter of principle.
* LaTeX: get aligned longtable obey current list indentJean-François B2023-04-111-9/+13
| | | | | | Fix #11268. Thanks to @picnixz.
* Refactor ``_TranslationProxy``Adam Turner2023-04-081-43/+31
|
* Use PEP 585 and 604 type annotations in ``sphinx.locale``Adam Turner2023-04-081-15/+17
|
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-0753-42/+98
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Disable localisation when ``SOURCE_DATE_EPOCH`` is set (#10949)James Addison2023-04-078-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit disables Sphinx's localisation features when reproducible builds are requested, as determined by a non-empty SOURCE_DATE_EPOCH_ environment variable. The `Reproducible Builds`_ project aims to provide confidence to consumers of packaged software that the artefacts they're downloading and installing have not been altered by the environment they were built in, and can be replicated at a later date if required. Builds of localised documentation using Sphinx currently account for a large category of reproducible build testing failures, because the builders intentionally use varying environment locales at build-time. This can affect the contents of the ``objects.inv`` file. During investigation, it turned out that many ``gettext``-localised values (particularly in Python modules under ``sphinx.domains``) were being translated at module-load-time and would not subsequently be re-localised. This creates two unusual effects: 1. Attempting to write a test case to build the same application in two different languages was not initially possible, as the first-loaded translation catalogue (as found in the ``sphinx.locale.translators`` global variable) would remain in-use for subsequent application builds under different locales. 2. Localisation of strings could vary depending on whether the relevant modules were loaded before or after the resource catalogues were populated. We fix this by performing all translations lazily so that module imports can occur in any order and localisation of inventory entries should occur only when translations of those items are requested. Localisation can then be disabled by configuring the ``gettext`` language to the ISO-639-3 'undetermined' code (``'und'``), as this should not have an associated translation catalogue. We also want to prevent ``gettext`` from attempting to determine the host's locale from environment variables (including ``LANGUAGE``). .. _SOURCE_DATE_EPOCH: https://reproducible-builds.org/docs/source-date-epoch/ .. _Reproducible Builds: https://www.reproducible-builds.org/