Skip to content

docs

docs #22

Workflow file for this run

name: docs
on:
push: { branches: [ 'main' ] }
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '2.0.2-0'
environment-file: logic1_dev.yaml
init-shell: bash
cache-environment: true
post-cleanup: all
generate-run-shell: true
- name: Install GraphViz
run: sudo apt-get -y install graphviz
- name: Generate Documentation in HTML format
run: PYTHONPATH="$PYTHONPATH:$(pwd)" make html
shell: micromamba-shell {0}
working-directory: doc
- uses: actions/upload-pages-artifact@v3
with: { path: 'doc/build/html' }
deploy:
needs: build
runs-on: ubuntu-24.04
permissions:
contents: read
pages: write
id-token: write
environment: { name: 'docs', url: '${{ steps.deployment.outputs.page_url }}' }
steps: [ { id: 'deployment', uses: 'actions/deploy-pages@v4' } ]