* Sync CSS with the Nix manual.
svn path=/nixpkgs/trunk/; revision=34062
This commit is contained in:
parent
a78d2f55fb
commit
09ab016c6c
@ -7,13 +7,13 @@
|
|||||||
<para>This manual tells you how to write packages for the Nix Packages
|
<para>This manual tells you how to write packages for the Nix Packages
|
||||||
collection (Nixpkgs). Thus it’s for packagers and developers who want
|
collection (Nixpkgs). Thus it’s for packagers and developers who want
|
||||||
to add packages to Nixpkgs. End users are kindly referred to the
|
to add packages to Nixpkgs. End users are kindly referred to the
|
||||||
<link xlink:href="http://nixos.org/releases/nix/unstable/manual/">Nix
|
<link xlink:href="http://hydra.nixos.org/job/nix/trunk/tarball/latest/download-by-type/doc/manual">Nix
|
||||||
manual</link>.</para>
|
manual</link>.</para>
|
||||||
|
|
||||||
<para>This manual does not describe the syntax and semantics of the
|
<para>This manual does not describe the syntax and semantics of the
|
||||||
Nix expression language, which are given in the Nix manual in the
|
Nix expression language, which are given in the Nix manual in the
|
||||||
<link
|
<link
|
||||||
xlink:href="http://nixos.org/releases/nix/unstable/manual/#chap-writing-nix-expressions">chapter
|
xlink:href="http://hydra.nixos.org/job/nix/trunk/tarball/latest/download-by-type/doc/manual/#chap-writing-nix-expressions">chapter
|
||||||
on writing Nix expressions</link>. It only describes the facilities
|
on writing Nix expressions</link>. It only describes the facilities
|
||||||
provided by Nixpkgs to make writing packages easier, such as the
|
provided by Nixpkgs to make writing packages easier, such as the
|
||||||
standard build environment (<literal>stdenv</literal>).</para>
|
standard build environment (<literal>stdenv</literal>).</para>
|
||||||
|
@ -196,6 +196,7 @@ twisted = buildPythonPackage {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
<section><title>Haskell</title>
|
<section><title>Haskell</title>
|
||||||
|
|
||||||
<para>TODO</para>
|
<para>TODO</para>
|
||||||
@ -215,6 +216,7 @@ twisted = buildPythonPackage {
|
|||||||
<para>* Special support for building TeX documents</para>
|
<para>* Special support for building TeX documents</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
|
@ -14,14 +14,12 @@
|
|||||||
<surname>Dolstra</surname>
|
<surname>Dolstra</surname>
|
||||||
</personname>
|
</personname>
|
||||||
<affiliation>
|
<affiliation>
|
||||||
<orgname>Delft University of Technology</orgname>
|
<orgname>LogicBlox</orgname>
|
||||||
<orgdiv>Department of Software Technology</orgdiv>
|
|
||||||
</affiliation>
|
</affiliation>
|
||||||
</author>
|
</author>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2008</year>
|
<year>2008-2012</year>
|
||||||
<year>2009</year>
|
|
||||||
<holder>Eelco Dolstra</holder>
|
<holder>Eelco Dolstra</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
|
@ -224,19 +224,23 @@ you should modify
|
|||||||
|
|
||||||
<!--============================================================-->
|
<!--============================================================-->
|
||||||
|
|
||||||
|
<!--
|
||||||
<section>
|
<section>
|
||||||
<title>Gnome</title>
|
<title>Gnome</title>
|
||||||
<para>* Expression is auto-generated</para>
|
<para>* Expression is auto-generated</para>
|
||||||
<para>* How to update</para>
|
<para>* How to update</para>
|
||||||
</section>
|
</section>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
<!--============================================================-->
|
<!--============================================================-->
|
||||||
|
|
||||||
|
<!--
|
||||||
<section>
|
<section>
|
||||||
<title>GCC</title>
|
<title>GCC</title>
|
||||||
<para>…</para>
|
<para>…</para>
|
||||||
</section>
|
</section>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
|
116
doc/style.css
116
doc/style.css
@ -8,15 +8,14 @@
|
|||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
font-family: sans-serif;
|
font-family: "Nimbus Sans L", sans-serif;
|
||||||
background: white;
|
background: white;
|
||||||
margin: 2em 1em 2em 1em;
|
margin: 2em 1em 2em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,h2,h3
|
h1, h2, h3, h4
|
||||||
{
|
{
|
||||||
color: #005aa0;
|
color: #005aa0;
|
||||||
text-align: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 /* title */
|
h1 /* title */
|
||||||
@ -46,6 +45,11 @@ h3 /* subsections */
|
|||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.simplesect h2
|
||||||
|
{
|
||||||
|
font-size: 110%;
|
||||||
|
}
|
||||||
|
|
||||||
div.appendix h3
|
div.appendix h3
|
||||||
{
|
{
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
@ -70,11 +74,13 @@ div.refsection h3
|
|||||||
|
|
||||||
div.example
|
div.example
|
||||||
{
|
{
|
||||||
border: 1px solid #6185a0;
|
border: 1px solid #b0b0b0;
|
||||||
padding: 6px 6px;
|
padding: 6px 6px;
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
background: #f4f4f8;
|
background: #f4f4f8;
|
||||||
|
border-radius: 0.4em;
|
||||||
|
box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.example p.title
|
div.example p.title
|
||||||
@ -82,6 +88,11 @@ div.example p.title
|
|||||||
margin-top: 0em;
|
margin-top: 0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.example pre
|
||||||
|
{
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
Screen dumps:
|
Screen dumps:
|
||||||
@ -89,14 +100,15 @@ div.example p.title
|
|||||||
|
|
||||||
pre.screen, pre.programlisting
|
pre.screen, pre.programlisting
|
||||||
{
|
{
|
||||||
border: 1px solid #6185a0;
|
border: 1px solid #b0b0b0;
|
||||||
padding: 3px 3px;
|
padding: 3px 3px;
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
color: #600000;
|
color: #600000;
|
||||||
background: #f4f4f8;
|
background: #f4f4f8;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
/* font-size: 90%; */
|
border-radius: 0.4em;
|
||||||
|
box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.example pre.programlisting
|
div.example pre.programlisting
|
||||||
@ -113,13 +125,15 @@ div.example pre.programlisting
|
|||||||
|
|
||||||
.note, .warning
|
.note, .warning
|
||||||
{
|
{
|
||||||
border: 1px solid #6185a0;
|
border: 1px solid #b0b0b0;
|
||||||
padding: 3px 3px;
|
padding: 3px 3px;
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
padding: 0.3em 0.3em 0.3em 0.3em;
|
padding: 0.3em 0.3em 0.3em 0.3em;
|
||||||
background: #fffff5;
|
background: #fffff5;
|
||||||
|
border-radius: 0.4em;
|
||||||
|
box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.note, div.warning
|
div.note, div.warning
|
||||||
@ -131,7 +145,6 @@ div.note h3, div.warning h3
|
|||||||
{
|
{
|
||||||
color: red;
|
color: red;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
// margin: 0 0 0 0;
|
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
@ -162,20 +175,26 @@ div.navfooter *
|
|||||||
Links colors and highlighting:
|
Links colors and highlighting:
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
a { text-decoration: none; }
|
||||||
|
a:hover { text-decoration: underline; }
|
||||||
a:link { color: #0048b3; }
|
a:link { color: #0048b3; }
|
||||||
a:visited { color: #002a6a; }
|
a:visited { color: #002a6a; }
|
||||||
a:hover { background: #ffffcd; }
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
Table of contents:
|
Table of contents:
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
.toc
|
div.toc
|
||||||
{
|
{
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.toc dl
|
||||||
|
{
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
@ -208,76 +227,29 @@ div.glosslist dt
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.default
|
|
||||||
{
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.availability
|
|
||||||
{
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.varname
|
.varname
|
||||||
{
|
{
|
||||||
color: #400000;
|
color: #400000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.command strong
|
||||||
div.informaltable table
|
|
||||||
{
|
{
|
||||||
border: 1px solid #6185a0;
|
font-weight: normal;
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.informaltable td
|
|
||||||
{
|
|
||||||
border: 0;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.informaltable td.default
|
|
||||||
{
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.informaltable th
|
|
||||||
{
|
|
||||||
text-align: left;
|
|
||||||
color: #005aa0;
|
|
||||||
border: 0;
|
|
||||||
padding: 5px;
|
|
||||||
background: #fffff5;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
td.varname, td.tagname, td.paramname
|
|
||||||
{
|
|
||||||
font-weight: bold;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.epigraph
|
|
||||||
{
|
|
||||||
font-style: italic;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.productionset table.productionset
|
|
||||||
{
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
strong.command
|
|
||||||
{
|
|
||||||
// font-family: monospace;
|
|
||||||
// font-style: italic;
|
|
||||||
// font-weight: normal;
|
|
||||||
color: #400000;
|
color: #400000;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.calloutlist td
|
div.calloutlist table
|
||||||
{
|
{
|
||||||
padding-bottom: 1em;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table
|
||||||
|
{
|
||||||
|
border-collapse: collapse;
|
||||||
|
box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.affiliation
|
||||||
|
{
|
||||||
|
font-style: italic;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user