forked from OctoPrint/plugins.octoprint.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugins.json
More file actions
23 lines (23 loc) · 1.12 KB
/
plugins.json
File metadata and controls
23 lines (23 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: null
---
[
{% for plugin in site.plugins %}{% unless forloop.first %},{% endunless %}
{
"id": "{{ plugin.id | remove_first: '/plugins/' | remove: '/' }}",
"published": "{{ plugin.date }}",
"title": "{{ plugin.title }}",
"description": "{{ plugin.description }}",
"archive": "{{ plugin.archive }}",{% if plugin.follow_dependency_links %}
"follow_dependency_links": {{ plugin.follow_dependency_links }},{% endif %}
"author": "{{ plugin.author }}",
"homepage": "{{ plugin.homepage }}",
"page": "{{ plugin.url | prepend: site.baseurl | prepend: site.external }}",
"compatibility": {% if plugin.compatibility %}{
{% if plugin.compatibility.octoprint %}"octoprint": {{ plugin.compatibility.octoprint | jsonify }},{% endif %}
"os": {% if plugin.compatibility.os %}{{ plugin.compatibility.os | jsonify }}{% else %}["windows", "linux", "macos"]{% endif %}
}{% else %}{"octoprint": [], "os": []}{% endif %},
"license": "{{ plugin.license }}"{% if plugin.featuredimage %},
"image": "{% include canonic_url url=plugin.featuredimage external=true %}"{% endif %}
}{% endfor %}
]