build: refactor & use handlebars for generate templating (#343)

This commit is contained in:
winston authored and GitHub committed 2023-11-20 02:16:54 +01:00
1 parent b1f864c1c8
commit f48eba6354
23 files changed
+681 -408

No files matched your search

@@ -14,7 +14,7 @@ body:
label: What userstyles are you seeing the problem on?
description: "Don't worry about the `lbl:` prefix, it allows issues to be automatically labeled!"
multiple: true
options: [$PORTS]
options: ["$LABELS"]
validations:
required: true
- type: textarea
@@ -38,4 +38,5 @@ body:
- type: textarea
attributes:
label: Any additional comments?
description: Add any information that hasn't been covered in the previous sections!
description: Add any information that hasn't been covered in the previous sections!
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
+25 -6
View File
@@ -4,13 +4,13 @@
<h3 align="center">
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
$TITLE
Catppuccin for {{#each heading}}<a href="{{ this.url }}">{{ this.title }}</a>{{#unless @last}}, {{/unless}}{{/each}}
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
</h3>
<p align="center">
<a href="https://github.com/catppuccin/userstyles/issues?q=is%3Aissue+is%3Aopen+label%3A$LOWERCASE-PORT"><img src="https://img.shields.io/github/issues/catppuccin/userstyles/$LOWERCASE-PORT?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/$LOWERCASE-PORT/catppuccin.user.css"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/userstyles/issues?q=is%3Aissue+is%3Aopen+label%3A{{ slug }}"><img src="https://img.shields.io/github/issues/catppuccin/userstyles/{{ slug }}?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/{{ slug }}/catppuccin.user.css"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
</p>
<p align="center">
@@ -36,11 +36,30 @@
<img src="assets/mocha.webp"/>
</details>
$USAGE
{{#if usage}}
## Usage
{{{ usage }}}
{{/if}}
$FAQ
{{#if faq}}
## 🙋 FAQ
{{#each faq}}
- Q: {{{ question }}}\
A: {{{ answer }}}
{{/each}}
{{/if}}
$COLLABORATORS
## 💝 Current Maintainer(s)
{{#each collaborators.currentMaintainers}}
- [{{name}}]({{url}})
{{/each}}
{{#if collaborators.pastMaintainers}}
## 💝 Past Maintainer(s)
{{#each collaborators.pastMaintainers}}
- [{{name}}]({{url}})
{{/each}}
{{/if}}
&nbsp;