From 50881cbffcdbdf227002957df123e52762497575 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 7 Sep 2023 17:41:49 +0200 Subject: [PATCH 1/2] fix .readthedocs.yaml currently, api docs seem rather empty. try: - apt install build-essential (so we have gcc, make, etc.) - install from requirements.txt - "make cython" - "pip install ." --- .readthedocs.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8b5aaf16..f7125fb0 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,9 +4,20 @@ version: 2 build: - os: ubuntu-22.04 - tools: - python: "3.11" + os: ubuntu-22.04 + tools: + python: "3.11" + apt_packages: + - build-essential + jobs: + pre_install: + - pip install -r requirements.txt + - make cython + +python: + install: + - method: pip + path: . sphinx: - configuration: docs/conf.py + configuration: docs/conf.py From 40a2780efaaa299de2a531e6e827040bd90a5211 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Wed, 13 Sep 2023 02:50:51 +0900 Subject: [PATCH 2/2] use two space indent --- .readthedocs.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f7125fb0..7447895d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,20 +4,20 @@ version: 2 build: - os: ubuntu-22.04 - tools: - python: "3.11" - apt_packages: - - build-essential - jobs: - pre_install: - - pip install -r requirements.txt - - make cython + os: ubuntu-22.04 + tools: + python: "3.11" + apt_packages: + - build-essential + jobs: + pre_install: + - pip install -r requirements.txt + - make cython python: - install: - - method: pip - path: . + install: + - method: pip + path: . sphinx: - configuration: docs/conf.py + configuration: docs/conf.py