summaryrefslogtreecommitdiffstats
path: root/docs/TRANSIENT-SETTINGS.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/TRANSIENT-SETTINGS.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/TRANSIENT-SETTINGS.md')
-rw-r--r--docs/TRANSIENT-SETTINGS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/TRANSIENT-SETTINGS.md b/docs/TRANSIENT-SETTINGS.md
index 89a185b527..0ac77f0497 100644
--- a/docs/TRANSIENT-SETTINGS.md
+++ b/docs/TRANSIENT-SETTINGS.md
@@ -1,3 +1,7 @@
+---
+title: What settings are currently available for transient units?
+---
+
# What settings are currently available for transient units?
Our intention is to make all settings that are available as unit file settings