docs(userstyle-creation): small improvements (#651)

This commit is contained in:
uncenter authored and GitHub committed 2024-03-10 16:36:40 -04:00
1 parent 884bfb7fda
commit 1e79a4940c
1 file changed
+8 -8
+8 -8
View File
@@ -54,7 +54,7 @@ To create a userstyle, follow the instructions listed below:
**Please note that the `README`s for each port are auto-generated by scripts
defined in [`scripts/generate/`](../scripts/generate)**, along with many other parts of
this repository. This file, `userstyles.yml`, is responsible for holding the
this repository. This file, [`userstyles.yml`](../scripts/userstyles.yml), is responsible for holding the
necessary data to auto-generate everything.
[`userstyles.schema.json`](../scripts/userstyles.schema.json) is the schema
@@ -83,13 +83,13 @@ on the schema:
```yaml
<port>:
name: <name>
# Up to 3 categories are allowed.
# Up to 3 categories are allowed, and having at least one is required.
# The first category is considered the "primary" category and impacts where the userstyle appears on the README.
categories: [ <category> ]
categories: [<primary-category>]
color: <color>
readme:
app-link: <url>
current-maintainers: [ *<github-username> ]
current-maintainers: [*<github-username>]
```
`All Fields:`
@@ -108,17 +108,17 @@ on the schema:
```yaml
<port>:
name: <name>
categories: [ <category-a>, <category-b> ]
categories: [<primary-category>, <optional-secondary-category>, <optional-third-category>]
color: <color>
icon: <icon> # OPTIONAL
readme:
app-link: "<url>"
usage: |+ # OPTIONAL
> **Note** <br>
> [!NOTE]
> <your notes>
faq: # OPTIONAL
- question: <question>
answer: <answer>
current-maintainers: [ *<github-username> ]
past-maintainers: [ *<github-username> ] # OPTIONAL
current-maintainers: [*<github-username>]
past-maintainers: [*<github-username>] # OPTIONAL
```