1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

the simplest bodge

This commit is contained in:
Kindi 2023-01-07 23:35:54 +08:00
parent e088fb6d9e
commit 7cf9aa5d31

View File

@ -151,9 +151,6 @@ def setup(app):
app.add_stylesheet('figures.css')
app.add_stylesheet('luadoc.css')
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'])
except Exception as e:
print('Can\'t generate Lua API documentation:', e)