From 07c09e51716a8303526ca3dac775b2fd75d2f539 Mon Sep 17 00:00:00 2001
From: spiglerg <spiglerg@gmail.com>
Date: Tue, 9 Apr 2019 14:28:35 +0200
Subject: [PATCH] make_docs.py fix for Linux

---
 make_docs.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/make_docs.py b/make_docs.py
index 909a0d9..6dabe2b 100644
--- a/make_docs.py
+++ b/make_docs.py
@@ -22,11 +22,11 @@ def remove_exists(filename):
 remove_exists('docs/flatland.rst')
 remove_exists('docs/modules.rst')
 
-subprocess.call('sphinx-apidoc -o docs/ flatland')
+subprocess.call(['sphinx-apidoc', '-o', 'docs/', 'flatland'])
 
 os.environ["SPHINXPROJ"] = "flatland"
 os.chdir('docs')
-subprocess.call('python -msphinx -M clean . _build')
-subprocess.call('python -msphinx -M html . _build')
+subprocess.call(['python', '-msphinx', '-M', 'clean', '.', '_build'])
+subprocess.call(['python', '-msphinx', '-M', 'html', '.', '_build'])
 
 browser(os.path.abspath('_build/html/index.html'))
-- 
GitLab