Skip to content

fix: minor fixes in config lorem ipsum #28

fix: minor fixes in config lorem ipsum

fix: minor fixes in config lorem ipsum #28

name: "Build Sphinx Documentation"
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install myst-parser
pip install .
pip install sphinx-rtd-theme sphinx-autodoc-typehints sphinx-click sphinx-automodapi texext
- name: "Parse into HTML"
run: |
sphinx-apidoc -o docs/source/api src/modalities
sphinx-build -M html docs/source/ docs/build/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
force_orphan: true