summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2022-11-08 07:30:20 -0800
committerRyan Mulligan <ryan@ryantm.com>2022-11-08 07:30:20 -0800
commitf3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c (patch)
tree664f87e017957334867159dfb82f094d42840cfc /doc
parent962a81051315a8a9506778f13f04295ced8017c1 (diff)
downloadnixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar.gz
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar.bz2
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar.lz
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar.xz
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.tar.zst
nixpkgs-f3d0e1d5c3faa36c1c6ecf0e73004648e2c9d75c.zip
nixpkgs/doc: fix admonition syntax
Match admonition syntax in

https://nixos.org/manual/nixpkgs/unstable/#chap-contributing
Diffstat (limited to 'doc')
-rw-r--r--doc/builders/images/portableservice.section.md6
-rw-r--r--doc/contributing/coding-conventions.chapter.md2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/builders/images/portableservice.section.md b/doc/builders/images/portableservice.section.md
index 1d23cafeefc..5400928b158 100644
--- a/doc/builders/images/portableservice.section.md
+++ b/doc/builders/images/portableservice.section.md
@@ -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).
 :::
 
@@ -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.
 :::
 
@@ -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.
 :::
diff --git a/doc/contributing/coding-conventions.chapter.md b/doc/contributing/coding-conventions.chapter.md
index e4e7b5bd3a8..a5f2ae2822f 100644
--- a/doc/contributing/coding-conventions.chapter.md
+++ b/doc/contributing/coding-conventions.chapter.md
@@ -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).