Update readthedocs setup

This commit is contained in:
Andrei Betlen 2023-06-26 16:31:16 -04:00
parent 155dedf28f
commit 66b8b979a5
3 changed files with 5 additions and 8 deletions

View file

@ -17,8 +17,7 @@ python:
install: install:
- method: pip - method: pip
path: . path: .
extra_requirements: - requirements: docs/requirements.txt
- docs
submodules: submodules:
include: all include: all

3
docs/requirements.txt Normal file
View file

@ -0,0 +1,3 @@
mkdocs
mkdocs-material
mkdocstrings[python]

View file

@ -41,9 +41,4 @@ requires = [
"cmake>=3.18", "cmake>=3.18",
"ninja", "ninja",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project.optional-dependencies]
server = ["uvicorn", "fastapi", "sse-starlette"]
test = ["pytest"]
docs = ["mkdocs", "mkdocstrings[python]", "mkdocs-material"]