diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000000000000000000000000000000000..54a46cc610efa5d1bf3a7570627e0026aa36867c --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 + +build: + os: ubuntu-20.04 + tools: + python: "mambaforge-4.10" + +sphinx: + builder: html + configuration: docs/conf.py + fail_on_warning: true + +formats: all + +conda: + environment: src/environment.yml diff --git a/src/environment.yml b/src/environment.yml index 93a7fe898d1899440da41fe7d7cd7cfc59fc6095..9ab1c4bf0febd2f38b19e1a2c2ac3456721bca91 100644 --- a/src/environment.yml +++ b/src/environment.yml @@ -1,6 +1,7 @@ name: webrefl channels: - conda-forge + - defaults dependencies: - python=3.8 - build diff --git a/src/requirements_docs.txt b/src/requirements_docs.txt deleted file mode 100644 index 6e2069a4e4e9f0372ba72e0c6a1e6f1be6739709..0000000000000000000000000000000000000000 --- a/src/requirements_docs.txt +++ /dev/null @@ -1,8 +0,0 @@ -django==3.2 -django-celery-beat -django-celery-results -docutils<0.18 -git+https://code.ornl.gov/reflectometry/django-remote-submission.git -sphinx>=1.8 -sphinx_rtd_theme -versioningit