import { SearchPlugin } from "vitepress-plugin-search";
import { defineConfig } from "vitepress";
module.exports = {
lang: "en-US",
title: 'The Paper Pilot',
description: 'The Paper Pilot Personal Website',
vite: {
plugins: [
SearchPlugin({
previewLength: 62,
buttonLabel: "Search",
placeholder: "Search website",
allow: [],
ignore: [],
})
],
ssr: {
noExternal: [
'@nolebase/vitepress-plugin-highlight-targeted-heading'
]
}
},
sitemap: {
hostname: 'https://thepaperpilot.org'
},
head: [
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto+Mono:ital,wght@0,400;0,600;1,400&display=swap' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }],
['link', { rel: 'alternate', type: "text/mf2+html", href: '/changelog' }],
['meta', { name: 'og:description', content: 'The Paper Pilot portfolio site' }]
],
lastUpdated: true,
cleanUrls: 'with-subfolders',
themeConfig: {
outline: 'deep',
nav: [
{ text: "Profectus", link: "https://moddingtree.com" },
{ text: "Incremental Social", link: "https://incremental.social" }
],
socialLinks: [
{ icon: "github", link: "https://github.com/thepaperpilot" },
{ icon: "linkedin", link: "https://www.linkedin.com/pub/anthony-lawn/a9/a98/2" },
{ icon: { svg: `` }, link: "https://matrix.to/#/@thepaperpilot:incremental.social" },
{ icon: { svg: `
` }, link: "https://incremental.social/u/thepaperpilot" }
],
sidebar: [
{
text: "Recommended Pages",
items: [
{ text: "My Projects", link: "/garden/my-projects" },
{ text: "Guide to Incrementals", link: "/garden/guide-to-incrementals" },
{ text: "The Small Web", link: "/garden/the-small-web" },
{ text: "Fedi v2", link: "/garden/fedi-v2" },
]
},
{ text: "Changelog", link: "/changelog" }
]
}
}