|
|
@ -151,9 +151,6 @@ def setup(app):
|
|
|
|
app.add_stylesheet('figures.css')
|
|
|
|
app.add_stylesheet('figures.css')
|
|
|
|
app.add_stylesheet('luadoc.css')
|
|
|
|
app.add_stylesheet('luadoc.css')
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
subprocess.call(project_root + '/docs/source/generate_luadoc.sh')
|
|
|
|
|
|
|
|
except Exception:
|
|
|
|
|
|
|
|
# Running on Windows?
|
|
|
|
|
|
|
|
subprocess.call(['sh', project_root + '/docs/source/generate_luadoc.sh'])
|
|
|
|
subprocess.call(['sh', project_root + '/docs/source/generate_luadoc.sh'])
|
|
|
|
except Exception as e:
|
|
|
|
except Exception as e:
|
|
|
|
print('Can\'t generate Lua API documentation:', e)
|
|
|
|
print('Can\'t generate Lua API documentation:', e)
|
|
|
|