From 6e2beb83c855f8917ab3142e9e29b43abd7c4726 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Fri, 9 Feb 2024 21:27:53 +0100 Subject: [PATCH] tools: readthedocs: fix documentation generation - https://readthedocs.org/projects/python-shaarli-client/builds/23400602/ - The required readthedocs.yaml configuration file was not found at repository's root. Learn how to use this file in our configuration file tutorial. - https://docs.readthedocs.io/en/stable/config-file/index.html --- .readthedocs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..3b5d350 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,19 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + builder: html + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + commands: + - pip install sphinx-rtd-theme + - sphinx-build -b html -c docs/ docs/ _readthedocs/html/