From 66b8b979a53a53df18c88fefa3e9f7c51fd4b220 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Mon, 26 Jun 2023 16:31:16 -0400 Subject: [PATCH] Update readthedocs setup --- .readthedocs.yaml | 3 +-- docs/requirements.txt | 3 +++ pyproject.toml | 7 +------ 3 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 27a168b..ff3e950 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,8 +17,7 @@ python: install: - method: pip path: . - extra_requirements: - - docs + - requirements: docs/requirements.txt submodules: include: all diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..199bd4f --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +mkdocs +mkdocs-material +mkdocstrings[python] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0a28091..6a6d2c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,9 +41,4 @@ requires = [ "cmake>=3.18", "ninja", ] -build-backend = "setuptools.build_meta" - -[project.optional-dependencies] -server = ["uvicorn", "fastapi", "sse-starlette"] -test = ["pytest"] -docs = ["mkdocs", "mkdocstrings[python]", "mkdocs-material"] +build-backend = "setuptools.build_meta" \ No newline at end of file