Skip to content
Snippets Groups Projects
Commit 07c09e51 authored by spiglerg's avatar spiglerg
Browse files

make_docs.py fix for Linux

parent 9ba8120c
No related branches found
No related tags found
No related merge requests found
......@@ -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'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment