Skip to content

Commit 90c9357

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

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ urls.Code = "https://github.com/python/python-docs-theme"
3232
urls.Download = "https://pypi.org/project/python-docs-theme/"
3333
urls.Homepage = "https://github.com/python/python-docs-theme/"
3434
urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues"
35-
entry-points."sphinx.html_themes".python_docs_theme = "python_docs_theme"
35+
dependencies = [
36+
"Sphinx>=3.4",
37+
]
38+
39+
[entry-points."sphinx.html_themes"]
40+
python_docs_theme = "python_docs_theme"
3641

3742
[tool.flit.module]
3843
name = "python_docs_theme"

0 commit comments

Comments
 (0)