Skip to content

Commit

Permalink
fix(docs): updated vitepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed Aug 3, 2023
1 parent 50b1b4c commit 4befd53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions packages/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import { defineConfig } from 'vitepress';
export default defineConfig({
title: '@vuetils/form',
description: 'Tiny form valdiation library for vue 3',

lastUpdated: true,
cleanUrls: true,

themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand All @@ -23,9 +27,16 @@ export default defineConfig({
],

socialLinks: [{ icon: 'github', link: 'https://github.com/YannicEl/vue-useForm' }],
},

cleanUrls: true,
editLink: {
pattern: 'https://github.com/YannicEl/vue-useForm/edit/main/packages/docs/:path',
text: 'Edit this page on GitHub',
},

search: {
provider: 'local',
},
},

sitemap: {
hostname: 'https://example.com',
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ hero:
text: Markdown Examples
link: /markdown-examples
- theme: alt
text: API Examples
link: /api-examples
text: View on GitHub
link: https://github.com/YannicEl/vue-useForm

features:
- title: Feature A
Expand Down

0 comments on commit 4befd53

Please sign in to comment.