From 6ec5ba287b4d131d7bd4c70254a87a6d7f4e4269 Mon Sep 17 00:00:00 2001
From: Stefano Borini <sborini@enthought.com>
Date: Tue, 19 Jun 2018 14:35:29 +0100
Subject: [PATCH] Fixed docs

---
 ci/__main__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ci/__main__.py b/ci/__main__.py
index 7535ee9..facec76 100644
--- a/ci/__main__.py
+++ b/ci/__main__.py
@@ -94,7 +94,9 @@ def coverage(python_version):
 @cli.command(help="Builds the documentation")
 @python_version_option
 def docs(python_version):
-    check_call(["make", "html"], cwd="doc")
+    env_name = get_env_name(python_version)
+
+    check_call(["edm", "run", "-e", env_name, "--", "make", "html"], cwd="doc")
 
 
 def get_env_name(python_version):
-- 
GitLab