From 470efd262bcd5ace975f0c6cb8ddde57ba1bb8da Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Thu, 11 Jul 2024 11:44:26 +0800 Subject: [PATCH] Add GHA for docs building Signed-off-by: Rodrigo Tobar --- .github/workflows/build-docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build-docs.yml diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml new file mode 100644 index 0000000..e32e368 --- /dev/null +++ b/.github/workflows/build-docs.yml @@ -0,0 +1,18 @@ +name: Build documentation +on: [push, pull_request] +env: + SPHINXOPTS: -W --keep going + +jobs: + build-docs: + name: Build documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install dependencies + run: pip install -r docs/requirements.txt + - name: Build documentation + run: make html -C docs