From e931ca29cd9461c44b246c3440d0313153795667 Mon Sep 17 00:00:00 2001 From: Julien Lamy Date: Wed, 26 Jul 2023 18:06:12 +0200 Subject: [PATCH] Install packages in readthedocs worker --- .readthedocs.yaml | 16 +++++++++++++++- docs/requirements.txt | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index caea33b..6d1db9e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,11 +3,25 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: 3 + apt_packages: + - cmake + - g++ + - make + - pybind11-dev + - python3-dev + - python3-numpy + - python3-requests + jobs: pre_build: - pwd - whoami + - sudo whoami + +python: + install: + - requirements: docs/requirements.txt sphinx: builder: html diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..f2d1026 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +breathe +matplotlib