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 -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,
};
}),