docs: add read the docs yaml (#198)

* add read the docs yaml

* format read the docs yaml
This commit is contained in:
Linlang
2024-08-09 17:25:38 +08:00
committed by GitHub
parent 9da4a76b7e
commit c1b30bc1e1
+26
View File
@@ -0,0 +1,26 @@
# .readthedocs.yml
# Read the Docs configuration file
# 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.10"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# Build all formats
formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .