From 7eef3eaa61a27724515441801bda9484317935ab Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Sun, 14 Nov 2021 13:25:44 +0100 Subject: [PATCH] Add Read the Docs configuration file --- .editorconfig | 3 +++ .readthedocs.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.editorconfig b/.editorconfig index dc15e3e..7e010e7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,5 +12,8 @@ charset = utf-8 [*.{xml,xsl,xsd,xd}] indent_size = 2 +[*.{yml,yaml}] +indent_size = 2 + [*.{bat,cmd,ps1}] end_of_line = crlf diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..483fe24 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,25 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +formats: + - epub + - pdf + +# Set the version of Python and other tools you might need +build: + os: ubuntu-20.04 + tools: + python: "3.8" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + builder: html + configuration: docs/conf.py + +python: + install: + - requirements: docs/requirements.txt