grafana/scripts/ci-reference-docs-build.sh

21 lines
465 B
Bash
Raw Normal View History

#!/bin/bash
# abort if we get any error
set -eo pipefail
# building grafana packages
2020-05-18 08:41:06 -05:00
echo "building grafana packages..."
yarn packages:build
# extract packages api documentation json
echo "extracting packages documentation data..."
yarn packages:docsExtract
# generating api documentation markdown
echo "generating markdown from documentation data..."
yarn packages:docsToMarkdown
# cleaning packages
echo "cleaning up packages build files..."
lerna run clean