aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-05-09 13:54:32 +0200
committerThéo Zimmermann2018-05-10 19:23:55 +0200
commitfaa22df091613de7cb1b91ed7f64e5fed6fae812 (patch)
treeddaf9e8c0b38738c0ba609faeadf4fbf625414e8
parent3d1e1adba6c6a7975ee1875d226294f5c6fb196c (diff)
One can build all the HTML doc using default.nix.
-rw-r--r--INSTALL.doc2
-rw-r--r--default.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/INSTALL.doc b/INSTALL.doc
index 9ce9abb4f2..13e6440d01 100644
--- a/INSTALL.doc
+++ b/INSTALL.doc
@@ -42,7 +42,7 @@ Then, install the Python3 Antlr4 package:
pip3 install antlr4-python3-runtime
Nix users should get the correct development environment to build the
-Sphinx documentation from Coq's `default.nix`. [Note Nix setup doesn't
+HTML documentation from Coq's `default.nix`. [Note Nix setup doesn't
include the LaTeX packages needed to build the full documentation.]
If you are in an older/different distribution you can install the
diff --git a/default.nix b/default.nix
index 0b47942748..effee720de 100644
--- a/default.nix
+++ b/default.nix
@@ -90,9 +90,9 @@ stdenv.mkDerivation rec {
prefixKey = "-prefix ";
- buildFlags = optionals buildDoc [ "world" "sphinx" ];
+ buildFlags = [ "world" ] ++ optional buildDoc "doc-html";
- installTargets = [ "install" ] ++ optional buildDoc "install-doc-sphinx";
+ installTargets = [ "install" ] ++ optional buildDoc "install-doc-html";
inherit doCheck;