Skip to content

Commit

Permalink
update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Oct 16, 2023
1 parent 0183fd6 commit f7a0a0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/autodoc_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:

# Execute and convert notebooks
- name: execute notebooks
run: find tutorial -type f -name "*.ipynb" -exec jupyter nbconvert --execute --to notebook --inplace {} \;
run: find $GITHUB_WORKSPACE/tutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --execute --to notebook --inplace {} \;

- name: convert notebooks to rst and save to docs
run: find tutorial -type f -name "*.ipynb" -exec jupyter-nbconvert --to rst --output-dir docs/tutorial {} \;
run: find $GITHUB_WORKSPACE/ttutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --to rst --output-dir $GITHUB_WORKSPACE/tdocs/tutorial {} \;

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Updating tutorial rsts for docs'
add: 'docs/tutorial/'
add: $GITHUB_WORKSPACE/docs/tutorial/
1 change: 1 addition & 0 deletions tutorial/1 - Binning fake data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"import matplotlib.pyplot as plt\n",
"\n",
"\n",
"\n",
"sys.path.append(\"../\")\n",
"from sed.binning import bin_partition, bin_dataframe"
]
Expand Down

0 comments on commit f7a0a0a

Please sign in to comment.