Skip to content

Commit 956df74

Browse files
authored
Merge pull request #200217 from ryantm/doc-fix
nixpkgs/doc: fix admonition syntax
2 parents 83be3a6 + f3d0e1d commit 956df74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/builders/images/portableservice.section.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This allows using Nix to build images which can be run on many recent Linux dist
1515
The primary tool for interacting with Portable Services is `portablectl`,
1616
and they are managed by the `systemd-portabled` system service.
1717

18-
:::{.note}
18+
::: {.note}
1919
Portable services are supported starting with systemd 239 (released on 2018-06-22).
2020
:::
2121

@@ -37,7 +37,7 @@ dependencies of the two derivations in the `units` list.
3737
`units` must be a list of derivations, and their names must be prefixed with the service name (`"demo"` in this case).
3838
Otherwise `systemd-portabled` will ignore them.
3939

40-
:::{.Note}
40+
::: {.note}
4141
The `.raw` file extension of the image is required by the portable services specification.
4242
:::
4343

@@ -76,6 +76,6 @@ portablectl attach demo_1.0.raw
7676
systemctl enable --now demo.socket
7777
systemctl enable --now demo.service
7878
```
79-
:::{.Note}
79+
::: {.note}
8080
See the [man page](https://www.freedesktop.org/software/systemd/man/portablectl.html) of `portablectl` for more info on its usage.
8181
:::

doc/contributing/coding-conventions.chapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ Preferred source hash type is sha256. There are several ways to get it.
489489
490490
in the package expression, attempt build and extract correct hash from error messages.
491491

492-
:::{.warning}
492+
::: {.warning}
493493
You must use one of these four fake hashes and not some arbitrarily-chosen hash.
494494
495495
See [](#sec-source-hashes-security).

0 commit comments

Comments
 (0)