From 77a15e4427732edd5885f770ac4043fd751ccd92 Mon Sep 17 00:00:00 2001 From: grouazel Date: Mon, 20 Mar 2023 11:44:09 +0100 Subject: [PATCH] add .readthedocs.yml --- .readthedocs.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..588b794 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,20 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: mambaforge-4.10 + jobs: + post_checkout: + - (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183 + pre_install: + - git update-index --assume-unchanged docs/conf.py ci/requirements/docs.yaml + +conda: + environment: ci/requirements/docs.yaml + +sphinx: + fail_on_warning: true + configuration: docs/conf.py + +formats: [] \ No newline at end of file