From f3cc3c7cca19155272c302ee524ba85dcba20be5 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Thu, 9 Jun 2022 21:57:33 +0200 Subject: [PATCH 1/2] Try out RTD's new build.commands feature --- .readthedocs.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index fd00d359580..bffd87444f5 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,10 +4,7 @@ build: os: "ubuntu-22.04" tools: python: "3.8" - -python: - install: - - method: pip - path: . - extra_requirements: - - doc + commands: + - pip install .[doc] + - cat docs/conf.py + - python -m sphinx -T -E -b html -d _readthedocs/doctrees -D language=en docs _readthedocs/html From 1c33bb6a70c84897cbea05ef0ba1b5331949385e Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Mon, 27 Jan 2025 00:17:48 +0100 Subject: [PATCH 2/2] Update build command --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 25fef94c451..e43fb7bbc55 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,7 +7,7 @@ build: commands: - pip install .[doc] - cat docs/conf.py - - python -m sphinx -T -E -b html -d _readthedocs/doctrees -D language=en docs _readthedocs/html + - python -m sphinx -T -b html -d _build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html python: install: