From 88f4d90f9c9c8326c3998fa77d80abc531f50261 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sun, 13 Apr 2025 10:00:12 -0300 Subject: [PATCH] Backport environment updates from v4.3 --- .readthedocs.yaml | 10 +++++++++- conf.py | 4 ++-- requirements.txt | 6 +++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a6bc2c2..aec4fdc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,7 +1,15 @@ version: 2 -formats: all +build: + os: "ubuntu-24.04" + tools: + python: "3.13" python: install: - requirements: requirements.txt + +sphinx: + configuration: conf.py + +formats: all diff --git a/conf.py b/conf.py index f65b846..ebe4508 100644 --- a/conf.py +++ b/conf.py @@ -3,7 +3,7 @@ # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html -import sphinx_rtd_theme +import sphinx_rtd_theme, time # -- Path setup -------------------------------------------------------------- @@ -19,7 +19,7 @@ import sphinx_rtd_theme # -- Project information ----------------------------------------------------- project = '86Box' -copyright = '2020-2022, 86Box Project' +copyright = f'2020-{time.strftime("%Y")}, 86Box Project' author = '86Box Project' diff --git a/requirements.txt b/requirements.txt index ef0c43d..d0d58e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -Sphinx==4.3.0 -sphinx-rtd-theme==1.0.0 -linuxdoc==20211220 +Sphinx==7.4.7 +sphinx-rtd-theme==3.0.2 +linuxdoc==20240924