mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
License & doc generator
This commit is contained in:
parent
412a4b4ea6
commit
03a1241d36
1 changed files with 3 additions and 3 deletions
|
@ -50,8 +50,8 @@ def main():
|
|||
if re.search(r'^"""', line):
|
||||
in_block = False
|
||||
f.write('\n')
|
||||
f.write(category_params['category_help'] +'\n')
|
||||
f.write('"""' +'\n')
|
||||
f.write(' '+ category_params['category_help'] +'\n')
|
||||
f.write('"""')
|
||||
else:
|
||||
f.write(line)
|
||||
|
||||
|
@ -86,8 +86,8 @@ def main():
|
|||
|
||||
help_lines.append(' '+ name + help)
|
||||
|
||||
help_lines.append(' """')
|
||||
help_lines.append('')
|
||||
help_lines.append(' """')
|
||||
|
||||
with open('yunohost_'+ category +'.py', 'r') as f:
|
||||
lines = f.readlines()
|
||||
|
|
Loading…
Add table
Reference in a new issue