docs: tweak index.md generation and run it again
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Oct 2018 14:29:28 +0000 (16:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 16:44:27 +0000 (17:44 +0100)
docs/index.md
tools/make-index-md.sh

index 32366cc..e851f1b 100644 (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)
index 1c0dc36..ab52bb2 100755 (executable)
@@ -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