diff --git a/build b/build index 43516af..743254d 100755 --- a/build +++ b/build @@ -74,10 +74,20 @@ task_setup() { task_docs() { task_begin "Rendering API docs"; + subtask_begin "Altering git remote"; + remote_name="$(git remote | head -n1)"; + remote_url="$(git remote get-url "${remote_name}")"; + git remote set-url "${remote_name}" "https://github.com/sbrl/powahroot.git"; + subtask_end $? "Failed to alter git remote"; + subtask_begin "Calling 'documentation'"; node_modules/.bin/documentation build --github --output "${docs_output_folder}" --format html --favicon "logo.png" "$(jq --raw-output .main