From c3d1bc6560ed0eb8d13e90fdb29ee77dca84cfd6 Mon Sep 17 00:00:00 2001 From: Cecilia Sensalari <57489957+Cecilia-Sensalari@users.noreply.github.com> Date: Tue, 2 Apr 2024 18:58:40 +0200 Subject: [PATCH] Add support for Read the Docs v2 (#60) * Add yaml and requirements to doc * Moved readthedocs yaml --- .gitignore | 2 +- .readthedocs.yaml | 15 +++++++++++++++ doc/source/requirements.txt | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml create mode 100644 doc/source/requirements.txt diff --git a/.gitignore b/.gitignore index af54cc4..d4f7df3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ __pycache__ .vscode .nextflow -doc/source/html +doc/outdir diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..f85fa81 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,15 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.12" + +# Build from the docs/ directory with Sphinx +sphinx: + configuration: doc/source/conf.py + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: doc/source/requirements.txt \ No newline at end of file diff --git a/doc/source/requirements.txt b/doc/source/requirements.txt new file mode 100644 index 0000000..857695b --- /dev/null +++ b/doc/source/requirements.txt @@ -0,0 +1,2 @@ +sphinx==7.2.6 +sphinx_rtd_theme==2.0.0