From 233a401e75d9b6133dd4c9fdc17bf85d2660cc41 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 29 Aug 2022 12:09:54 +0200 Subject: [PATCH] Fix docs rendering (#127) * Create .readthedocs.yaml * Add docs requirements --- .readthedocs.yaml | 25 +++++++++++++++++++++++++ requirements/docs.txt | 1 + 2 files changed, 26 insertions(+) create mode 100644 .readthedocs.yaml create mode 100644 requirements/docs.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..6ea4a5a --- /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 + +# 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 + +# If using Sphinx, optionally build your docs in additional formats such as PDF +formats: + - pdf + +# Optionally declare the Python requirements required to build your docs +python: + install: + - requirements: requirements/docs.txt diff --git a/requirements/docs.txt b/requirements/docs.txt new file mode 100644 index 0000000..d3e4ba5 --- /dev/null +++ b/requirements/docs.txt @@ -0,0 +1 @@ +django