aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-10-23 16:29:28 +0200
committerLennart Poettering <lennart@poettering.net>2018-11-16 17:44:27 +0100
commit6fdc4831bb699223da99650e83b8fdf8d4c5f4e6 (patch)
tree3ee49bb2f78777fc643450745bc71e68c567c79f /tools
parentdocs: migrate boot loader interface from fdo wiki to git (diff)
downloadsystemd-6fdc4831bb699223da99650e83b8fdf8d4c5f4e6.tar.gz
systemd-6fdc4831bb699223da99650e83b8fdf8d4c5f4e6.tar.bz2
systemd-6fdc4831bb699223da99650e83b8fdf8d4c5f4e6.zip
docs: tweak index.md generation and run it again
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-index-md.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/make-index-md.sh b/tools/make-index-md.sh
index 1c0dc3610..ab52bb2c5 100755
--- a/tools/make-index-md.sh
+++ b/tools/make-index-md.sh
@@ -4,12 +4,13 @@ set -eu
cd "$@"/docs/
(
- echo "# systemd Documentation"
+ echo -e "# systemd Documentation\n"
for f in *.md ; do
if [ "x$f" != "xindex.md" ] ; then
t=`grep "^# " "$f" | head -n 1 | sed -e 's/^#\s*//'`
- echo -e "\n* [$t]($f)"
+ u="https://systemd.io/"`echo "$f" | sed -e 's/.md$//'`
+ echo "* [$t]($u)"
fi
done
) > index.md