docs(userstyle-creation): small improvements (#651)
This commit is contained in:
1 parent
884bfb7fda
commit
1e79a4940c
1 file changed
+8
-8
@@ -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
|
**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
|
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.
|
necessary data to auto-generate everything.
|
||||||
|
|
||||||
[`userstyles.schema.json`](../scripts/userstyles.schema.json) is the schema
|
[`userstyles.schema.json`](../scripts/userstyles.schema.json) is the schema
|
||||||
@@ -83,13 +83,13 @@ on the schema:
|
|||||||
```yaml
|
```yaml
|
||||||
<port>:
|
<port>:
|
||||||
name: <name>
|
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.
|
# The first category is considered the "primary" category and impacts where the userstyle appears on the README.
|
||||||
categories: [ <category> ]
|
categories: [<primary-category>]
|
||||||
color: <color>
|
color: <color>
|
||||||
readme:
|
readme:
|
||||||
app-link: <url>
|
app-link: <url>
|
||||||
current-maintainers: [ *<github-username> ]
|
current-maintainers: [*<github-username>]
|
||||||
```
|
```
|
||||||
|
|
||||||
`All Fields:`
|
`All Fields:`
|
||||||
@@ -108,17 +108,17 @@ on the schema:
|
|||||||
```yaml
|
```yaml
|
||||||
<port>:
|
<port>:
|
||||||
name: <name>
|
name: <name>
|
||||||
categories: [ <category-a>, <category-b> ]
|
categories: [<primary-category>, <optional-secondary-category>, <optional-third-category>]
|
||||||
color: <color>
|
color: <color>
|
||||||
icon: <icon> # OPTIONAL
|
icon: <icon> # OPTIONAL
|
||||||
readme:
|
readme:
|
||||||
app-link: "<url>"
|
app-link: "<url>"
|
||||||
usage: |+ # OPTIONAL
|
usage: |+ # OPTIONAL
|
||||||
> **Note** <br>
|
> [!NOTE]
|
||||||
> <your notes>
|
> <your notes>
|
||||||
faq: # OPTIONAL
|
faq: # OPTIONAL
|
||||||
- question: <question>
|
- question: <question>
|
||||||
answer: <answer>
|
answer: <answer>
|
||||||
current-maintainers: [ *<github-username> ]
|
current-maintainers: [*<github-username>]
|
||||||
past-maintainers: [ *<github-username> ] # OPTIONAL
|
past-maintainers: [*<github-username>] # OPTIONAL
|
||||||
```
|
```
|
||||||
Reference in new issue
Block a user