From 70515c9530d522b1fc7e858ec3e2b99d607d5a0a Mon Sep 17 00:00:00 2001 From: Teo Bucci Date: Fri, 22 Mar 2024 00:24:30 +0100 Subject: [PATCH] Add requirements for docs --- .github/workflows/main.yml | 2 +- requirements_docs.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 requirements_docs.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52db2a0..b9fd5f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: if: matrix.python-version == 3.9 - name: Install documentation dependencies run: | - python -m pip install -r <(python -c "import yaml; print('\n'.join(yaml.safe_load(open('environment_docs.yaml'))['dependencies']))") + if [ -f requirements_docs.txt ]; then pip install -r requirements_docs.txt; fi if: matrix.python-version == 3.9 - name: Build docs 🏗️ run: make docs diff --git a/requirements_docs.txt b/requirements_docs.txt new file mode 100644 index 0000000..4eab94a --- /dev/null +++ b/requirements_docs.txt @@ -0,0 +1,3 @@ +sphinx +nbsphinx +ipython \ No newline at end of file