|
|
|
@ -93,19 +93,19 @@ def update_wiki(recipe):
|
|
|
|
|
|
|
|
|
|
# PROV TEMPLATE
|
|
|
|
|
content = f"""\
|
|
|
|
|
=== {recipe['title']} ===
|
|
|
|
|
''{recipe['description']}''
|
|
|
|
|
<br>
|
|
|
|
|
'''Nature of the input'''
|
|
|
|
|
<br>
|
|
|
|
|
{recipe['nature']}
|
|
|
|
|
<br>
|
|
|
|
|
''' Process Log'''
|
|
|
|
|
<br>
|
|
|
|
|
{steps}
|
|
|
|
|
'''Who'''
|
|
|
|
|
<br>
|
|
|
|
|
{recipe['who']}
|
|
|
|
|
=== {recipe['title']} ===
|
|
|
|
|
''{recipe['description']}''
|
|
|
|
|
<br>
|
|
|
|
|
'''Nature of the input'''
|
|
|
|
|
<br>
|
|
|
|
|
{recipe['nature']}
|
|
|
|
|
<br>
|
|
|
|
|
''' Process Log'''
|
|
|
|
|
<br>
|
|
|
|
|
{steps}
|
|
|
|
|
'''Who'''
|
|
|
|
|
<br>
|
|
|
|
|
{recipe['who']}
|
|
|
|
|
"""
|
|
|
|
|
text += textwrap.dedent(content)
|
|
|
|
|
page.edit(text, f'Added a new recipe! {recipe["title"]}')
|
|
|
|
|