feat: docs footer, social, images fix

This commit is contained in:
Alexandr
2022-07-23 16:47:09 +03:00
parent d28902cbbf
commit 67e5fb57a6
3 changed files with 72 additions and 462 deletions

View File

@@ -1,3 +1,5 @@
import { defineConfig } from 'vitepress'
function buildSidebar() {
return [
{
@@ -63,14 +65,23 @@ function getUtils() {
* This can be used as an example
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js
*/
export default {
export default defineConfig({
title: 'Flowbite Vue 3',
lastUpdated: true,
head: [
['link', { rel: "icon", type: "image/svg", href: "/assets/logo.svg"}],
],
themeConfig: {
docsDir: 'docs',
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'
},
},
}
})