# ...existing code...

# Navigate to the docs directory
script_path=$(dirname "$0")
cd "$script_path/../docs" || exit


# Clean previous builds
make clean || exit

# Build the Sphinx documentation
make html || exit

open docs/_build/html/index.html
