Skip to content

Commit

Permalink
nixpkgs/doc: fix admonition syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantm committed Nov 8, 2022
1 parent 962a810 commit f3d0e1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/builders/images/portableservice.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This allows using Nix to build images which can be run on many recent Linux dist
The primary tool for interacting with Portable Services is `portablectl`,
and they are managed by the `systemd-portabled` system service.

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

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

:::{.Note}
::: {.note}
The `.raw` file extension of the image is required by the portable services specification.
:::

Expand Down Expand Up @@ -76,6 +76,6 @@ portablectl attach demo_1.0.raw
systemctl enable --now demo.socket
systemctl enable --now demo.service
```
:::{.Note}
::: {.note}
See the [man page](https://www.freedesktop.org/software/systemd/man/portablectl.html) of `portablectl` for more info on its usage.
:::
2 changes: 1 addition & 1 deletion doc/contributing/coding-conventions.chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ Preferred source hash type is sha256. There are several ways to get it.
in the package expression, attempt build and extract correct hash from error messages.

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

0 comments on commit f3d0e1d

Please sign in to comment.