Add readthedocsc config
This commit is contained in:
parent
5193af297b
commit
155dedf28f
2 changed files with 30 additions and 0 deletions
25
.readthedocs.yaml
Normal file
25
.readthedocs.yaml
Normal 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
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue