From 65d95b16004b74862731b22565284263ff4c66b3 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 19 Sep 2023 13:56:48 -0500 Subject: [PATCH] chore: Update ReadTheDocs config file to be compliant * c.f. https://twitter.com/readthedocs/status/1522266722635436041 * https://github.com/scikit-hep/pyhf/pull/2267 --- .readthedocs.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 551cca93..4fb6f093 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,17 +5,25 @@ # Required version: 2 +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + apt_packages: + - curl + - jq + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py -# Optionally build your docs in additional formats such as PDF +# If using Sphinx, optionally build your docs in additional formats such as PDF and ePub formats: - pdf -# Optionally set the version of Python and requirements required to build your docs +# python -m pip install '.[docs,contrib]' python: - version: 3.8 install: - method: pip path: .