docs(plugins): minor short description changes

This commit is contained in:
lowlighter
2022-01-18 12:43:17 -05:00
parent 2c8c691f53
commit 0d25bf7689
7 changed files with 17 additions and 12 deletions

View File

@@ -81,7 +81,8 @@
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_starlists_ignored</code></td>
<td rowspan="2"><p>Skipped star lists (case insensitive, emojis insensitive)</p>
<td rowspan="2"><p>Skipped star lists</p>
<p>This is case and emojis insensitive</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
@@ -92,8 +93,9 @@
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_starlists_only</code></td>
<td rowspan="2"><p>Restrict display to specified star lists (case insensitive, emojis insensitive)</p>
<p>This option is equivalent to <code>plugin_starlists_ignored</code> with all star lists but the ones listed in this option</p>
<td rowspan="2"><p>Restrict display to specified star lists</p>
<p>This is case and emojis insensitive.
This option is equivalent to <code>plugin_starlists_ignored</code> with all star lists but the ones listed in this option</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>

View File

@@ -30,7 +30,6 @@ export default async function({login, q, imports, data, account}, {enabled = fal
))
const count = lists.length
console.debug(`metrics/compute/${login}/plugins > starlists > found [${lists.map(({name}) => name)}]`)
console.log(">>>>> DEBUG", lists.map(({name}) => name), lists.map(({name}) => imports.stripemojis(name ?? "").trim().toLocaleLowerCase()), only, ignored)
lists = lists
.filter(({name}) => {
name = imports.stripemojis(name ?? "").trim().toLocaleLowerCase()

View File

@@ -34,7 +34,10 @@ inputs:
default: yes
plugin_starlists_ignored:
description: Skipped star lists (case insensitive, emojis insensitive)
description: |
Skipped star lists
This is case and emojis insensitive
type: array
format: comma-separated
default: ""
@@ -42,8 +45,9 @@ inputs:
plugin_starlists_only:
description: |
Restrict display to specified star lists (case insensitive, emojis insensitive)
Restrict display to specified star lists
This is case and emojis insensitive.
This option is equivalent to `plugin_starlists_ignored` with all star lists but the ones listed in this option
type: array
format: comma-separated