aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-06-09 01:14:24 +0200
committerEmilio Jesus Gallego Arias2018-06-09 01:14:24 +0200
commitded7ac52847670a6f4f51671e2101a4fdd13a29e (patch)
treee609b0401e17fd61dff56060a43c42b0e70fe6ff /doc
parent8fd1904d8bed254f04b39ba5d6067915b85e36b6 (diff)
parent871a9e65009990963c12359531ea2beeacb7386d (diff)
Merge PR #7515: gitlab: build sphinx doc in separate job
Diffstat (limited to 'doc')
-rw-r--r--doc/tools/coqrst/repl/coqtop.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/tools/coqrst/repl/coqtop.py b/doc/tools/coqrst/repl/coqtop.py
index aeadce4c4a..3ff00eaaf3 100644
--- a/doc/tools/coqrst/repl/coqtop.py
+++ b/doc/tools/coqrst/repl/coqtop.py
@@ -41,10 +41,13 @@ class CoqTop:
the ansicolors module)
:param args: Additional arugments to coqtop.
"""
+ BOOT = True
+ if os.getenv('COQBOOT') == "no":
+ BOOT = False
self.coqtop_bin = coqtop_bin or os.path.join(os.getenv('COQBIN', ""), "coqtop")
if not pexpect.utils.which(self.coqtop_bin):
raise ValueError("coqtop binary not found: '{}'".format(self.coqtop_bin))
- self.args = (args or []) + ["-boot", "-color", "on"] * color
+ self.args = (args or []) + ["-boot"] * BOOT + ["-color", "on"] * color
self.coqtop = None
def __enter__(self):