diff options
| author | Emily <vcs@emily.moe> | 2023-06-22 02:34:49 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2023-06-24 10:48:55 +0100 |
| commit | b97c235e37c91511c2e7533ab6794480e4cc445a (patch) | |
| tree | fa312d1c2b5a41fb5165af35cc5803b92d7e6a67 /modules/services/postgresql/default.nix | |
| parent | 76ce9faca6e16d348afb9d78a1a13eb19c381b76 (diff) | |
treewide: tweak DocBook docs for conversion
These help `nix-munge-doc` automate more of the Markdown conversion
process. See the following nixpkgs commits for explanations of many
of these changes:
* https://github.com/NixOS/nixpkgs/commit/275a34e0d8a937a81b267e47302dd8a92fa781df
* https://github.com/NixOS/nixpkgs/commit/694d5b19d30bf66687b42fb77f43ea7cd1002a62
* https://github.com/NixOS/nixpkgs/commit/f1d39b6d6187997b630647400c5efe5b01e06a23
* https://github.com/NixOS/nixpkgs/commit/16102dce2fbad670bd47dd75c860a8daa5fe47ad
I couldn't think of any particularly good way to format the
`system.defaults` breadcrumbs, so I just made them standalone
paragraphs. They weren't rendering correctly in DocBook anyway.
Diffstat (limited to 'modules/services/postgresql/default.nix')
| -rw-r--r-- | modules/services/postgresql/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/postgresql/default.nix b/modules/services/postgresql/default.nix index bcaf95e..e6feb96 100644 --- a/modules/services/postgresql/default.nix +++ b/modules/services/postgresql/default.nix @@ -88,7 +88,7 @@ in via the Unix socket, and md5 password authentication will be used for users connecting via TCP. Any added rules will be inserted above the default rules. If you'd like to replace the - default rules entirely, you can use <function>lib.mkForce</function> in your + default rules entirely, you can use <literal>lib.mkForce</literal> in your module. ''; }; @@ -159,7 +159,7 @@ in For more information on how to specify the target and on which privileges exist, see the <link xlink:href="https://www.postgresql.org/docs/current/sql-grant.html">GRANT syntax</link>. - The attributes are used as <code>GRANT ''${attrValue} ON ''${attrName}</code>. + The attributes are used as <literal>GRANT ''${attrValue} ON ''${attrName}</literal>. ''; example = literalExpression '' { @@ -237,8 +237,8 @@ in for an overview of <literal>postgresql.conf</literal>. <note><para> - String values will automatically be enclosed in single quotes. Single quotes will be - escaped with two single quotes as described by the upstream documentation linked above. + String values will automatically be enclosed in single quotes. Single quotes will be + escaped with two single quotes as described by the upstream documentation linked above. </para></note> ''; example = literalExpression '' |
