Skip to content

Commit

Permalink
always run docs (#128)
Browse files Browse the repository at this point in the history
* always run docs

* fix yaml

* remove untitled notebook

* fix yaml?

* fix yaml?

* idk notebooks

* >:(

* simulator notebook

---------

Co-authored-by: Linus Heck <[email protected]>
  • Loading branch information
linusheck and glatteis authored Nov 7, 2024
1 parent 9401bb3 commit 3172b51
Show file tree
Hide file tree
Showing 9 changed files with 655 additions and 24,311 deletions.
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

0 comments on commit 3172b51

Please sign in to comment.