docs(README): differentiate unmaintained userstyles (#536)

Co-authored-by: Hamothy <[email protected]>
This commit is contained in:
uncenterandHamothy authored and GitHub committed 2024-02-20 02:22:15 +00:00
1 parent 8ae8ca1f34
commit 732cc4ece6
2 files changed
+6 -2

No files matched your search

+3
View File
@@ -74,6 +74,9 @@ See [CONTRIBUTING.md](docs/CONTRIBUTING.md).
## 🖌 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 -->
<!-- the following section is auto-generated, do not edit -->
<details open>
+3 -2
View File
@@ -42,7 +42,7 @@ export const generateMainReadme = async (
<summary>{{emoji}} {{name}}</summary>
{{#each ports}}
- [{{#each name}}{{ this }}{{#unless @last}}, {{/unless}}{{/each}}]({{ path }})
- {{#unless maintained}}🚧 {{/unless}}[{{#each name}}{{ this }}{{#unless @last}}, {{/unless}}{{/each}}]({{ path }})
{{/each}}
</details>
@@ -51,9 +51,10 @@ export const generateMainReadme = async (
return {
emoji: meta.emoji,
name: meta.name,
ports: ports.map(({ name, path }) => {
ports: ports.map(({ name, path, readme }) => {
return {
name: [name].flat(),
maintained: readme["current-maintainers"].length > 0,
path,
};
}),