<NME> generate_index.sh
<BEF> ADDFILE
<MSG> - more doc generation (LOGSTASH-68)

<DFF> @@ -0,0 +1,21 @@
+if [ -z "$1" ] ; then
+  echo "Usage: $0 dir1 ..."
+  exit 1
+fi
+
+set -e
+
+echo "---"
+echo "title: logstash docs index"
+echo "layout: default"
+echo "---"
+
+for i in "$@"; do
+  (
+    cd $i
+    find inputs filters outputs -type f -name '*.markdown' \
+      | sed -e 's,\.markdown$,,; s,.*,[&](&),' \
+  )
+done
+
+

- more doc generation (LOGSTASH-68)