<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sphinx-git.git, branch dependabot/github_actions/peter-evans/create-pull-request-5</title>
<subtitle>github.com: sphinx-doc/sphinx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/'/>
<entry>
<title>Bump peter-evans/create-pull-request from 4 to 5</title>
<updated>2023-04-10T05:01:32+00:00</updated>
<author>
<name>dependabot[bot]</name>
<email>49699333+dependabot[bot]@users.noreply.github.com</email>
</author>
<published>2023-04-10T05:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=0cd67022fa433eb1ef474f6d67d20772cdc89123'/>
<id>0cd67022fa433eb1ef474f6d67d20772cdc89123</id>
<content type='text'>
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] &lt;support@github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] &lt;support@github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor ``_TranslationProxy``</title>
<updated>2023-04-08T04:09:12+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-04-08T04:07:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=2c83af0aab7080e0b78d4a16981eed878b2cac4c'/>
<id>2c83af0aab7080e0b78d4a16981eed878b2cac4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use PEP 585 and 604 type annotations in ``sphinx.locale``</title>
<updated>2023-04-08T04:08:50+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-04-08T04:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=31ca9627136b7660f96fddce25e0f6f8e839fcae'/>
<id>31ca9627136b7660f96fddce25e0f6f8e839fcae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a missing word in ``doc/development/theming.rst`` (#11301)</title>
<updated>2023-04-07T19:59:27+00:00</updated>
<author>
<name>James Addison</name>
<email>55152140+jayaddison@users.noreply.github.com</email>
</author>
<published>2023-04-07T19:59:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=94f4afafa5564b9d69d18377e40f080c75da410e'/>
<id>94f4afafa5564b9d69d18377e40f080c75da410e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)</title>
<updated>2023-04-07T17:07:15+00:00</updated>
<author>
<name>James Addison</name>
<email>55152140+jayaddison@users.noreply.github.com</email>
</author>
<published>2023-04-07T17:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=5d13215b58f93c6be8255ef2e3e20836508c7d47'/>
<id>5d13215b58f93c6be8255ef2e3e20836508c7d47</id>
<content type='text'>
Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</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://trove.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>Fix translator class check in ``SigElementFallbackTransform`` (#11283)</title>
<updated>2023-04-06T23:28:48+00:00</updated>
<author>
<name>picnixz</name>
<email>10796600+picnixz@users.noreply.github.com</email>
</author>
<published>2023-04-06T23:28:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=4659fc21a92c3ff8c7019b56bf2e519bb5583ce5'/>
<id>4659fc21a92c3ff8c7019b56bf2e519bb5583ce5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure arguments to ``PIL.Image.resize()`` are integers (#11288)</title>
<updated>2023-04-06T22:51:18+00:00</updated>
<author>
<name>James Reinders</name>
<email>github@collect3.com</email>
</author>
<published>2023-04-06T22:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=063c2e3fbeefef2def5dc7259aeb26e3db3987fa'/>
<id>063c2e3fbeefef2def5dc7259aeb26e3db3987fa</id>
<content type='text'>
Update ``copy_image_files_pil`` so that the computation of ``nh`` is
always an integer, as otherwise some calls to ``PIL.Image.resize()``
fail as floats are not allowed

Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update ``copy_image_files_pil`` so that the computation of ``nh`` is
always an integer, as otherwise some calls to ``PIL.Image.resize()``
fail as floats are not allowed

Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>autosummary: Support documenting inherited attributes (#10691)</title>
<updated>2023-04-06T22:33:43+00:00</updated>
<author>
<name>Jens Hedegaard Nielsen</name>
<email>Jens.Nielsen@microsoft.com</email>
</author>
<published>2023-04-06T22:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=3edae689040301e0b0833bb0321f265784874ff5'/>
<id>3edae689040301e0b0833bb0321f265784874ff5</id>
<content type='text'>
The current implementation of ``import_ivar_by_name`` filters
attributes if the name of the object that the attribute belongs to
does not match the object being documented. However, for inherited
attributes this is not the case. Filtering only on the attribute name
seems to resolve the issue. It is not clear to me if there are any
unwanted sideeffects of this and we should filter on the list of
qualnames for the object and all its super classes (if any).

Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current implementation of ``import_ivar_by_name`` filters
attributes if the name of the object that the attribute belongs to
does not match the object being documented. However, for inherited
attributes this is not the case. Filtering only on the attribute name
seems to resolve the issue. It is not clear to me if there are any
unwanted sideeffects of this and we should filter on the list of
qualnames for the object and all its super classes (if any).

Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Enable 'nit-picky mode' for Sphinx's documentation</title>
<updated>2023-04-06T22:11:39+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+aa-turner@users.noreply.github.com</email>
</author>
<published>2023-04-06T22:11:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=7ecf0372809825b97082a73587b3c27660db01a7'/>
<id>7ecf0372809825b97082a73587b3c27660db01a7</id>
<content type='text'>
Fix several reference errors throughout the documentation and set
``nitpick_ignore`` in ``doc/conf.py``.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix several reference errors throughout the documentation and set
``nitpick_ignore`` in ``doc/conf.py``.
</pre>
</div>
</content>
</entry>
</feed>
