From 7e32b83d779fec08fa055ece6bd936f9efa929a4 Mon Sep 17 00:00:00 2001 From: iarizc Leuname <Notase.Cretagen@gmail.com> Date: Fri, 29 Apr 2016 20:49:56 +0300 Subject: [PATCH] Manual: rephrase definition for indented strings Closes #15076 --- nixos/doc/manual/configuration/config-file.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/configuration/config-file.xml b/nixos/doc/manual/configuration/config-file.xml index 9b240979273d..3d1cdaf4c4ab 100644 --- a/nixos/doc/manual/configuration/config-file.xml +++ b/nixos/doc/manual/configuration/config-file.xml @@ -106,11 +106,15 @@ networking.extraHosts = ''; </programlisting> - The main difference is that preceding whitespace is - automatically stripped from each line, and that characters like + The main difference is that it strips from each line + a number of spaces equal to the minimal indentation of + the string as a whole (disregarding the indentation of + empty lines), and that characters like <literal>"</literal> and <literal>\</literal> are not special (making it more convenient for including things like shell - code).</para> + code). + See more info about this in the Nix manual <link + xlink:href="https://nixos.org/nix/manual/#ssec-values">here</link>.</para> </listitem> </varlistentry>