Skip to content

Commit

Permalink
Fix relative path bug in create-doc script
Browse files Browse the repository at this point in the history
  • Loading branch information
folmos-at-orange committed Dec 19, 2024
1 parent ea2a640 commit 31df562
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/create-doc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fi

# Convert tutorials to reST
tutorials_dir="./tutorials"
tutorials_dir="$(realpath $tutorials_dir)"
mkdir -p "$tutorials_dir"
if [[ $TRANSFORM_NOTEBOOKS ]]
then
Expand All @@ -100,8 +101,8 @@ python create-coursework.py
cd coursework
mkdir -p exercises
touch exercises/.dummy # Create a dummy so the "exercises" directory is created on unzip
zip "../../$tutorials_dir/core_tutorials.zip" Core*.ipynb data/*/* exercises/.dummy
zip "../../$tutorials_dir/sklearn_tutorials.zip" Sklearn*.ipynb data/*/* exercises/.dummy
zip "$tutorials_dir/core_tutorials.zip" Core*.ipynb data/*/* exercises/.dummy
zip "$tutorials_dir/sklearn_tutorials.zip" Sklearn*.ipynb data/*/* exercises/.dummy
cd "../.."

# Create the documentation with Sphinx
Expand Down

0 comments on commit 31df562

Please sign in to comment.