Skip to content

Commit 1efd034

Browse files
authored
Update build.sh correct old paths
1 parent 75e2554 commit 1efd034

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
88
cd $DIR
99

1010
# Define the output directory (where the compiled book is saved)
11-
BUILD_DIR="$HOME/mTeSS-X_docs/_build/html"
11+
BUILD_DIR="$HOME/TeSS_docs/_build/html"
1212

1313
# Building the book
1414
echo "Building Jupyter Book..."
1515
jupyter-book build --path-output ~/TeSS_docs $DIR/TeSS_docs || { echo "Jupyter Book build failed"; exit 1; }
1616

1717
# Define the output directory (where the compiled book is saved)
18-
BUILD_DIR=$HOME"/mTeSS-X_docs/_build/html"
18+
BUILD_DIR=$HOME"/TeSS_docs/_build/html"
1919
echo "Build directory: $BUILD_DIR"
2020

2121
# Check if the Jupyter Book build directory exists
@@ -71,4 +71,4 @@ echo "Switching back to main branch..."
7171
ORIGINAL_BRANCH=main
7272
git checkout $ORIGINAL_BRANCH || { echo "Failed to switch back to original branch ($ORIGINAL_BRANCH)"; exit 1; }
7373

74-
echo "Script completed successfully!"
74+
echo "Script completed successfully!"

0 commit comments

Comments
 (0)