diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..37a6c639e1 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,21 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.12" + +# Build from the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: docs/requirements.txt + +formats: all + diff --git a/docs/requirements.txt b/docs/requirements.txt index d9ac8d4927..4b8ea67df9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,3 @@ m2r2 +sphinx_rtd_theme==2.0.0 +readthedocs-sphinx-search==0.3.1 \ No newline at end of file