Commit Graph

248 Commits

Author SHA1 Message Date
Jean-François B
80198e82aa Merge branch '5.x' into master
Resolved merge conflicts:
    sphinx/ext/extlinks.py
    sphinx/ext/napoleon/docstring.py
    (and removed from the latter a now unused import for flake8 F401
    compliance)
2022-06-30 15:00:16 +02:00
danieleades
12e86ff0e1
Use the flake8-comprehensions lint plugin (#10601) 2022-06-26 14:43:05 +01:00
Adam Turner
7e38d2dad8 Merge branch '5.x'
# Conflicts:
#	.github/workflows/builddoc.yml
#	.github/workflows/lint.yml
#	sphinx/registry.py
2022-06-16 21:46:54 +01:00
Takeshi KOMIYA
7e68154e49
Drop python 3.6 support (#10468) 2022-06-16 19:33:55 +01:00
Julien Palard
956cddb7d4
Replace doclinter with sphinx-lint (#10389)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-16 19:32:09 +01:00
Adam Johnson
afb988c5b6
Add Changelog to project_urls 2022-06-04 09:57:29 +01:00
Adam Turner
65ae948eca Split out coverage 2022-05-02 17:47:46 +01:00
Adam Turner
971040b4b7 Merge branch '5.x' into fix-warnings
# Conflicts:
#	tests/test_search.py
2022-05-02 17:05:42 +01:00
Takeshi KOMIYA
b58a584236
Merge pull request #10164 from AA-Turner/bump-docutils
Bump Docutils dependency
2022-05-03 01:00:51 +09:00
Takeshi KOMIYA
3de45b3a6a Merge branch '4.x' into 5.x 2022-04-30 22:29:07 +09:00
Takeshi KOMIYA
b048f17cda Fix mypy violations (with mypy-0.950) 2022-04-30 22:13:40 +09:00
Adam Turner
55669f6cfc Specify encoding 2022-04-22 04:21:12 +01:00
Adam Turner
3420d15cb9 Bump Docutils dependency 2022-04-19 03:09:45 +01:00
Adam Turner
1e443bdcb4 Move compile_catalog_plusjs to utils/ 2022-04-16 20:01:03 +01:00
Takeshi KOMIYA
441c2e306a Merge branch '4.3.x' into 4.x 2022-01-09 01:08:08 +09:00
Takeshi KOMIYA
a98b605100 Fix mypy violations (with mypy-0.931) 2022-01-09 00:54:35 +09:00
Takeshi KOMIYA
0ba202009d refactor: Reduce usages of distutils (refs: #9820)
distutils module is now deprecated and will be removed since Python
3.12.  So this reduces the usages of the module.
2022-01-01 21:38:56 +09:00
Thomas Kluyver
b27228cf08 Merge remote-tracking branch 'origin/4.x' into importlib-metadata 2021-12-24 18:13:23 +00:00
Takeshi KOMIYA
565152301f Fix mypy violations (with mypy-0.930) 2021-12-24 00:21:23 +09:00
Thomas Kluyver
6c5c66bbb1 Replace pkg_resources with importlib.metadata 2021-12-22 18:13:19 +00:00
Takeshi KOMIYA
95d6478747 Fix mypy violations (with mypy-0.920) 2021-12-17 02:01:33 +09:00
Takeshi KOMIYA
f13ad80207 Support Python 3.10 2021-10-07 02:34:44 +09:00
Christian Clauss
95f47d8b2e
setup.py: Fix broken url on the PyPI page 2021-09-07 19:36:07 +02:00
Takeshi KOMIYA
5daedcfec8 Fix #9434: Update dependencies for bundled builders 2021-07-15 01:17:36 +09:00
Takeshi KOMIYA
244dedb534 Merge branch '4.0.x' into 4.x 2021-06-13 16:34:46 +09:00
Junya Fukuda
5c98b9fa7c Fix mypy violations (Third-party Library Stubs) (with mypy-0.900) 2021-06-13 15:22:32 +09:00
Takeshi KOMIYA
bb2c6623be Close #9216: Support jinja2-3.0 2021-05-19 22:24:58 +09:00
igo95862
29aaf20a11
doc: Upgraded some of sphinx-doc.org links to HTTPS
Seems like that link is used in some tests and code so
upgrading it outside documentation might break something
2021-05-16 16:37:36 +03:00
Takeshi KOMIYA
85f58874ec Support jinja2-3.0
Since jinja2-3.0, some utility functions like contextfunction and
environmentfilter are renamed to new name.  This follows the updates to
support jinja2-3.0 or above.
2021-05-04 14:37:41 +09:00
Takeshi KOMIYA
cfb9183715 Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs.  To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
2021-05-03 21:48:13 +09:00
Takeshi KOMIYA
7acfc7826f Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs.  To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
2021-05-03 13:56:23 +09:00
Takeshi KOMIYA
1978c4a0cb Support docutils-0.17 2021-04-22 01:38:31 +09:00
Takeshi KOMIYA
9263eea383 Merge branch '3.x' 2021-04-11 02:22:32 +09:00
Eric Holscher
025f26cd5d Pin Sphinx 3.x to docutils <0.17
This will address the issues that the latest docutils release caused.
I think thi si a good practice in general to make sure we have a defined range of docutils versions,
given that they might change in the future.
Having this defined will mean that 3.x versions of Sphinx will always work,
even when docutils has advanced with additional backwards incompatible features.

Refs #9065 #9063 #9061 #9051
2021-04-09 08:33:06 -07:00
Takeshi KOMIYA
5ce72f465b Merge branch '3.x' 2021-01-22 22:52:32 +09:00
Takeshi KOMIYA
1679a0916d Fix mypy violations (with mypy-0.800) 2021-01-22 21:26:58 +09:00
Takeshi KOMIYA
2c98e909bf Merge branch '3.x' 2020-12-14 02:02:29 +09:00
Miro Hrončok
ba63f2811d Don't require typed_ast in [test] with Python 3.8+ 2020-11-23 22:08:43 +01:00
Takeshi KOMIYA
279e547860 Merge branch '3.x' 2020-11-12 02:50:43 +09:00
François Freitag
0949735210
Sort imports with isort
Keep imports alphabetically sorted and their order homogeneous across
Python source files.

The isort project has more feature and is more active than the
flake8-import-order plugin.

Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
2020-11-11 13:19:05 +01:00
François Freitag
b1caecda39
Remove additional mentions of Python 3.5 2020-11-07 11:56:20 +01:00
Takeshi KOMIYA
f12451f304 test: Do test with py39 2020-11-05 02:19:48 +09:00
Jon Dufresne
95f313eab7 Test and document support for Python 3.9 release 2020-11-01 08:25:22 -08:00
Takeshi KOMIYA
445b9515c1 Merge branch '3.x' 2020-10-24 18:12:45 +09:00
Takeshi KOMIYA
ccc77b8305 Fix mypy violations (with mypy-0.790) 2020-10-24 14:14:11 +09:00
Takeshi KOMIYA
1a223209f2 Merge branch '3.x' 2020-07-05 19:56:21 +09:00
Charles
68abe09afe Closes #7887: Updated the sphinx.js locale json dump to indent for readability. Changed files to open with utf8 encoding 2020-07-04 15:34:36 -04:00
Takeshi KOMIYA
068b9b5738 Merge branch '3.x' 2020-06-04 00:18:30 +09:00
Takeshi KOMIYA
6a55947e9f Merge branch '3.0.x' into 3.x 2020-06-03 23:46:13 +09:00
Takeshi KOMIYA
b8fbd3d9c6 Fix mypy violations (with mypy-0.780) 2020-06-03 23:31:43 +09:00