doc(plugins/sponsors): update

This commit is contained in:
lowlighter
2022-01-15 21:59:23 -05:00
parent 1f6c70d99a
commit 705fb4ace4
2 changed files with 13 additions and 8 deletions

View File

@@ -32,7 +32,7 @@
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_sponsors</code></td>
<td rowspan="2"><p>Display GitHub sponsors</p>
<td rowspan="2"><p>Enable sponsors plugin</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
@@ -42,7 +42,11 @@
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_sponsors_sections</code></td>
<td rowspan="2"><p>Sections to display</p>
<td rowspan="2"><p>Displayed sections</p>
<ul>
<li><code>goal</code>: display GitHub active goal</li>
<li><code>about</code>: display GitHub sponsors introduction</li>
</ul>
<img width="900" height="1" alt=""></td>
</tr>
<tr>

View File

@@ -13,19 +13,20 @@ scopes:
- public_access
inputs:
# Enable or disable plugin
plugin_sponsors:
description: Display GitHub sponsors
description: Enable sponsors plugin
type: boolean
default: no
# Sections to display
plugin_sponsors_sections:
description: Sections to display
description: |
Displayed sections
- `goal`: display GitHub active goal
- `about`: display GitHub sponsors introduction
type: array
format: comma-separated
default: goal, about
example: goal, about
values:
- goal # Display your GitHub active goal
- about # Display your GitHub sponsors introduction
- goal
- about