Skip to content

Commit f9e492b

Browse files
committed
Note minimum requirements for Sphinx
1 parent 55754b6 commit f9e492b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Python Docs Sphinx Theme
22

33
This is the theme for the Python documentation.
4+
It requires Python 3.9 or newer and Sphinx 3.4 or newer.
45

56
Note that when adopting this theme, you're also borrowing an element of the
67
trust and credibility established by the CPython core developers over the

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@ classifiers = [
2828
"Topic :: Documentation",
2929
"Topic :: Software Development :: Documentation",
3030
]
31+
dependencies = [
32+
"Sphinx>=3.4",
33+
]
34+
3135
urls.Code = "https://github.com/python/python-docs-theme"
3236
urls.Download = "https://pypi.org/project/python-docs-theme/"
3337
urls.Homepage = "https://github.com/python/python-docs-theme/"
3438
urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues"
35-
entry-points."sphinx.html_themes".python_docs_theme = "python_docs_theme"
39+
40+
[project.entry-points."sphinx.html_themes"]
41+
python_docs_theme = "python_docs_theme"
3642

3743
[tool.flit.module]
3844
name = "python_docs_theme"

0 commit comments

Comments
 (0)