Print function for parametric terms + test updates #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/actions/starter-workflows/blob/main/pages/static.yml | |
name: documentation | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
jobs: | |
docs: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python for Docs | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install mssm & dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: Install sphinx | |
run: | | |
pip install sphinx sphinx-rtd-theme | |
- name: Build Docs | |
run: | | |
sphinx-build docs docs/_build | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: './docs/_build' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |