Skip to content

Commit

Permalink
fix merge 2
Browse files Browse the repository at this point in the history
  • Loading branch information
YouGuessedMyName committed Nov 7, 2024
2 parents 6e45e78 + 67f7ff0 commit 179dc05
Show file tree
Hide file tree
Showing 12 changed files with 709 additions and 565 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.

Loading

0 comments on commit 179dc05

Please sign in to comment.