From 785dee005b8bcf783732b3418e6d3ca609ce9f9c Mon Sep 17 00:00:00 2001 From: Tom Hiller Date: Thu, 26 Jul 2018 21:33:35 -0400 Subject: Documentation: Add util.md summary Add short explanation of Utility list Change-Id: I5fc45ebe29cd42c1aa18c59dabc3ac3db3107bd7 Signed-off-by: Tom Hiller Reviewed-on: https://review.coreboot.org/27656 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Rudolph Reviewed-by: Philipp Deppenwiese --- util/util_readme/util_readme.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/util_readme') diff --git a/util/util_readme/util_readme.sh b/util/util_readme/util_readme.sh index 251661442c..420ffae698 100755 --- a/util/util_readme/util_readme.sh +++ b/util/util_readme/util_readme.sh @@ -10,11 +10,13 @@ UTIL_README_DIR="$(cd "$(dirname "$0")" || exit; pwd -P)" UTIL_DIR=$(dirname "$UTIL_README_DIR") COREBOOT_ROOT_DIR=$(dirname "$UTIL_DIR") DOCMENTATION_DIR="$COREBOOT_ROOT_DIR/Documentation" +SUMMARY="_Scripts and programs found in the \`./util\` directory_" DESCRIPTION_FILES=$(find "$UTIL_DIR" -name "description.md" | sort) echo -n "" > "$UTIL_DIR/README.md" echo "# Utilities" > "$DOCMENTATION_DIR/util.md" +echo "$SUMMARY" >> "$DOCMENTATION_DIR/util.md" for DESC_FILE in $DESCRIPTION_FILES; do UTIL_NAME=$(echo "$DESC_FILE" | rev | cut -d '/' -f2 | rev) -- cgit v1.2.3