From bf3fdf9ac0a9761e1e30b5bc387710153f90b404 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 4 Jun 2023 12:24:07 +0300 Subject: [PATCH] Use RTD v2 config to require Python newer than default 3.7 in v1 https://readthedocs.org/projects/python-humanize/builds/20906653/ --- .readthedocs.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 73e1f82..11d0ab3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,2 +1,19 @@ -python: - pip_install: true +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +# Project page: https://readthedocs.org/projects/python-humanize/ + +version: 2 + +mkdocs: + configuration: mkdocs.yml + +build: + os: ubuntu-22.04 + tools: + python: "3" + + commands: + - pip install -U tox + - tox -e docs + - mkdir _readthedocs + - mv site _readthedocs/html