summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2019-01-02 14:20:39 -0800
committerFilipe Brandenburger <filbranden@google.com>2019-01-02 14:23:18 -0800
commit357211a4260e47d5ea24db2a8062d263d58ec791 (patch)
tree1d79f7d8f1c077b2624ccc4875642c8a3d55f3c7 /docs/index.md
parentc3e270f4eeda70396b5af8dc01ac2a7234f098b9 (diff)
downloadsystemd-357211a4260e47d5ea24db2a8062d263d58ec791.tar.gz
docs: generate index.md in Jekyll
This uses a {% for %} loop in Jekyll to render the page, from the "title" information in the Front Matter of the actual page files. This also makes `make-index-md` build rule unnecessary, since generation is done by the template engine itself. Tested this by running Jekyll locally.
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md23
1 files changed, 5 insertions, 18 deletions
diff --git a/docs/index.md b/docs/index.md
index 890c4f8e76..ffb30b9634 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -4,21 +4,8 @@ title: systemd Documentation
# systemd Documentation
-* [Automatic Boot Assessment](https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT)
-* [Locking Block Device Access](https://systemd.io/BLOCK_DEVICE_LOCKING)
-* [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://github.com/systemd/systemd/blob/master/docs/CODE_OF_CONDUCT.md)
-* [Code Quality Tools](https://systemd.io/CODE_QUALITY)
-* [Coding Style](https://systemd.io/CODING_STYLE)
-* [Contributing](https://github.com/systemd/systemd/blob/master/docs/CONTRIBUTING.md)
-* [Porting systemd To New Distributions](https://systemd.io/DISTRO_PORTING)
-* [Predictable Network Interface Names](https://systemd.io/PREDICTABLE_INTERFACE_NAMES)
-* [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)
+{% for p in site.pages %}
+ {% if p.url != page.url and p.title %}
+* [{{ p.title }}]({{ p.url | relative_url }})
+ {% endif %}
+{% endfor %}