From 3334f4df778c6ea764a6296e47935db76c79c082 Mon Sep 17 00:00:00 2001 From: Daniel Kotik Date: Thu, 19 Aug 2021 16:16:48 +0200 Subject: [PATCH] Update workflow to generate API docs --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c8bb7e7..bcdde7d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -50,8 +50,9 @@ jobs: run: | pip install -q -r docs/requirements.txt - - name: Build docs + - name: Build API and docs run: | + sphinx-apidoc -fP -o docs/source/api optbeam sphinx-build -W --keep-going -b html -d docs/_build/doctrees docs/source docs/_build/html mv -v docs/_build/html public