docs: tweak index.md generation and run it again
This commit is contained in:
parent
2fe8213230
commit
6fdc4831bb
|
@ -1,25 +1,18 @@
|
||||||
# systemd Documentation
|
# systemd Documentation
|
||||||
|
|
||||||
* [The Boot Loader Specification](BOOT_LOADER_SPECIFICATION.md)
|
* [Automatic Boot Assessment](https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT)
|
||||||
|
* [The Boot Loader Interface](https://systemd.io/BOOT_LOADER_INTERFACE)
|
||||||
* [Control Group APIs and Delegation](CGROUP_DELEGATION.md)
|
* [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](CODE_OF_CONDUCT.md)
|
* [The systemd Community Conduct Guidelines](https://systemd.io/CODE_OF_CONDUCT)
|
||||||
|
* [Code Quality Tools](https://systemd.io/CODE_QUALITY)
|
||||||
* [Code Quality Tools](CODE_QUALITY.md)
|
* [Coding style](https://systemd.io/CODING_STYLE)
|
||||||
|
* [Contributing](https://systemd.io/CONTRIBUTING)
|
||||||
* [Contributing](CONTRIBUTING.md)
|
* [Porting systemd To New Distributions](https://systemd.io/DISTRO_PORTING)
|
||||||
|
* [Known Environment Variables](https://systemd.io/ENVIRONMENT)
|
||||||
* [Porting systemd To New Distributions](DISTRO_PORTING.md)
|
* [Hacking on systemd](https://systemd.io/HACKING)
|
||||||
|
* [Portable Services Introduction](https://systemd.io/PORTABLE_SERVICES)
|
||||||
* [Known Environment Variables](ENVIRONMENT.md)
|
* [Steps to a successful release](https://systemd.io/RELEASE)
|
||||||
|
* [What settings are currently available for transient units?](https://systemd.io/TRANSIENT-SETTINGS)
|
||||||
* [Portable Services Introduction](PORTABLE_SERVICES.md)
|
* [Notes for Translators](https://systemd.io/TRANSLATORS)
|
||||||
|
* [Users, Groups, UIDs and GIDs on `systemd` systems](https://systemd.io/UIDS-GIDS)
|
||||||
* [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)
|
|
||||||
|
|
|
@ -4,12 +4,13 @@ set -eu
|
||||||
|
|
||||||
cd "$@"/docs/
|
cd "$@"/docs/
|
||||||
(
|
(
|
||||||
echo "# systemd Documentation"
|
echo -e "# systemd Documentation\n"
|
||||||
|
|
||||||
for f in *.md ; do
|
for f in *.md ; do
|
||||||
if [ "x$f" != "xindex.md" ] ; then
|
if [ "x$f" != "xindex.md" ] ; then
|
||||||
t=`grep "^# " "$f" | head -n 1 | sed -e 's/^#\s*//'`
|
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
|
fi
|
||||||
done
|
done
|
||||||
) > index.md
|
) > index.md
|
||||||
|
|
Loading…
Reference in New Issue