Skip to content

Commit

Permalink
Create sphinx_building.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VinciGit00 authored Feb 14, 2024
1 parent 674de2c commit 358a751
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sphinx_building.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 358a751

Please sign in to comment.