diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..27a168b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,25 @@ +# Read the Docs configuration file for MkDocs projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +mkdocs: + configuration: mkdocs.yml + +python: + install: + - method: pip + path: . + extra_requirements: + - docs + +submodules: + include: all + recursive: true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index bd774c0..0a28091 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,3 +42,8 @@ requires = [ "ninja", ] build-backend = "setuptools.build_meta" + +[project.optional-dependencies] +server = ["uvicorn", "fastapi", "sse-starlette"] +test = ["pytest"] +docs = ["mkdocs", "mkdocstrings[python]", "mkdocs-material"]