Skip to content

Commit

Permalink
docs/add site to docs template
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Sep 24, 2024
1 parent d4b5562 commit fa91603
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Report a bug
description: |
You found a bug in Flutter ShadcnUI causing your application to crash or
throw an exception, a widget is buggy, or something looks wrong.
labels:
- bug
body:
- type: markdown
attributes:
Expand All @@ -11,13 +13,15 @@ body:
If you are looking for support, please check out our documentation
or consider asking a question on Discord:
- https://mariuti.com/shadcn-ui
- https://flutter-shadcn-ui.mariuti.com
- https://discord.gg/ZhRMAPNh5Y
- type: markdown
attributes:
value: |
Before filling the form fields, please consider the following:
- Ensure that you have searched the [existing issues](https://github.com/nank1ro/flutter-shadcn-ui/issues)
The website will be shown in the sidebar of the official documentation which is located at https://flutter-shadcn-ui.mariuti.com
- type: textarea
attributes:
label: Steps to reproduce
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-add-site.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Docs: Add site made with Flutter ShadcnUI"
title: "[Docs] Add site made with Flutter ShadcnUI"
assignees:
- nank1ro
labels:
- documentation
description: |
Use this template to add a site made with Flutter ShadcnUI to the documentation.
body:
- type: markdown
attributes:
value: |
Thank you for using Flutter ShadcnUI!
If you are looking for support, please check out our documentation
or consider asking a question on Discord:
- https://flutter-shadcn-ui.mariuti.com
- https://discord.gg/ZhRMAPNh5Y
- type: markdown
attributes:
value: |
Before filling the form fields, please consider the following:
- Ensure that you have searched the [existing issues](https://github.com/nank1ro/flutter-shadcn-ui/issues)
- type: input
attributes:
label: Site URL
description: Please provide the URL of the site you are adding.
placeholder: https://notescalculator.com
validations:
required: true
- type: input
attributes:
label: Site Name
description: Please provide the name of the site you are adding.
placeholder: Notes Calculator
validations:
required: true
15 changes: 14 additions & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig({
}, {
label: 'pub.dev',
link: 'https://pub.dev/packages/shadcn_ui',
attrs: { target: '_blank' },
attrs: { target: '_blank', rel: 'noopener noreferrer' },
},
{
label: 'Flutter Shadcn UI',
Expand All @@ -52,6 +52,19 @@ export default defineConfig({
},
],
},
{
label: 'Apps created with Flutter Shadcn UI',
collapsed: false,
items: [
{
label: 'Notes Calculator',
link: 'https://notescalculator.com',

attrs: { target: '_blank' },
},
],

}
],
}),
],
Expand Down

0 comments on commit fa91603

Please sign in to comment.