Remove the PDF manual

PDF is very 20th century and nobody reads technical documentation this
way anymore.

+1 -25
+1 -24
nixos/doc/manual/default.nix
··· 122 122 <targetset> 123 123 <targetsetinfo> 124 124 Allows for cross-referencing olinks between the manpages 125 - and the HTML/PDF manuals. 125 + and manual. 126 126 </targetsetinfo> 127 127 128 128 <document targetdoc="manual">&manualtargets;</document> ··· 226 226 227 227 mkdir -p $out/nix-support 228 228 echo "doc-epub manual $dst/NixOS Manual - NixOS community.epub" >> $out/nix-support/hydra-build-products 229 - ''; 230 - }; 231 - 232 - 233 - manualPDF = stdenv.mkDerivation { 234 - name = "nixos-manual-pdf"; 235 - 236 - inherit sources; 237 - 238 - buildInputs = [ libxml2 libxslt dblatex dblatex.tex ]; 239 - 240 - buildCommand = '' 241 - ${copySources} 242 - 243 - dst=$out/share/doc/nixos 244 - mkdir -p $dst 245 - xmllint --xinclude manual.xml | dblatex -o $dst/manual.pdf - \ 246 - -P target.database.document="${olinkDB}/olinkdb.xml" \ 247 - -P doc.collab.show=0 \ 248 - -P latex.output.revhistory=0 249 - 250 - mkdir -p $out/nix-support 251 - echo "doc-pdf manual $dst/manual.pdf" >> $out/nix-support/hydra-build-products 252 229 ''; 253 230 }; 254 231
-1
nixos/release.nix
··· 96 96 97 97 manual = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manual); 98 98 manualEpub = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualEpub)); 99 - manualPDF = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualPDF)).x86_64-linux; 100 99 manpages = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manpages); 101 100 options = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.optionsJSON)).x86_64-linux; 102 101