Skip to content

Commit af62ba1

Browse files
committed
fixed merge conflict
2 parents e00abb9 + 70ea756 commit af62ba1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+10312
-1732
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Docs
22

3-
on:
4-
# Runs on pushes targeting the default branch and pull requests.
5-
push:
6-
branches: [main]
7-
pull_request:
8-
types: [opened, reopened]
3+
on: [push]
94

105
concurrency:
116
group: ${{ github.workflow }}-${{ github.ref_name }}
@@ -60,22 +55,25 @@ jobs:
6055
files: |
6156
docs/**/*.ipynb
6257
63-
# - name: Run documentation notebooks
64-
# run: |
65-
# poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }}
58+
# - name: Run documentation notebooks
59+
# run: |
60+
# poetry run jupyter nbconvert --execute --to notebook --inplace ${{ steps.glob.outputs.paths }} --ExecutePreprocessor.kernel_name=python3
6661

6762
- name: Generate docs
6863
working-directory: docs/
6964
run: make html
7065

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

7470
- name: Upload artifact
71+
if: github.ref == 'refs/heads/main'
7572
uses: actions/upload-pages-artifact@v3
7673
with:
7774
path: "docs/_build/html/"
7875

7976
- name: Deploy to GitHub Pages
77+
if: github.ref == 'refs/heads/main'
8078
id: deployment
8179
uses: actions/deploy-pages@v4

Untitled.ipynb

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/_static/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vis-network {
2+
width: 46em;
3+
border: 1px solid lightgray;
4+
}

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@
3232

3333
html_theme = "furo"
3434
html_static_path = ["_static"]
35+
html_css_files = ["css/custom.css"]

docs/getting_started/die.ipynb renamed to docs/getting_started/00_die.ipynb

Lines changed: 37 additions & 10 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)