forked from executablebooks/sphinx-book-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (88 loc) · 2.44 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = ["sphinx-theme-builder >= 0.2.0a7"]
build-backend = "sphinx_theme_builder"
[tool.sphinx-theme-builder]
node-version = "16.13.2"
theme-name = "sphinx_book_theme"
additional-compiled-static-assets = [
"locales/"
]
[tool.pytest.ini_options]
testpaths = [
"tests"
]
filterwarnings = [
"error",
'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning',
'ignore:The frontend\.OptionParser class will be replaced:DeprecationWarning',
'ignore:The frontend\.Option class will be removed:DeprecationWarning',
'ignore:nodes\.Node\.traverse\(\) is obsoleted by Node\.findall\(\):PendingDeprecationWarning',
# jupyter-client throws this
'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning',
'ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning',
# Sphinx triggers this
'''ignore:'imghdr' is deprecated and slated for removal in Python 3\.13:DeprecationWarning''',
]
[project]
name = "sphinx-book-theme"
description = "A clean book theme for scientific explanations and documentation with Sphinx"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"sphinx>=5",
"pydata-sphinx-theme>=0.15.2"
]
license = { file = "LICENSE" }
# TODO: Add email of the maintainer
maintainers = [
{ name = "Executable Books Team", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Framework :: Sphinx",
"Framework :: Sphinx :: Theme",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
code_style = [
"pre-commit"
]
doc = [
"ablog",
"ipywidgets",
"folium",
"numpy",
"matplotlib",
"numpydoc",
"myst-nb",
"nbclient",
"pandas",
"plotly",
"sphinx-design",
"sphinx-examples",
"sphinx-copybutton",
"sphinx-tabs",
"sphinx-togglebutton",
"sphinx-thebe",
"sphinxcontrib-bibtex",
"sphinxcontrib-youtube",
"sphinxext-opengraph",
]
test = [
"beautifulsoup4",
"coverage",
"defusedxml",
"myst-nb",
"pytest",
"pytest-cov",
"pytest-regressions",
"sphinx_thebe",
]
[project.entry-points]
"sphinx.html_themes" = { sphinx_book_theme = "sphinx_book_theme" }
[project.urls]
Repository = "https://github.com/executablebooks/sphinx-book-theme"
Documentation = "https://sphinx-book-theme.readthedocs.io/"