Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always run docs #128

Merged
merged 8 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Docs

on:
# Runs on pushes targeting the default branch and pull requests.
push:
branches: [main]
pull_request:
types: [opened, reopened]
on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
Expand Down Expand Up @@ -60,22 +55,25 @@ jobs:
files: |
docs/**/*.ipynb

- name: Run documentation notebooks
run: |
poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }}
# - name: Run documentation notebooks
# run: |
# poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }} --ExecutePreprocessor.kernel_name=python3

- name: Generate docs
working-directory: docs/
run: make html

- name: Setup Pages
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v5

- name: Upload artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: "docs/_build/html/"

- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v4
43 changes: 0 additions & 43 deletions Untitled.ipynb

This file was deleted.

2 changes: 1 addition & 1 deletion docs/getting_started/die.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<iframe
id="diezvSItfhbCB"
id="dieeRDskhMrxq"
width="820"
height="620"
frameborder="0"
Expand Down
Loading