From 3b1eb8cf47fdb8d569350418b4f8fa6539529d22 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Wed, 6 Dec 2023 14:33:19 -0500 Subject: [PATCH] fix: Update RTD config. RTD updated their config format. This updates the cookiecutter to match their recommendations. https://github.com/openedx/edx-cookiecutters/issues/416 --- CHANGELOG.rst | 9 +++++++++ .../.readthedocs.yml | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 06a5f060..a5dfcedd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,15 @@ Change Log This file loosely adheres to the structure of https://keepachangelog.com/, but in reStructuredText instead of Markdown. +2023-12-06 +********** + +Changed +======= + +- Updated the RTD config to match their new format. + + 2023-11-08 ********** diff --git a/python-template/{{cookiecutter.placeholder_repo_name}}/.readthedocs.yml b/python-template/{{cookiecutter.placeholder_repo_name}}/.readthedocs.yml index 0f029d2f..74c3c5c0 100644 --- a/python-template/{{cookiecutter.placeholder_repo_name}}/.readthedocs.yml +++ b/python-template/{{cookiecutter.placeholder_repo_name}}/.readthedocs.yml @@ -9,7 +9,13 @@ version: 2 sphinx: configuration: docs/conf.py +build: + os: "ubuntu-22.04" + tools: + python: "3.8" + python: - version: 3.8 install: - requirements: requirements/doc.txt + - method: pip + path: .