diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..eb44b33 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,19 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-24.04 + tools: + python: "3.12" + +sphinx: + configuration: docs/conf.py + +python: + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/pyproject.toml b/pyproject.toml index 7906c35..f7d0238 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ Homepage = "https://github.com/ad-m/python-anticaptcha" [project.optional-dependencies] async = ["httpx>=0.24"] tests = ["pytest", "retry", "selenium"] -docs = ["sphinx"] +docs = ["sphinx", "sphinx-rtd-theme"] [tool.setuptools.package-data] python_anticaptcha = ["py.typed"]