Skip to content

adding option of including direct content #10

adding option of including direct content

adding option of including direct content #10

Workflow file for this run

name: Deploy Sphinx documentation to Pages
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'docs/**'
permissions:
contents: read
pages: write
id-token: write
jobs:
pages:
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -e .
pip install -r docs/requirements.txt
- name: Build docs
run: |
cd docs
make html
- uses: actions/upload-pages-artifact@v3
with:
path: "docs/_build/html"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4