From 803646ca3571fefdf29a07cdc48647d1495cf812 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 1 Feb 2024 14:14:25 +0100 Subject: [PATCH] Build: add support for Ruby (#11075) Closes #10346 Requires https://github.com/readthedocs/readthedocs-docker-images/pull/200 --- docs/user/config-file/v2.rst | 11 ++++++++++- readthedocs/builds/constants_docker.py | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/user/config-file/v2.rst b/docs/user/config-file/v2.rst index 61fb4859636..c3c5adfe919 100644 --- a/docs/user/config-file/v2.rst +++ b/docs/user/config-file/v2.rst @@ -283,7 +283,7 @@ build.tools Version specifiers for each tool. It must contain at least one tool. :Type: ``dict`` -:Options: ``python``, ``nodejs``, ``rust``, ``golang`` +:Options: ``python``, ``nodejs``, ``ruby``, ``rust``, ``golang`` :Required: ``true`` build.tools.python @@ -326,6 +326,15 @@ Node.js version to use. - ``19`` - ``20`` +build.tools.ruby +```````````````` + +Ruby version to use. + +:Type: ``string`` +:Options: + - ``3.3`` + build.tools.rust ```````````````` diff --git a/readthedocs/builds/constants_docker.py b/readthedocs/builds/constants_docker.py index 3d8e1bf638a..c61c0112367 100644 --- a/readthedocs/builds/constants_docker.py +++ b/readthedocs/builds/constants_docker.py @@ -50,6 +50,9 @@ "19": "19.0.1", "20": "20.11.0", # LTS }, + "ruby": { + "3.3": "3.3.0", + }, "rust": { "1.55": "1.55.0", "1.61": "1.61.0",