From a4743991d4cc42e9d8a0751af27f715a404a967e Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Thu, 9 Nov 2023 10:51:30 +0100 Subject: [PATCH] Fixed RTD build --- docs/environment.yml | 1 + docs/source/conf.py | 2 +- readthedocs.yml | 9 ++++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/environment.yml b/docs/environment.yml index b81db1fd..b5dc3604 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -5,3 +5,4 @@ channels: dependencies: - breathe +- sphinx_rtd_theme diff --git a/docs/source/conf.py b/docs/source/conf.py index 858c664a..105e3b72 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,7 +22,7 @@ def setup(app): html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] -extensions = ['breathe'] +extensions = ['breathe', 'sphinx_rtd_theme'] breathe_projects = { 'xwidgets': '../xml' } templates_path = ['_templates'] html_static_path = ['_static'] diff --git a/readthedocs.yml b/readthedocs.yml index 004a03ae..38f414be 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,2 +1,9 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-22.9" + conda: - file: docs/environment.yml + environment: docs/environment.yml