diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9d9a0aa7..0d7c0bfb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,14 +3,18 @@ # Required version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "miniconda3-4.7" + sphinx: configuration: docs/source/conf.py -build: - image: latest +conda: + environment: docs/environment.yml python: - version: "3.8" install: - requirements: extra_requirements/requirements-tests.txt - method: pip diff --git a/docs/environment.yml b/docs/environment.yml new file mode 100644 index 00000000..26f2ea0f --- /dev/null +++ b/docs/environment.yml @@ -0,0 +1,8 @@ +name: amstrax-docs +dependencies: + - python=3.8 + - graphviz + - pip + - pip: + - -r ../requirements.txt + - -r ../extra_requirements/requirements-docs.txt \ No newline at end of file