Commit c1b9e41d authored by Jean-Baptiste Mouret's avatar Jean-Baptiste Mouret
Browse files

fix the defaults

parent 4aa35f9b
......@@ -299,7 +299,9 @@ def output_params(folder):
text_file.close()
def write_default_params(fname):
output = params.get_default_params()
output = "Default values\n"
output += "===============\n"
output += params.get_default_params()
text_file = open(fname, "w")
text_file.write(output)
text_file.close()
......@@ -93,7 +93,7 @@ def underline(k):
out = k + '\n'
s = ''
for i in range(0, len(k)):
s += '='
s += '^'
out += s + '\n'
return out
......
......@@ -178,6 +178,9 @@ def shutdown(ctx):
limbo.run_local(ctx.options.local_serial)
def build_docs(ctx):
print 'extracting default params...'
limbo.write_default_params('docs/defaults.rst')
print "generating HTML doc..."
s = "cd docs; make html"
retcode = subprocess.call(s, shell=True, env=None)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment