Build: scripts to build and measure packages reference docs (#24876)

* added script to check docs metrics.

* added information link on how to add code comments.

* added script for build and measure code comment metrics.

* fixed issues according to shellcheck.

* Added so we build the metrics if report folder is missing.

* added some spacing and a devider.

* Added so we can send metrics to grafana.

* added shellcheck attribute.

* Fixed spelling according to feedback.

* see if shellcheck passes.

* fixed issue with shellcheck.

* Explore/Logs: Fix tooltip display for log graph (#25544)

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
Marcus Andersson
2020-06-16 09:33:23 +02:00
committed by GitHub
parent 3e81a626a4
commit a5b38b799a
5 changed files with 102 additions and 80 deletions

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# abort if we get any error
set -eo pipefail
# building grafana packages
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