fix workflow demo macro

This commit is contained in:
Deborah Barnard 2024-07-10 14:21:01 +01:00
parent b35d150196
commit 9b486d1b30
3 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ hide:
# Welcome
This is the documentation for [n8n](https://n8n.io/){:target=_blank .external-link}, a [fair-code](http://faircode.io){:target=_blank .external-link} licensed node-based workflow automation tool.
It covers everything from setup to usage and development. It's a work in progress and all [contributions](/help-community/contributing/) are welcome.

View File

@ -35,6 +35,7 @@ def define_env(env):
return f'<div class="n8n-templates-widget"><div class="n8n-templates-widget-template"><strong>{workflow_one_title}</strong><p class="n8n-templates-name">by {workflow_one_user}</p><a class="n8n-templates-link" href="{workflow_one_url}" target="_blank">View template details</a></div><div class="n8n-templates-widget-template"><strong>{workflow_two_title}</strong><p class="n8n-templates-name">by {workflow_two_user}</p><a class="n8n-templates-link" href="{workflow_two_url}" target="_blank">View template details</a></div><div class="n8n-templates-widget-template"><strong>{workflow_three_title}</strong><p class="n8n-templates-name">by {workflow_three_user}</p><a class="n8n-templates-link" href="{workflow_three_url}" target="_blank">View template details</a></div><span class="n8n-templates-widget-more"><a href="https://n8n.io/integrations/{slug}/" target="_blank">Browse {title} integration templates</a>, or <a href="https://n8n.io/workflows/" target="_blank">search all templates</a></span></div>'
@env.macro
def workflowDemo(workflow_endpoint):
r = requests.get(url = workflow_endpoint)
wf_data = r.json()

View File

@ -157,7 +157,7 @@ plugins:
- search
- exclude:
glob:
#- integrations/builtin/*
- integrations/builtin/*
# https://squidfunk.github.io/mkdocs-material/reference/images/#lightbox
- glightbox:
touchNavigation: false