mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 06:38:35 +00:00
d90de484b1
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
6 lines
237 B
Python
6 lines
237 B
Python
# Reads the edit_url from the YAML page header and replaces the default one with it.
|
|
|
|
def on_page_context(context, page, config, **kwargs):
|
|
if 'edit_url' in page.meta:
|
|
page.edit_url = page.meta['edit_url']
|
|
return context
|