From 2aa138d15aba3939c24f7e6b56785fd656c512b5 Mon Sep 17 00:00:00 2001 From: Anupam Sengupta Date: Fri, 20 Dec 2024 00:40:16 -0500 Subject: [PATCH] Fix .readthedocs.yaml Configuration for readthedocs.org documentation. --- .readthedocs.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b8c2f2b..e9751dc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,18 +5,18 @@ # Required version: 2 -# Set the version of Python and other tools you might need +# Set the version of Ruby and other tools you might need build: os: ubuntu-22.04 tools: - python: "3.11" + ruby: "3.3" -# Build documentation in the docs/ directory with Sphinx -sphinx: - configuration: doc/conf.py - -# We recommend specifying your dependencies to enable reproducible builds: -# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: docs/requirements.txt +ruby: + install: + - gemfile: Gemfile + +commands: + - gem install bundler + - bundle install + - rake doc:yard + - cp -r doc $READTHEDOCS_OUTPUT/html