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>
<tr> <tr>
<td nowrap="nowrap"><code>plugin_sponsors</code></td> <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> <img width="900" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
@@ -42,7 +42,11 @@
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap"><code>plugin_sponsors_sections</code></td> <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> <img width="900" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>

View File

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