Merge pull request #32 from themesberg/chank1e/develop
feat: docs footer, social, images fix
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import { defineConfig } from 'vitepress'
|
||||||
|
|
||||||
function buildSidebar() {
|
function buildSidebar() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
@@ -63,14 +65,23 @@ function getUtils() {
|
|||||||
* This can be used as an example
|
* This can be used as an example
|
||||||
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js
|
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js
|
||||||
*/
|
*/
|
||||||
export default {
|
export default defineConfig({
|
||||||
title: 'Flowbite Vue 3',
|
title: 'Flowbite Vue 3',
|
||||||
|
lastUpdated: true,
|
||||||
head: [
|
head: [
|
||||||
['link', { rel: "icon", type: "image/svg", href: "/assets/logo.svg"}],
|
['link', { rel: "icon", type: "image/svg", href: "/assets/logo.svg"}],
|
||||||
],
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
docsDir: 'docs',
|
|
||||||
sidebar: buildSidebar(),
|
sidebar: buildSidebar(),
|
||||||
logo: '/assets/logo.svg'
|
logo: '/assets/logo.svg',
|
||||||
|
socialLinks: [
|
||||||
|
{ icon: 'github', link: 'https://github.com/themesberg/flowbite-vue' }
|
||||||
|
],
|
||||||
|
|
||||||
|
footer: {
|
||||||
|
message: 'Released under the MIT License.',
|
||||||
|
copyright: 'Copyright © 2022 themesberg'
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
|
|||||||
511
package-lock.json
generated
511
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -55,12 +55,12 @@
|
|||||||
"tailwindcss": "^3",
|
"tailwindcss": "^3",
|
||||||
"typescript": "^4.7.3",
|
"typescript": "^4.7.3",
|
||||||
"vite": "^2.4.3",
|
"vite": "^2.4.3",
|
||||||
"vitepress": "^1.0.0-alpha.4",
|
|
||||||
"vitest": "^0.16.0",
|
"vitest": "^0.16.0",
|
||||||
"vue-eslint-parser": "^9.0.3",
|
"vue-eslint-parser": "^9.0.3",
|
||||||
"vue-tsc": "^0.30.0"
|
"vue-tsc": "^0.30.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^8.9.1"
|
"@vueuse/core": "^8.9.1",
|
||||||
|
"vitepress": "^1.0.0-alpha.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user