11import { defineConfig } from 'vitepress' ;
22
3- const env = process . env . NODE_ENV ;
3+ const description =
4+ 'Pongo - like Mongo but on Postgres or SQLite, with strong consistency benefits' ;
45
56// https://vitepress.dev/reference/site-config
67export default defineConfig ( {
7- base : env === 'production' ? '/Pongo/' : ' /',
8+ base : '. /',
89 lang : 'en-GB' ,
910 title : 'Pongo' ,
10- description : 'Event Sourcing made simple' ,
11+ description,
1112 themeConfig : {
1213 logo : '/logo.png' ,
1314 // https://vitepress.dev/reference/default-theme-config
@@ -40,30 +41,26 @@ export default defineConfig({
4041
4142 editLink : {
4243 pattern :
43- 'https://github.com/event-driven-io/Pongo/edit/master /docs/:path' ,
44+ 'https://github.com/event-driven-io/Pongo/edit/main/src /docs/:path' ,
4445 text : 'Suggest changes to this page' ,
4546 } ,
4647
4748 socialLinks : [
48- { icon : 'github' , link : 'https://github.com/event-driven-io/pongo ' } ,
49+ { icon : 'github' , link : 'https://github.com/event-driven-io/Pongo ' } ,
4950 { icon : 'discord' , link : 'https://discord.gg/VzvxR5Rb38' } ,
5051 ] ,
5152 footer : {
5253 copyright : 'Copyright © Oskar Dudycz and contributors.' ,
5354 } ,
5455 } ,
5556 head : [
56- // ['link', { rel: 'apple-touch-icon', type: 'image/png', size: "180x180", href: '/apple-touch-icon.png' }],
57- // ['link', { rel: 'icon', type: 'image/png', size: "32x32", href: '/favicon-32x32.png' }],
58- // ['link', { rel: 'icon', type: 'image/png', size: "16x16", href: '/favicon-16x16.png' }],
59- // ['link', { rel: 'manifest', manifest: '/manifest.json' }],
6057 [ 'meta' , { property : 'og:title' , content : 'Pongo' } ] ,
6158 [ 'meta' , { property : 'og:type' , content : 'website' } ] ,
6259 [
6360 'meta' ,
6461 {
6562 property : 'og:description' ,
66- content : 'Event Sourcing development made simple' ,
63+ content : description ,
6764 } ,
6865 ] ,
6966 [
@@ -77,16 +74,14 @@ export default defineConfig({
7774 'meta' ,
7875 {
7976 property : 'og:url' ,
80- content : 'https://event-driven-io.github.io/pongo ' ,
77+ content : 'https://event-driven-io.github.io/Pongo/ ' ,
8178 } ,
8279 ] ,
83- [ 'meta' , { property : 'twitter:card' , content : 'summary_large_image' } ] ,
84- [ 'meta' , { property : 'twitter:site' , content : 'marten_lib' } ] ,
85- [ 'meta' , { property : 'twitter:creator' , content : 'marten_lib' } ] ,
80+ [ 'meta' , { name : 'twitter:card' , content : 'summary_large_image' } ] ,
8681 [
8782 'meta' ,
8883 {
89- property : 'twitter:image' ,
84+ name : 'twitter:image' ,
9085 content : 'https://event-driven-io.github.io/Pongo/social.png' ,
9186 } ,
9287 ] ,
0 commit comments