From 76bfbb079bd2ada9ce372b245581954c2c66847a Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 29 Jan 2024 17:28:25 +0100 Subject: [PATCH] Build: add support for Ruby 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 b5538ac396a..3d23033fac2 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 daad082dd5b..dd4bef2c706 100644 --- a/readthedocs/builds/constants_docker.py +++ b/readthedocs/builds/constants_docker.py @@ -50,6 +50,9 @@ "19": "19.0.1", "20": "20.3.1", }, + "ruby": { + "3.3": "3.3.0", + }, "rust": { "1.55": "1.55.0", "1.61": "1.61.0",