[doc] add readthedocs configuration file. (#2980)

This commit is contained in:
Fabien-B
2023-02-07 14:23:22 +01:00
committed by GitHub
parent d3561570e9
commit 12d6f205fd
2 changed files with 30 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# .readthedocs.yaml
# 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.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/sphinx/source/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: doc/sphinx/requirements.txt
+1
View File
@@ -1,2 +1,3 @@
sphinx_rtd_theme sphinx_rtd_theme
lxml