docs: tweak index.md generation and run it again

This commit is contained in:
Lennart Poettering 2018-10-23 16:29:28 +02:00
parent 2fe8213230
commit 6fdc4831bb
2 changed files with 19 additions and 25 deletions

View File

@ -1,25 +1,18 @@
# systemd Documentation
* [The Boot Loader Specification](BOOT_LOADER_SPECIFICATION.md)
* [Control Group APIs and Delegation](CGROUP_DELEGATION.md)
* [The systemd Community Conduct Guidelines](CODE_OF_CONDUCT.md)
* [Code Quality Tools](CODE_QUALITY.md)
* [Contributing](CONTRIBUTING.md)
* [Porting systemd To New Distributions](DISTRO_PORTING.md)
* [Known Environment Variables](ENVIRONMENT.md)
* [Portable Services Introduction](PORTABLE_SERVICES.md)
* [Steps to a successful release](RELEASE.md)
* [What settings are currently available for transient units?](TRANSIENT-SETTINGS.md)
* [Notes for Translators](TRANSLATORS.md)
* [Users, Groups, UIDs and GIDs on `systemd` systems](UIDS-GIDS.md)
* [Automatic Boot Assessment](https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT)
* [The Boot Loader Interface](https://systemd.io/BOOT_LOADER_INTERFACE)
* [The Boot Loader Specification](https://systemd.io/BOOT_LOADER_SPECIFICATION)
* [Control Group APIs and Delegation](https://systemd.io/CGROUP_DELEGATION)
* [The systemd Community Conduct Guidelines](https://systemd.io/CODE_OF_CONDUCT)
* [Code Quality Tools](https://systemd.io/CODE_QUALITY)
* [Coding style](https://systemd.io/CODING_STYLE)
* [Contributing](https://systemd.io/CONTRIBUTING)
* [Porting systemd To New Distributions](https://systemd.io/DISTRO_PORTING)
* [Known Environment Variables](https://systemd.io/ENVIRONMENT)
* [Hacking on systemd](https://systemd.io/HACKING)
* [Portable Services Introduction](https://systemd.io/PORTABLE_SERVICES)
* [Steps to a successful release](https://systemd.io/RELEASE)
* [What settings are currently available for transient units?](https://systemd.io/TRANSIENT-SETTINGS)
* [Notes for Translators](https://systemd.io/TRANSLATORS)
* [Users, Groups, UIDs and GIDs on `systemd` systems](https://systemd.io/UIDS-GIDS)

View File

@ -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