docs: minor changes

This commit is contained in:
lowlighter
2022-01-15 23:34:09 -05:00
parent 20ab1e9780
commit c82a49ea63
9 changed files with 14 additions and 10 deletions

View File

@@ -5,12 +5,12 @@ Plugins provide additional content and lets you customize rendered metrics.
**📦 Maintained by core team**
<% { let previous = null; for (const [plugin, {name, category, authors = []}] of Object.entries(plugins).filter(([key, value]) => (value)&&(value.category !== "community")).sort(([an, a], [bn, b]) => a.category === b.category ? an.localeCompare(bn) : 0)) { %>
<% if (previous !== category) { previous = category -%>
* **<%= `${category.charAt(0).toLocaleUpperCase()}${category.substring(1)}` %>**
* **<%= `${category.charAt(0).toLocaleUpperCase()}${category.substring(1)} plugins` %>**
<% } -%>
* [<%- name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
* [<%- name %> <sub>`<%= plugin %>`</sub>](/source/plugins/<%= plugin %>/README.md)<%# -%>
<% }} %>
**🎲 Maintained by community**
<% { let previous = null; for (const [plugin, {name, category, authors = []}] of Object.entries(plugins).filter(([key, value]) => (value)&&(value.category === "community")).sort(([an, a], [bn, b]) => a.category === b.category ? an.localeCompare(bn) : 0)) { %><%# -%>
* [<%- name %>](/source/plugins/<%= plugin %>/README.md) by <%- authors.map(author => `[@${author}](https://github.com/${author})`).join(" ") %>
* [<%- name %> <sub>`<%= plugin %>`</sub>](/source/plugins/<%= plugin %>/README.md) by <%- authors.map(author => `[@${author}](https://github.com/${author})`).join(" ") %>
<% }} %>

View File

@@ -3,5 +3,5 @@
Templates lets you change general appearance of rendered metrics.
<% for (const [template, {name}] of Object.entries(templates).filter(([key, value]) => value)) { %>
* [<%- name %>](/source/templates/<%= template %>/README.md)<%# -%>
* [<%- name %> <sub>`<%= template %>`</sub>](/source/templates/<%= template %>/README.md)<%# -%>
<% } %>

View File

@@ -831,6 +831,7 @@ jobs:
plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }}
plugin_tweets_attachments: 'yes'
plugin_tweets_user: github
plugin_tweets_limit: 1
plugins_errors_fatal: 'yes'
output_action: none
delay: 120
@@ -855,6 +856,7 @@ jobs:
base: ''
plugin_posts: 'yes'
plugin_posts_source: dev.to
plugin_posts_limit: 2
plugin_posts_descriptions: 'yes'
plugin_posts_covers: 'yes'
plugins_errors_fatal: 'yes'