From 0103134453262175c8594b84370c9a878eec58ed Mon Sep 17 00:00:00 2001 From: Cecilie Svenningsen <54532645+CecSve@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:44:57 +0100 Subject: [PATCH] Update .readthedocs.yaml added formats, requirements and general updates --- .readthedocs.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c1487ef..2113414 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,14 +9,22 @@ version: 0.2.1 build: os: ubuntu-22.04 tools: - python: "3.9" - + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py + fail_on_warning: true + +formats: + - pdf + - epub # We recommend specifying your dependencies to enable reproducible builds: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: docs/requirements.txt +python: + install: + - requirements: requirements.txt + # Install pygbif before building the docs + - method: pip + path: .