-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
84 lines (76 loc) · 2.02 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
[project]
name = "sphinxawesome-theme"
version = "6.0.0b1"
description = "An awesome theme for the Sphinx documentation generator"
readme = "README.md"
authors = [
{ name = "Kai Welke", email = "[email protected]" }
]
classifiers = [
"Programming Language :: Python",
"Framework :: Sphinx",
"Framework :: Sphinx :: Theme",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.9"
packages = [
{ include = "sphinxawesome_theme", from = "src" }
]
dependencies = [
"beautifulsoup4>=4.9.1,<4.13.0",
"sphinx>7,<9",
]
[project.urls]
homepage = "https://sphinxawesome.xyz"
documentation = "https://sphinxawesome.xyz"
repository = "https://github.com/kai687/sphinxawesome-theme"
issues = "https://github.com/kai687/sphinxawesome-theme/issues"
[project.entry-points."sphinx.html_themes"]
sphinxawesome_theme = "sphinxawesome_theme"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
docs = [
"myst-nb",
"python-dotenv",
"sphinx-autoapi",
"sphinx-autobuild",
"sphinx-design",
"sphinx-docsearch",
"sphinx-sitemap",
]
dev = [
"pytest-cov",
"pytest",
"coverage[toml]",
"ruff",
"types-docutils",
"types-beautifulsoup4",
"types-pygments",
"pyright",
]
netlify = [
"nox",
"uv",
]
[tool.ruff.lint]
# TODO: Check if all of these even make sense
select = ["E", "F", "B", "Q", "W", "I", "C90", "D", "UP", "YTT", "S", "ANN", "SIM", "N"]
ignore = ["E501", "ANN401"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
include = ["src", "noxfile.py"]
reportUnnecessaryTypeIgnoreComment = "warning"