Initial commit

This commit is contained in:
Jared Dillard
2025-05-16 00:40:07 -07:00
parent 9aea054794
commit 87209a0405
8 changed files with 487 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
[build-system]
requires = [
"setuptools",
]
build-backend = "setuptools.build_meta"
[project]
name = "sphinx-llms-txt"
description = "llms-full.txt generator for Sphinx"
authors = [
{name = "Jared Dillard", email = "jared.dillard@gmail.com"},
]
maintainers = [
{name = "Jared Dillard", email = "jared.dillard@gmail.com"},
]
classifiers = [
"Framework :: Sphinx :: Extension",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation :: Sphinx",
]
license = {text = "MIT"}
readme = "README.md"
dynamic = ["version"]
[project.urls]
download = "https://pypi.org/project/sphinx-llms-txt/"
source = "https://github.com/jdillard/sphinx-llms-txt"
changelog = "https://github.com/jdillard/sphinx-llms-txt/blob/master/CHANGELOG.rst"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black",
"flake8",
"mypy",
"isort",
"pre-commit",
]
test = [
"pytest>=7.0.0",
]
[tool.setuptools.dynamic]
version = {attr = "sphinx_llms_txt.__version__"}
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.9"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v"
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning",
]