diff options
| author | Enrico Tassi | 2019-02-20 13:24:34 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2019-02-20 13:24:34 +0100 |
| commit | 756b978dfee0e0c103a5244af21115233ad96358 (patch) | |
| tree | 937b01faf9e2aba41c1396f544d5d2a9ab3ec426 /doc | |
| parent | c39482e63aacf47359d8f76c44c2d851c7cfb9a5 (diff) | |
| parent | 49ed4b7d3a01b9c383bb99fc26a7b34a7a711fdf (diff) | |
Merge PR #9560: [coqlib] Remove `-boot` option for setting the coqlib
Reviewed-by: SkySkimmer
Ack-by: ejgallego
Reviewed-by: gares
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/dune | 2 | ||||
| -rw-r--r-- | doc/tools/coqrst/repl/coqtop.py | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -13,7 +13,7 @@ (source_tree tools) (env_var SPHINXWARNOPT)) (action - (run sphinx-build -j4 %{env:SPHINXWARNOPT=-W} -b html -d sphinx_build/doctrees sphinx sphinx_build/html))) + (run env COQLIB=%{project_root} sphinx-build -j4 %{env:SPHINXWARNOPT=-W} -b html -d sphinx_build/doctrees sphinx sphinx_build/html))) (alias (name refman-html) diff --git a/doc/tools/coqrst/repl/coqtop.py b/doc/tools/coqrst/repl/coqtop.py index 6d65d30d46..ddba2edd4a 100644 --- a/doc/tools/coqrst/repl/coqtop.py +++ b/doc/tools/coqrst/repl/coqtop.py @@ -49,13 +49,10 @@ 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"] * BOOT + ["-color", "on"] * color + self.args = (args or []) + ["-color", "on"] * color self.coqtop = None def __enter__(self): |
