Skip to content

Commit

Permalink
Add support for Read the Docs v2 (#60)
Browse files Browse the repository at this point in the history
* Add yaml and requirements to doc

* Moved readthedocs yaml
  • Loading branch information
Cecilia-Sensalari authored Apr 2, 2024
1 parent ef6570a commit c3d1bc6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__pycache__
.vscode
.nextflow
doc/source/html
doc/outdir
15 changes: 15 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions doc/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx==7.2.6
sphinx_rtd_theme==2.0.0

0 comments on commit c3d1bc6

Please sign in to comment.