From 0b4b8d3ff08f21307b9b987e68d9d1b331472935 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 14 Nov 2024 18:00:40 +0100 Subject: [PATCH] Add project: update examples with newer build tools versions (#526) Reference https://github.com/readthedocs/readthedocs.org/pull/11742 --- .../templates/projects/import_config.html | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/readthedocsext/theme/templates/projects/import_config.html b/readthedocsext/theme/templates/projects/import_config.html index 81bc8f2a..4a8c89a5 100644 --- a/readthedocsext/theme/templates/projects/import_config.html +++ b/readthedocsext/theme/templates/projects/import_config.html @@ -1,5 +1,5 @@ {% extends "projects/import_base.html" %} -{% load i18n %} +{% load blocktrans trans from i18n %} {% block project_add_subheader %} {% trans "Add a configuration file to your project" %} @@ -58,9 +58,9 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.12" + python: "3.13" # Build documentation in the "docs/" directory with Sphinx sphinx: @@ -97,9 +97,9 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.12" + python: "3.13" # Build documentation with Mkdocs mkdocs: @@ -136,9 +136,9 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - nodejs: "19" + nodejs: "22" commands: # Install Docusaurus dependencies @@ -173,9 +173,9 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.12" + python: "3.13" commands: # Install Pelican and its dependencies @@ -207,7 +207,7 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: ruby: "3.3" @@ -242,16 +242,16 @@ # Set the OS, Python version, and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: # Specify the language and version your project requires, # by uncommenting one of the following tools. # - # python: "3.12" + # python: "3.13" # ruby: "3.3" - # nodejs: "19" - # rust: "1.64" - # golang: "1.19" + # nodejs: "22" + # rust: "1.82" + # golang: "1.23" commands: # Write down your commands here to: