From 64d03786d51524a9539bb4392a2bd5591158d835 Mon Sep 17 00:00:00 2001 From: Carlo Fuselli Date: Wed, 6 Dec 2023 09:34:03 +0100 Subject: [PATCH] Fix docs building (#288) * try to fix docs * try to fix docs * try to fix docs * try to fix docs * try conda * try conda * try conda * try conda * try conda --- .readthedocs.yaml | 10 +++++++--- docs/environment.yml | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 docs/environment.yml 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