Remove the PDF manual
PDF is very 20th century and nobody reads technical documentation this way anymore.
This commit is contained in:
parent
83eb49220b
commit
d5756cdf0a
@ -122,7 +122,7 @@ let
|
|||||||
<targetset>
|
<targetset>
|
||||||
<targetsetinfo>
|
<targetsetinfo>
|
||||||
Allows for cross-referencing olinks between the manpages
|
Allows for cross-referencing olinks between the manpages
|
||||||
and the HTML/PDF manuals.
|
and manual.
|
||||||
</targetsetinfo>
|
</targetsetinfo>
|
||||||
|
|
||||||
<document targetdoc="manual">&manualtargets;</document>
|
<document targetdoc="manual">&manualtargets;</document>
|
||||||
@ -229,29 +229,6 @@ in rec {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
manualPDF = stdenv.mkDerivation {
|
|
||||||
name = "nixos-manual-pdf";
|
|
||||||
|
|
||||||
inherit sources;
|
|
||||||
|
|
||||||
buildInputs = [ libxml2 libxslt dblatex dblatex.tex ];
|
|
||||||
|
|
||||||
buildCommand = ''
|
|
||||||
${copySources}
|
|
||||||
|
|
||||||
dst=$out/share/doc/nixos
|
|
||||||
mkdir -p $dst
|
|
||||||
xmllint --xinclude manual.xml | dblatex -o $dst/manual.pdf - \
|
|
||||||
-P target.database.document="${olinkDB}/olinkdb.xml" \
|
|
||||||
-P doc.collab.show=0 \
|
|
||||||
-P latex.output.revhistory=0
|
|
||||||
|
|
||||||
mkdir -p $out/nix-support
|
|
||||||
echo "doc-pdf manual $dst/manual.pdf" >> $out/nix-support/hydra-build-products
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Generate the NixOS manpages.
|
# Generate the NixOS manpages.
|
||||||
manpages = stdenv.mkDerivation {
|
manpages = stdenv.mkDerivation {
|
||||||
name = "nixos-manpages";
|
name = "nixos-manpages";
|
||||||
|
@ -96,7 +96,6 @@ in rec {
|
|||||||
|
|
||||||
manual = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manual);
|
manual = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manual);
|
||||||
manualEpub = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualEpub));
|
manualEpub = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualEpub));
|
||||||
manualPDF = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualPDF)).x86_64-linux;
|
|
||||||
manpages = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manpages);
|
manpages = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manpages);
|
||||||
options = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.optionsJSON)).x86_64-linux;
|
options = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.optionsJSON)).x86_64-linux;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user