From 9d3a87905e8476b7624168ff41416465ff794ee6 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Sun, 7 Nov 2021 11:13:06 +0100 Subject: docs: add .readthedocs.yml conf file to pin Python dependencies --- .readthedocs.yaml | 21 +++++++++++++++++++++ docs/requirements.txt | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 .readthedocs.yaml create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..3918d82 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,21 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +build: + os: ubuntu-20.04 + tools: + python: "3.9" + +sphinx: + configuration: docs/conf.py + +formats: + - pdf + - epub + +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..1b9a4f8 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx==4.0.2 +sphinx_rtd_theme==0.5.2 -- cgit v1.2.3