summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-12-13 11:56:08 +0100
committerLennart Poettering <lennart@poettering.net>2019-12-13 11:56:08 +0100
commitff2c2d0850c4f5a3aa9bea074e110c9b9725d29e (patch)
treef2be01d78f401e29138048b44512c27bcc1c7afd /docs
parentblockdev-util: rework get_block_device() (diff)
downloadsystemd-ff2c2d0850c4f5a3aa9bea074e110c9b9725d29e.tar.xz
systemd-ff2c2d0850c4f5a3aa9bea074e110c9b9725d29e.zip
docs: make sure there's only one # markdown header in each file
@bertob wants us to be strict here, and only have one "#" header per markdown file, and use "##" (or "###", …) for all others. Interestingly, we mostly got this right already, but this fixes a few cases where this wasn't correct.
Diffstat (limited to 'docs')
-rw-r--r--docs/AUTOMATIC_BOOT_ASSESSMENT.md6
-rw-r--r--docs/CODING_STYLE.md2
-rw-r--r--docs/TRANSLATORS.md2
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/AUTOMATIC_BOOT_ASSESSMENT.md b/docs/AUTOMATIC_BOOT_ASSESSMENT.md
index c7f5bb35f8..aff203b590 100644
--- a/docs/AUTOMATIC_BOOT_ASSESSMENT.md
+++ b/docs/AUTOMATIC_BOOT_ASSESSMENT.md
@@ -56,7 +56,7 @@ components:
script can optionally create boot loader entries that carry an initial boot
counter (the initial counter is configurable in `/etc/kernel/tries`).
-# Details
+## Details
The boot counting data `systemd-boot` and `systemd-bless-boot.service`
manage is stored in the name of the boot loader entries. If a boot loader entry
@@ -149,7 +149,7 @@ scenario the first 4 steps are the same as above:
12. On the following boot (and all subsequent boots after that) the entry is
now seen with boot counting turned off, no further renaming takes place.
-# How to adapt this scheme to other setups
+## How to adapt this scheme to other setups
Of the stack described above many components may be replaced or augmented. Here
are a couple of recommendations.
@@ -180,7 +180,7 @@ are a couple of recommendations.
wrap them in a unit and order them after `boot-complete.target`, pulling it
in.
-# FAQ
+## FAQ
1. *Why do you use file renames to store the counter? Why not a regular file?*
— Mainly two reasons: it's relatively likely that renames can be implemented
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index 9e480a649e..c8ca8bfefc 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -543,7 +543,7 @@ layout: default
time you need that please immediately undefine `basename()`, and add a
comment about it, so that no code ever ends up using the POSIX version!
-# Committing to git
+## Committing to git
- Commit message subject lines should be prefixed with an appropriate component
name of some kind. For example "journal: ", "nspawn: " and so on.
diff --git a/docs/TRANSLATORS.md b/docs/TRANSLATORS.md
index f4553f559d..a120bcafbc 100644
--- a/docs/TRANSLATORS.md
+++ b/docs/TRANSLATORS.md
@@ -69,7 +69,7 @@ Once you're done, create a git commit for the update of the `po/*.po` file you
touched. Remember to undo the changes to the other `*.po` files (for instance,
using `git checkout -- po/` after you commit the changes you do want to keep.)
-# Recompiling Translations
+## Recompiling Translations
You can recompile the `*.po` files using the following command: