mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
Merge pull request #55436 from layus/warn-manual-ids
Nixos manual: error out on missing IDs
This commit is contained in:
commit
777e94d903
@ -4,7 +4,7 @@
|
|||||||
version="5.0"
|
version="5.0"
|
||||||
xml:id="ch-running">
|
xml:id="ch-running">
|
||||||
<title>Administration</title>
|
<title>Administration</title>
|
||||||
<partintro>
|
<partintro xml:id="ch-running-intro">
|
||||||
<para>
|
<para>
|
||||||
This chapter describes various aspects of managing a running NixOS system,
|
This chapter describes various aspects of managing a running NixOS system,
|
||||||
such as how to use the <command>systemd</command> service manager.
|
such as how to use the <command>systemd</command> service manager.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="5.0"
|
version="5.0"
|
||||||
xml:id="ch-configuration">
|
xml:id="ch-configuration">
|
||||||
<title>Configuration</title>
|
<title>Configuration</title>
|
||||||
<partintro>
|
<partintro xml:id="ch-configuration-intro">
|
||||||
<para>
|
<para>
|
||||||
This chapter describes how to configure various aspects of a NixOS machine
|
This chapter describes how to configure various aspects of a NixOS machine
|
||||||
through the configuration file
|
through the configuration file
|
||||||
|
@ -268,7 +268,10 @@ in rec {
|
|||||||
--stringparam id.warnings "1" \
|
--stringparam id.warnings "1" \
|
||||||
--nonet --output $dst/ \
|
--nonet --output $dst/ \
|
||||||
${docbook_xsl_ns}/xml/xsl/docbook/xhtml/chunktoc.xsl \
|
${docbook_xsl_ns}/xml/xsl/docbook/xhtml/chunktoc.xsl \
|
||||||
${manual-combined}/manual-combined.xml
|
${manual-combined}/manual-combined.xml \
|
||||||
|
|& tee xsltproc.out
|
||||||
|
grep "^ID recommended on" xsltproc.out &>/dev/null && echo "error: some IDs are missing" && false
|
||||||
|
rm xsltproc.out
|
||||||
|
|
||||||
mkdir -p $dst/images/callouts
|
mkdir -p $dst/images/callouts
|
||||||
cp ${docbook_xsl_ns}/xml/xsl/docbook/images/callouts/*.svg $dst/images/callouts/
|
cp ${docbook_xsl_ns}/xml/xsl/docbook/images/callouts/*.svg $dst/images/callouts/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="5.0"
|
version="5.0"
|
||||||
xml:id="ch-development">
|
xml:id="ch-development">
|
||||||
<title>Development</title>
|
<title>Development</title>
|
||||||
<partintro>
|
<partintro xml:id="ch-development-intro">
|
||||||
<para>
|
<para>
|
||||||
This chapter describes how you can modify and extend NixOS.
|
This chapter describes how you can modify and extend NixOS.
|
||||||
</para>
|
</para>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
version="5.0"
|
version="5.0"
|
||||||
xml:id="ch-installation">
|
xml:id="ch-installation">
|
||||||
<title>Installation</title>
|
<title>Installation</title>
|
||||||
<partintro>
|
<partintro xml:id="ch-installation-intro">
|
||||||
<para>
|
<para>
|
||||||
This section describes how to obtain, install, and configure NixOS for
|
This section describes how to obtain, install, and configure NixOS for
|
||||||
first-time use.
|
first-time use.
|
||||||
|
Loading…
Reference in New Issue
Block a user