Skip to content

Commit 20733c3

Browse files
Copilothumitos
andauthored
Add support for Sphinx 9.0.0 (#1666)
* Initial plan * Add support for Sphinx 9.0.0 Co-authored-by: humitos <244656+humitos@users.noreply.github.com> * Update docs * Use Sphinx 9.x for documentation * Added changelog entry and bumped version to 3.1.0rc1 * Remove 3.1.0 from development file * Revert version * Update release following our docs https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html#releasing-the-theme * Add deleted text by mistake * Update Python supported versions --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: humitos <244656+humitos@users.noreply.github.com> Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
1 parent 71aacd3 commit 20733c3

9 files changed

Lines changed: 21 additions & 12 deletions

File tree

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@ jobs:
7171
steps:
7272
- run-tox:
7373
version: py311
74-
sphinx-version: "72,73,74,80,81,82,latest,dev"
74+
sphinx-version: "72,73,74,80,81,82,90,latest"
7575

7676
py312:
7777
docker:
7878
- image: 'cimg/python:3.12'
7979
steps:
8080
- run-tox:
8181
version: py312
82-
sphinx-version: "72,73,74,80,81,82,latest,dev"
82+
sphinx-version: "72,73,74,80,81,82,90,latest,dev"
8383

8484
py313:
8585
docker:
8686
- image: 'cimg/python:3.13'
8787
steps:
8888
- run-tox:
8989
version: py313
90-
sphinx-version: "72,73,74,80,81,82,latest,dev"
90+
sphinx-version: "72,73,74,80,81,82,90,latest,dev"
9191

9292
workflows:
9393
version: 2

docs/changelog.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ Changelog
44

55
.. seealso:: :ref:`howto_upgrade`
66

7-
.. |theme_version| replace:: 3.0.2
7+
.. |theme_version| replace:: 3.1.0rc1
8+
9+
.. _release-3.1.0rc1:
10+
11+
3.1.0rc1
12+
========
13+
14+
* Added support for Sphinx 9.x
815

916
.. _release-3.0.2:
1017

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sphinx~=8.0
1+
sphinx~=9.0

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sphinx_rtd_theme",
33
"main": "js/theme.js",
4-
"version": "3.0.2",
4+
"version": "3.1.0rc1",
55
"scripts": {
66
"dev": "webpack-dev-server --open --config webpack.dev.js",
77
"build": "webpack --config webpack.prod.js",

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.0.2
2+
current_version = 3.1.0rc1
33
commit = false
44
tag = false
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
@@ -44,7 +44,7 @@ zip_safe = False
4444
packages = sphinx_rtd_theme
4545
python_requires = >=3.8
4646
install_requires =
47-
sphinx >=6,<9
47+
sphinx >=6,<10
4848
docutils >0.18,<0.22
4949
sphinxcontrib-jquery >=4,<5
5050
tests_require =

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run(self):
8686

8787

8888
setup(
89-
version='3.0.2',
89+
version='3.1.0rc1',
9090
cmdclass={
9191
'update_translations': UpdateTranslationsCommand,
9292
'transifex': TransifexCommand,

sphinx_rtd_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from sphinx.util.logging import getLogger
1414

1515

16-
__version__ = '3.0.2'
16+
__version__ = '3.1.0rc1'
1717
__version_full__ = __version__
1818

1919
logger = getLogger(__name__)

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
envlist =
33
py{38,39,310}-sphinx{60,61,62,70,71}{-qa}
44
py{39,310,311,312,313}-sphinx{72,73,74,80}{-qa}
5-
py{311,312,313}-sphinx{81,82,latest,dev}{-qa}
5+
py{311}-sphinx{81,82,90,latest}{-qa}
6+
py{312,313}-sphinx{81,82,90,latest,dev}{-qa}
67

78
[testenv]
89
setenv =
@@ -19,6 +20,7 @@ deps =
1920
sphinx80: Sphinx>=8.0,<8.1
2021
sphinx81: Sphinx>=8.1,<8.2
2122
sphinx82: Sphinx>=8.2,<8.3
23+
sphinx90: Sphinx>=9.0,<9.1
2224
sphinxlatest: Sphinx
2325
sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip
2426
allowlist_externals =

0 commit comments

Comments
 (0)