From 358a751b11a53f88b78a596a641f8615e8d7cb01 Mon Sep 17 00:00:00 2001 From: Marco Vinciguerra <88108002+VinciGit00@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:08:13 +0100 Subject: [PATCH] Create sphinx_building.yml --- .github/workflows/sphinx_building.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/sphinx_building.yml diff --git a/.github/workflows/sphinx_building.yml b/.github/workflows/sphinx_building.yml new file mode 100644 index 00000000..eb191480 --- /dev/null +++ b/.github/workflows/sphinx_building.yml @@ -0,0 +1,27 @@ +name: Generate Sphinx documentation + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.10' + + - name: Install Sphinx + run: | + python -m pip install --upgrade pip + pip install sphinx sphinx-autobuild + + - name: Generate Sphinx documentation + run: | + sphinx-apidoc -o docs/source/modules yosoai -f