docs(README): differentiate unmaintained userstyles (#536)
Co-authored-by: Hamothy <[email protected]>
This commit is contained in:
1 parent
8ae8ca1f34
commit
732cc4ece6
2 files changed
+6
-2
No files matched your search
@@ -74,6 +74,9 @@ See [CONTRIBUTING.md](docs/CONTRIBUTING.md).
|
|||||||
|
|
||||||
## 🖌 Userstyles
|
## 🖌 Userstyles
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Userstyles labeled with the "🚧" emoji are looking for maintainers, and may not work as intended. Contributions are still welcome and encouraged. If you would like to become a maintainer, add your username to the `current-maintainers` array in the [userstyles.yml](./scripts/userstyles.yml) file.
|
||||||
|
|
||||||
<!-- AUTOGEN:USERSTYLES START -->
|
<!-- AUTOGEN:USERSTYLES START -->
|
||||||
<!-- the following section is auto-generated, do not edit -->
|
<!-- the following section is auto-generated, do not edit -->
|
||||||
<details open>
|
<details open>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export const generateMainReadme = async (
|
|||||||
<summary>{{emoji}} {{name}}</summary>
|
<summary>{{emoji}} {{name}}</summary>
|
||||||
|
|
||||||
{{#each ports}}
|
{{#each ports}}
|
||||||
- [{{#each name}}{{ this }}{{#unless @last}}, {{/unless}}{{/each}}]({{ path }})
|
- {{#unless maintained}}🚧 {{/unless}}[{{#each name}}{{ this }}{{#unless @last}}, {{/unless}}{{/each}}]({{ path }})
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@@ -51,9 +51,10 @@ export const generateMainReadme = async (
|
|||||||
return {
|
return {
|
||||||
emoji: meta.emoji,
|
emoji: meta.emoji,
|
||||||
name: meta.name,
|
name: meta.name,
|
||||||
ports: ports.map(({ name, path }) => {
|
ports: ports.map(({ name, path, readme }) => {
|
||||||
return {
|
return {
|
||||||
name: [name].flat(),
|
name: [name].flat(),
|
||||||
|
maintained: readme["current-maintainers"].length > 0,
|
||||||
path,
|
path,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user