Add readthedocsc config

This commit is contained in:
Andrei Betlen 2023-06-26 16:25:17 -04:00
parent 5193af297b
commit 155dedf28f
2 changed files with 30 additions and 0 deletions

25
.readthedocs.yaml Normal file
View file

@ -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

View file

@ -42,3 +42,8 @@ requires = [
"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"]