Skip to content

Commit

Permalink
Clean up logs and add log for location of docs project
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed May 20, 2022
1 parent 8d51dc5 commit d90739f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/dev_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [[ ! -d "$DOCS_DIR" ]]; then
else
cd "$DOCS_DIR"
git pull
cd -
cd "$WORKSPACE"
fi

if [[ ! -d "$DEV_DIR" ]]; then
Expand All @@ -45,7 +45,7 @@ if [[ ! -d "$DEV_DIR" ]]; then
else
cd "$DEV_DIR"
git pull
cd -
cd "$WORKSPACE"
fi

if [[ ! -d "$TEAM_DIR" ]]; then
Expand All @@ -54,7 +54,7 @@ if [[ ! -d "$TEAM_DIR" ]]; then
else
cd "$TEAM_DIR"
git pull
cd -
cd "$WORKSPACE"
fi

# The minimum sources required to build kibana docs
Expand Down Expand Up @@ -90,6 +90,11 @@ if [[ ! -d .docsmobile ]]; then
yarn init-docs
fi

echo ""
echo "The docs.elastic.dev project is located at:"
echo "$DOCS_DIR"
echo ""

if [[ "${1:-}" ]]; then
yarn "$@"
else
Expand Down

0 comments on commit d90739f

Please sign in to comment.