forked from readthedocs/sphinx_rtd_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
41 lines (37 loc) · 1.13 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "standard_theme"
dynamic = ["version"]
authors = [{name = "Open Contracting Partnership", email = "[email protected]"}]
description = "Derived from ReadTheDocs.org theme for Sphinx, 2013 version."
readme = "README.md"
license = {text = "BSD"}
urls = {Homepage = "https://github.com/open-contracting/standard_theme"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.setuptools]
packages = ["standard_theme"]
zip-safe = false
[tool.setuptools.package-data]
standard_theme = [
"theme.conf",
"*.html",
"static/css/*.css",
"static/js/*.js",
"static/images/*.png",
"static/fonts/*.*",
]
# Extraction from Jinja2 HTML templates
# based on https://github.com/sphinx-doc/sphinx/blob/master/babel.cfg
[[tool.babel.mappings]]
method = "jinja2"
pattern = "**.html"
encoding = "utf-8"
ignore_tags = "script,style"
include_attrs = "alt title summary"