Commit Graph
20106 Commits
Author SHA1 Message Date
WillemandAdam Turner de6b18ac7d Remove remaining references to the setuptools integration (#11418)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-05-12 22:46:17 +01:00
Adam Turner db546189ce Support Docutils 0.20 (#11411) 2023-05-09 21:00:04 +01:00
Adam Turner 8942a1dddf Test with Docutils 0.20 2023-05-09 19:24:18 +01:00
James AddisonandAdam Turner c9d0933e5d linkcheck: Use context managers for HTTP requests (#11318)
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>
2023-05-09 17:09:35 +01:00
Adam Turner 2b1c106bbf Update documentation workflow
- Add 'workflow_dispatch' target
- Force output to use colour
- Print traceback on error
- Use parallel building
2023-05-09 16:51:52 +01:00
Adam Turner ba7408209e Change concurrency groups for GitHub workflows
This means that 'push' triggered workflows are not cancelled.
2023-04-29 22:44:55 +01:00
Adam Turner b546879539 Bump version 2023-04-29 22:26:43 +01:00
Adam Turner d568b2f4f7 Bump to 7.0.0 final v7.0.0 2023-04-29 22:25:57 +01:00
Adam Turner ff79edf353 Remove `jsdump` references post removal 2023-04-28 22:50:01 +01:00
Adam Turner 1a5133ac39 Bump to 7.0.0rc1 final v7.0.0rc1 2023-04-28 12:30:48 +01:00
Adam Turner 5795fc7f9f Update `sphinx.deprecation` for Sphinx 7.0 (#11386) 2023-04-28 12:10:13 +01:00
Adam Turner 6202087f91 Add a note to CHANGES for PR 11385 2023-04-28 12:04:41 +01:00
Adam Turner ad473730a3 Remove HTML 4 support (#11385) 2023-04-28 11:32:12 +01:00
Adam Turner 3e3251d3ba Remove `HTMLTranslator and html5_ready from sphinx.builders.html` (#11383) 2023-04-28 11:01:14 +01:00
Adam Turner 77fd819a09 Remove deprecated `LaTeXTranslator.docclasses` attribute (#11382) 2023-04-28 10:50:57 +01:00
Adam Turner 4be56f3b7d Remove deprecated `style` key for HTML templates (#11381) 2023-04-28 10:41:59 +01:00
Adam Turner 49027a9ae6 Autosummary: Always emit grouped `ImportError` exceptions (#11380) 2023-04-28 10:32:04 +01:00
Adam Turner a464c5851d Make the `env argument to Builder` subclasses required (#11379) 2023-04-28 10:25:57 +01:00
Adam Turner d22e660347 Remove deprecated `sphinx.util.docutils.is_html5_writer_available()` function (#11378) 2023-04-28 10:14:53 +01:00
Adam Turner ce606d82cd Removed deprecated `sphinx.util.get_matching_files()` function (#11373) 2023-04-28 09:55:14 +01:00
Adam Turner 262e1d9857 Remove deprecated `sphinx.io.read_doc()` function (#11372) 2023-04-27 16:01:14 +01:00
Adam Turner 24f476949d Remove deprecated `sphinx.pycode.ast.parse()` (#11371) 2023-04-27 15:18:44 +01:00
Adam Turner 583fb74bd4 Remove deprecated `sphinx.util.stemmer` module (#11370) 2023-04-27 14:53:51 +01:00
Adam Turner 3c4e78e236 Make `locale required in sphinx.util.i18n.format_date()` (#11366) 2023-04-27 01:30:40 +01:00
Adam Turner ce5ce1ac2d Remove support for the `jsdump format in sphinx.search` (#11365) 2023-04-27 01:28:45 +01:00
Adam Turner 973e8fb5cf Remove the deprecated `sphinx.ext.napoleon.iterators` module (#11364) 2023-04-27 01:27:07 +01:00
Adam Turner 2a9e805206 Remove the deprecated Setuptools integration (#11363) 2023-04-27 01:22:04 +01:00
Adam Turner 616ba29f28 Harmonise references to Sphinx versions (#11361) 2023-04-27 01:02:09 +01:00
Adam Turner 8dd44d1e13 Remove deprecated `make_old_id` functions (#11360) 2023-04-27 01:01:09 +01:00
Adam Turner 124957a89c Remove deprecated search splitters in `sphinx.search.ja` (#11359) 2023-04-27 00:50:02 +01:00
Adam Turner 4eb706eb21 Bump version 2023-04-26 17:24:54 +01:00
Adam Turner 720f89d1d6 Update test for Alabaster version tuple 2023-04-26 17:24:02 +01:00
Adam Turner bc04444cb8 Bump version 2023-04-25 11:53:35 +01:00
Adam Turner ec993dda36 Bump to 6.2.1 final v6.2.1 2023-04-25 11:53:08 +01:00
Adam Turner d2aa91f63c Revert the default type of `nitpick_ignore[_regex] to list` 2023-04-25 11:31:57 +01:00
Adam Turner 60d8fa10b8 Bump version 2023-04-23 21:04:09 +01:00
Adam Turner 70102ac2ee Bump to 6.2.0 final 2023-04-23 21:03:34 +01:00
Adam Turner 4e27a5fba1 Remove unneeded JavaScript from `sphinx13` theme 2023-04-23 20:45:57 +01:00
Adam Turner bffb54734f Note correct deprecation version for `sphinx.util.osutil.cd` 2023-04-23 20:45:25 +01:00
James Addison 59de8d5202 Revert "Support and prefer `.jinja to _t` for static templates (#11165)" (#11329)
This reverts commit 5d13215b58.
2023-04-23 19:06:44 +01:00
Adam Turner aee3c0ab75 Partially revert "Disable localisation when SOURCE_DATE_EPOCH is set (#10949)" (#11343)
This keeps some of the added tests, and avoids a full revert of ``sphinx.locale``.
2023-04-21 19:04:26 +01:00
Martin LiškaandAdam Turner 186d596f33 Use `overwrite_file context manager in test_ext_autodoc_configs` (#11320)
The tests modify source files (e.g. index.rst) that are not restored
and thus another test could read an altered source file, it leading
to unexpected test results.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-04-21 02:44:11 +01:00
Martin Liška 77483f2824 Add missing test decorator for `test_util_inspect` (#11321) 2023-04-21 02:22:10 +01:00
James Addison d8f15c7361 Increase timeout threshold for `linkcheck` tests (#11326) 2023-04-21 02:08:14 +01:00
Tim Hoffmann b430e05285 Create a 'search field' component for themes (#11045)
``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.
2023-04-21 02:02:04 +01:00
Bénédikt Tran e2f66cea49 Update CHANGES for PR #11333 2023-04-18 12:13:20 +02:00
Bénédikt Tran 61576516d4 Fix duplicated labels in TeX output (#11093) 2023-04-17 12:07:32 +02:00
Maciej Olko 5a6b2b16b6 Add link to Weblate's Sphinx docs in intl documentation (#11332)
Add link to Weblate in intl documentation
2023-04-16 21:21:57 +02:00
James AddisonandJean-François B 0fb6716f3f Continuous integration: resolve docutils installation step build failures (#11331)
* continuous integration: add comment explaining PYTHONWARNINGS env var to main unit test workflow

* continuous integration: unit test workflow: report-but-do-not-fail
  when warnings about pkg_resources deprecation are encountered during
  docutils dependency installation

* continuous integration: unit test workflow: instead of reducing the
  severity of all DeprecationWarnings during docutils (non-dev)
  installation, apply two message filters - one each for the warnings
  encountered so far

* continuous integration: unit test workflow: add 'module' and 'line'
  fields for warning filters

Ref:
https://docs.python.org/3/library/warnings.html#describing-warning-filters


---------

Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
2023-04-16 15:05:09 +02:00
Martin LiskaandJean-François B b6e6805f80 test_build_latex: move output to a separate output dir
Related: #11285
Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
2023-04-13 06:15:50 +02:00