]> git.ipfire.org Git - thirdparty/systemd.git/blame - tools/make-index-md.sh
core: skip unit deserialization and move to the next one when unit_deserialize()...
[thirdparty/systemd.git] / tools / make-index-md.sh
CommitLineData
0bc7a22d
LP
1#!/bin/sh
2
3set -eu
4
5cd "$@"/docs/
6(
7 echo "# systemd Documentation"
8
9 for f in *.md ; do
10 if [ "x$f" != "xindex.md" ] ; then
11 t=`grep "^# " "$f" | head -n 1 | sed -e 's/^#\s*//'`
12 echo -e "\n* [$t]($f)"
13 fi
14 done
15) > index.md