X Tutup
Skip to content

Commit c3e270f

Browse files
committed
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.
1 parent 8d7fac9 commit c3e270f

19 files changed

+76
-0
lines changed

docs/AUTOMATIC_BOOT_ASSESSMENT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Automatic Boot Assessment
3+
---
4+
15
# Automatic Boot Assessment
26

37
systemd provides support for automatically reverting back to the previous

docs/BLOCK_DEVICE_LOCKING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Locking Block Device Access
3+
---
4+
15
# Locking Block Device Access
26

37
*TL;DR: Use BSD file locks

docs/BOOT_LOADER_INTERFACE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: The Boot Loader Interface
3+
---
4+
15
# The Boot Loader Interface
26

37
systemd can interface with the boot loader to receive performance data and

docs/BOOT_LOADER_SPECIFICATION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: The Boot Loader Specification
3+
---
4+
15
# The Boot Loader Specification
26

37
_TL;DR: Currently there's little cooperation between multiple distributions in dual-boot (or triple, ... multi-boot) setups, and we'd like to improve this situation by getting everybody to commit to a single boot configuration format that is based on drop-in files, and thus is robust, simple, works without rewriting configuration files and is free of namespace clashes._

docs/CGROUP_DELEGATION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Control Group APIs and Delegation
3+
---
4+
15
# Control Group APIs and Delegation
26

37
*Intended audience: hackers working on userspace subsystems that require direct

docs/CODE_OF_CONDUCT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: The systemd Community Conduct Guidelines
3+
---
4+
15
# The systemd Community Conduct Guidelines
26

37
This document provides community guidelines for a safe, respectful, productive, and collaborative place for any person who is willing to contribute to systemd. It applies to all “collaborative spaces”, which is defined as community communications channels (such as mailing lists, submitted patches, commit comments, etc.).

docs/CODE_QUALITY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Code Quality Tools
3+
---
4+
15
# Code Quality Tools
26

37
The systemd project has a number of code quality tools set up in the source

docs/CODING_STYLE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Coding Style
3+
---
4+
15
# Coding Style
26

37
- 8ch indent, no tabs, except for files in `man/` which are 2ch indent,

docs/CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Contributing
3+
---
4+
15
# Contributing
26

37
We welcome contributions from everyone. However, please follow the following guidelines when posting a GitHub Pull Request or filing a GitHub Issue on the systemd project:

docs/DISTRO_PORTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Porting systemd To New Distributions
3+
---
4+
15
# Porting systemd To New Distributions
26

37
## HOWTO

0 commit comments

Comments
 (0)
X Tutup