<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sphinx-git.git/sphinx/builders/html, branch master</title>
<subtitle>github.com: sphinx-doc/sphinx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/'/>
<entry>
<title>html builder: Append CRC32 checksum to asset URIs (#11415)</title>
<updated>2023-05-11T04:19:31+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-05-11T04:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=ae206694e68bea074aca633ea0d32e9ed882a95f'/>
<id>ae206694e68bea074aca633ea0d32e9ed882a95f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove HTML 4 support (#11385)</title>
<updated>2023-04-28T10:32:12+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-04-28T10:32:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=ad473730a3763f241e9aaea1a87d1893f01b86fd'/>
<id>ad473730a3763f241e9aaea1a87d1893f01b86fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove ``HTMLTranslator`` and ``html5_ready`` from ``sphinx.builders.html`` (#11383)</title>
<updated>2023-04-28T10:01:14+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-04-28T10:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=3e3251d3ba4f1e5fa6d34d995505f4d3ace5acad'/>
<id>3e3251d3ba4f1e5fa6d34d995505f4d3ace5acad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated ``style`` key for HTML templates (#11381)</title>
<updated>2023-04-28T09:41:59+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-04-28T09:41:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=4be56f3b7ddf44265d2e7a8f26a33ba46be52ab9'/>
<id>4be56f3b7ddf44265d2e7a8f26a33ba46be52ab9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Partially revert "Disable localisation when SOURCE_DATE_EPOCH is set (#10949)" (#11343)</title>
<updated>2023-04-21T18:04:26+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-04-21T18:04:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=aee3c0ab75974790adf359a9c5089d1d781a6b21'/>
<id>aee3c0ab75974790adf359a9c5089d1d781a6b21</id>
<content type='text'>
This keeps some of the added tests, and avoids a full revert of ``sphinx.locale``.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This keeps some of the added tests, and avoids a full revert of ``sphinx.locale``.</pre>
</div>
</content>
</entry>
<entry>
<title>Disable localisation when ``SOURCE_DATE_EPOCH`` is set (#10949)</title>
<updated>2023-04-07T16:49:36+00:00</updated>
<author>
<name>James Addison</name>
<email>55152140+jayaddison@users.noreply.github.com</email>
</author>
<published>2023-04-07T16:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=f82c3c99126e644125d243ba0d0788197401e416'/>
<id>f82c3c99126e644125d243ba0d0788197401e416</id>
<content type='text'>
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/</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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/</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing quotes in html 4 deprecation text</title>
<updated>2023-03-21T20:01:23+00:00</updated>
<author>
<name>Rafael Fontenelle</name>
<email>rffontenelle@users.noreply.github.com</email>
</author>
<published>2023-03-21T14:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=036b69b9bb75a8294fd54c2e6f00f4106d5c450b'/>
<id>036b69b9bb75a8294fd54c2e6f00f4106d5c450b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove useless compatability imports</title>
<updated>2023-03-17T21:32:52+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-03-17T21:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=17d4dfa7fb9a7db6376f4dbd2b4a7b5522bacb02'/>
<id>17d4dfa7fb9a7db6376f4dbd2b4a7b5522bacb02</id>
<content type='text'>
This exposed names at ``sphinx.builders.html.sphinxcontrib.serializinghtml``,
etc, which offers no benefit. This was originally broken in commit
9dfbfbf16b9873de3ff94984e40b5bc41e28005e, four years ago.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This exposed names at ``sphinx.builders.html.sphinxcontrib.serializinghtml``,
etc, which offers no benefit. This was originally broken in commit
9dfbfbf16b9873de3ff94984e40b5bc41e28005e, four years ago.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve ``flake8-return`` errors</title>
<updated>2023-02-18T02:16:50+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-02-18T01:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=48043906044519d01028b63b006825647d4160d8'/>
<id>48043906044519d01028b63b006825647d4160d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unescape quotation marks where possible</title>
<updated>2023-02-18T02:16:50+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-02-18T01:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=6c569889791c1abae6202a9c10ee4c5c8a6745ea'/>
<id>6c569889791c1abae6202a9c10ee4c5c8a6745ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
