Skip to content

Commit

Permalink
docs(github): support for various file extensions (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
oritwoen authored Jun 2, 2023
1 parent 2c673f5 commit af65683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/docs/DocsPageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
label="GitHub"
icon="i-simple-icons-github"
color="white"
:to="`https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/${page._dir}/${page.title.replace(' ', '')}.vue`"
:to="`https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/${page._dir}/${page.title.replace(' ', '')}${page.github.suffix || '.vue'}`"
/>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion docs/content/3.forms/8.form-group.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
github: true
github:
suffix: .ts
description: Display a label and additional informations around a form element.
---

Expand Down

0 comments on commit af65683

Please sign in to comment.