* Remove the redundant <sections> around refentries.

This commit is contained in:
Eelco Dolstra 2009-07-14 14:58:12 +00:00
parent 1f169f43b3
commit d413612029
16 changed files with 44 additions and 68 deletions

View file

@ -6,7 +6,8 @@ XSLTPROC = $(xsltproc) $(xmlflags) \
--param xref.with.number.and.title 1 \ --param xref.with.number.and.title 1 \
--param toc.section.depth 3 \ --param toc.section.depth 3 \
--param admon.style \'\' \ --param admon.style \'\' \
--param callout.graphics.extension \'.gif\' --param callout.graphics.extension \'.gif\' \
--param contrib.inline.enabled 0
dblatex_opts = \ dblatex_opts = \
-P doc.collab.show=0 \ -P doc.collab.show=0 \

View file

@ -17,6 +17,7 @@
<orgname>Delft University of Technology</orgname> <orgname>Delft University of Technology</orgname>
<orgdiv>Department of Software Technology</orgdiv> <orgdiv>Department of Software Technology</orgdiv>
</affiliation> </affiliation>
<contrib>Author</contrib>
</author> </author>
<copyright> <copyright>
@ -49,64 +50,25 @@
<section> <section>
<title>Main commands</title> <title>Main commands</title>
<section xml:id="sec-nix-env"> <xi:include href="nix-env.xml" />
<title>nix-env</title> <xi:include href="nix-instantiate.xml" />
<xi:include href="nix-env.xml" /> <xi:include href="nix-store.xml" />
</section>
<section xml:id="sec-nix-instantiate">
<title>nix-instantiate</title>
<xi:include href="nix-instantiate.xml" />
</section>
<section xml:id="sec-nix-store">
<title>nix-store</title>
<xi:include href="nix-store.xml" />
</section>
</section> </section>
<section> <section>
<title>Utilities</title> <title>Utilities</title>
<section xml:id="sec-nix-build"> <xi:include href="nix-build.xml" />
<title>nix-build</title> <xi:include href="nix-channel.xml" />
<xi:include href="nix-build.xml" /> <xi:include href="nix-collect-garbage.xml" />
</section> <xi:include href="nix-copy-closure.xml" />
<section xml:id="sec-nix-channel"> <xi:include href="nix-hash.xml" />
<title>nix-channel</title> <xi:include href="nix-install-package.xml" />
<xi:include href="nix-channel.xml" /> <xi:include href="nix-prefetch-url.xml" />
</section> <xi:include href="nix-pull.xml" />
<section xml:id="sec-nix-collect-garbage"> <xi:include href="nix-push.xml" />
<title>nix-collect-garbage</title> <xi:include href="nix-worker.xml" />
<xi:include href="nix-collect-garbage.xml" />
</section>
<section xml:id="sec-nix-copy-closure">
<title>nix-copy-closure</title>
<xi:include href="nix-copy-closure.xml" />
</section>
<section xml:id="sec-nix-hash">
<title>nix-hash</title>
<xi:include href="nix-hash.xml" />
</section>
<section xml:id="sec-nix-install-package">
<title>nix-install-package</title>
<xi:include href="nix-install-package.xml" />
</section>
<section xml:id="sec-nix-prefetch-url">
<title>nix-prefetch-url</title>
<xi:include href="nix-prefetch-url.xml" />
</section>
<section xml:id="sec-nix-pull">
<title>nix-pull</title>
<xi:include href="nix-pull.xml" />
</section>
<section xml:id="sec-nix-push">
<title>nix-push</title>
<xi:include href="nix-push.xml" />
</section>
<section xml:id="sec-nix-worker">
<title>nix-worker</title>
<xi:include href="nix-worker.xml" />
</section>
</section> </section>
</appendix> </appendix>
<xi:include href="troubleshooting.xml" /> <xi:include href="troubleshooting.xml" />

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-build">
<refmeta> <refmeta>
<refentrytitle>nix-build</refentrytitle> <refentrytitle>nix-build</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-channel">
<refmeta> <refmeta>
<refentrytitle>nix-channel</refentrytitle> <refentrytitle>nix-channel</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-collect-garbage">
<refmeta> <refmeta>
<refentrytitle>nix-collect-garbage</refentrytitle> <refentrytitle>nix-collect-garbage</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-copy-closure">
<refmeta> <refmeta>
<refentrytitle>nix-copy-closure</refentrytitle> <refentrytitle>nix-copy-closure</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-env">
<refmeta> <refmeta>
<refentrytitle>nix-env</refentrytitle> <refentrytitle>nix-env</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-hash">
<refmeta> <refmeta>
<refentrytitle>nix-hash</refentrytitle> <refentrytitle>nix-hash</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-install-package">
<refmeta> <refmeta>
<refentrytitle>nix-install-package</refentrytitle> <refentrytitle>nix-install-package</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-instantiate">
<refmeta> <refmeta>
<refentrytitle>nix-instantiate</refentrytitle> <refentrytitle>nix-instantiate</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-prefetch-url">
<refmeta> <refmeta>
<refentrytitle>nix-prefetch-url</refentrytitle> <refentrytitle>nix-prefetch-url</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-pull">
<refmeta> <refmeta>
<refentrytitle>nix-pull</refentrytitle> <refentrytitle>nix-pull</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-push">
<refmeta> <refmeta>
<refentrytitle>nix-push</refentrytitle> <refentrytitle>nix-push</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-store">
<refmeta> <refmeta>
<refentrytitle>nix-store</refentrytitle> <refentrytitle>nix-store</refentrytitle>

View file

@ -1,6 +1,7 @@
<refentry xmlns="http://docbook.org/ns/docbook" <refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-nix-worker">
<refmeta> <refmeta>
<refentrytitle>nix-worker</refentrytitle> <refentrytitle>nix-worker</refentrytitle>

View file

@ -331,7 +331,7 @@ default profile, respectively. If the profile doesnt exist, it will
be created automatically. You should be careful about storing a be created automatically. You should be careful about storing a
profile in another location than the <filename>profiles</filename> profile in another location than the <filename>profiles</filename>
directory, since otherwise it might not be used as a root of the directory, since otherwise it might not be used as a root of the
garbage collector (see section <xref linkend='sec-garbage-collection' garbage collector (see <xref linkend='sec-garbage-collection'
/>).</para> />).</para>
<para>All <command>nix-env</command> operations work on the profile <para>All <command>nix-env</command> operations work on the profile