Skip to content

Commit

Permalink
docs: update edit link pattern
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Nov 11, 2024
1 parent ca60053 commit c433e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default defineAppConfig({
codeCopyToast: true,
editLink: {
enable: true,
pattern: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/tree/main/content/:path',
pattern: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/edit/main/content/:path',
text: 'Edit this page',
icon: 'lucide:square-pen',
placement: ['docsFooter', 'toc'],
Expand Down
2 changes: 1 addition & 1 deletion content/3.api/1.configuration/5.edit-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineAppConfig({
main: {
editLink: {
enable: true,
pattern: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/tree/main/content/:path',
pattern: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/edit/main/content/:path',
text: 'Edit this page on GitHub',
icon: 'lucide:square-pen',
placement: ['docsFooter', 'toc'],
Expand Down

0 comments on commit c433e9f

Please sign in to comment.