[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "mkdocs-test"
version = "0.6.0"
requires-python = ">=3.8"
description = "A test framework for MkDocs projects"
authors = [{ name = "Laurent Franceschetti" }]
license = { text = "LICENSE" }

readme = "README.md"

dependencies = [
    "beautifulsoup4",
    "markdown",
    "mkdocs",
    "pandas",
    "pyyaml",
    "rich",
    "super-collections",
    "lxml", # for pandas (failed in Python 3.11)
]

classifiers = [
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
]

[project.urls]
Source = "https://github.com/fralau/mkdocs-test"

[project.optional-dependencies]
# for self-testing (test/):
test = ["pytest>=7.0", "toml-cli", "mkdocs-test"]

# for the MkDocs documentation (webdoc/)
doc = ["mkdocs-alabaster", "mkdocstrings[python]"]


[tool.mkdocs]
site_name = "MkDoc Test Documentation"

[tool.mkdocs.plugins]
test = {}

[project.entry-points."mkdocs.plugins"]
test = "mkdocs_test.plugin:TestPlugin"

[tool.setuptools]
packages = { find = { exclude = ["*.tests", "webdoc"] } }
