From 00199cb6b1f917a0d8296f4db681f063385661ba Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sun, 17 Oct 2021 04:17:13 +0200 Subject: [PATCH] ci: add .readthedocs.yaml --- .readthedocs.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..3cdde0f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,29 @@ +# Configuration on how ReadTheDocs (RTD) builds our documentation +# ref: https://readthedocs.org/projects/the-littlest-jupyterhub/ +# ref: https://docs.readthedocs.io/en/stable/config-file/v2.html + +# Required (RTD configuration version) +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-20.04 + tools: + python: "3.9" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: [] + +python: + install: + # WARNING: This requirements file will be installed without the pip + # --upgrade flag in an existing environment. This means that if a + # package is specified without a lower boundary, we may end up + # accepting the existing version. + # + # ref: https://github.com/readthedocs/readthedocs.org/blob/0e3df509e7810e46603be47d268273c596e68455/readthedocs/doc_builder/python_environments.py#L335-L344 + - requirements: docs/requirements.txt