summaryrefslogtreecommitdiffstats
path: root/docs/HACKING.md
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2019-01-02 23:16:34 +0100
committerFilipe Brandenburger <filbranden@google.com>2019-01-02 23:16:34 +0100
commitc3e270f4eeda70396b5af8dc01ac2a7234f098b9 (patch)
tree35c0fc453460feefe7c5e35474368a59d8d901ee /docs/HACKING.md
parentDocs: Add Missing Space Between Words (diff)
downloadsystemd-c3e270f4eeda70396b5af8dc01ac2a7234f098b9.tar.xz
systemd-c3e270f4eeda70396b5af8dc01ac2a7234f098b9.zip
docs: add a "front matter" snippet to our markdown pages
It turns out Jekyll (the engine behind GitHub Pages) requires that pages include a "Front Matter" snippet of YAML at the top for proper rendering. Omitting it will still render the pages, but including it opens up new possibilities, such as using a {% for %} loop to generate index.md instead of requiring a separate script. I'm hoping this will also fix the issue with some of the pages (notably CODE_OF_CONDUCT.html) not being available under systemd.io Tested locally by rendering the website with Jekyll. Before this change, the *.md files were kept unchanged (so not sure how that even works?!), after this commit, proper *.html files were generated from it.
Diffstat (limited to 'docs/HACKING.md')
-rw-r--r--docs/HACKING.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/HACKING.md b/docs/HACKING.md
index 17136060ce..b14be72128 100644
--- a/docs/HACKING.md
+++ b/docs/HACKING.md
@@ -1,3 +1,7 @@
+---
+title: Hacking on systemd
+---
+
# Hacking on systemd
We welcome all contributions to systemd. If you notice a bug or a missing