From c80fbef82d2e4740d8d66c73f558096f29efe86e Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sun, 13 Apr 2025 10:01:23 -0300 Subject: [PATCH] Backport environment updates from v4.3 --- .readthedocs.yaml | 10 +++++++++- conf.py | 4 ++-- requirements.txt | 5 +++-- 3 files changed, 14 insertions(+), 5 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 f628c57..865927a 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 e75e102..d0d58e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ -Sphinx==4.3.0 -sphinx-rtd-theme==1.0.0 +Sphinx==7.4.7 +sphinx-rtd-theme==3.0.2 +linuxdoc==20240924