From b97c235e37c91511c2e7533ab6794480e4cc445a Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 22 Jun 2023 02:34:49 +0100 Subject: 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. --- modules/services/postgresql/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/services/postgresql') 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 lib.mkForce in your + default rules entirely, you can use lib.mkForce in your module. ''; }; @@ -159,7 +159,7 @@ in For more information on how to specify the target and on which privileges exist, see the GRANT syntax. - The attributes are used as GRANT ''${attrValue} ON ''${attrName}. + The attributes are used as GRANT ''${attrValue} ON ''${attrName}. ''; example = literalExpression '' { @@ -237,8 +237,8 @@ in for an overview of postgresql.conf. - 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. ''; example = literalExpression '' -- cgit v1.2.3