# cd to current directory of script parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) cd "$parent_path" sphinx-autobuild . _build