2022-02-19 16:06:11 +00:00
import { defineConfig } from "vitepress" ;
export default defineConfig ( {
title : "Castopod docs" ,
description :
2022-02-19 19:09:11 +00:00
"Check out the Castopod documentation! Install your own free & open-source podcast host, help make it better by contributing, or simply learn more about Castopod!" ,
2022-02-19 16:06:11 +00:00
srcDir : "src" ,
head : [
[ "link" , { rel : "icon" , type : "image/x-icon" , href : "/favicon.ico" } ] ,
2022-02-19 19:09:11 +00:00
[ "link" , { rel : "canonical" , href : "https://docs.castopod.org/" } ] ,
[ "meta" , { name : "robots" , content : "index, follow" } ] ,
[ "meta" , { property : "og:type" , content : "website" } ] ,
[
"meta" ,
{
property : "og:image" ,
content : "https://docs.castopod.org/images/open-graph.jpg" ,
} ,
] ,
[ "meta" , { property : "og:image:type" , content : "image/jpeg" } ] ,
[ "meta" , { property : "og:image:width" , content : "1200" } ] ,
[ "meta" , { property : "og:image:height" , content : "630" } ] ,
2022-02-19 16:06:11 +00:00
[
"meta" ,
{
2022-02-19 19:09:11 +00:00
property : "og:image:alt" ,
content :
"Castopod mascot waving hello and hoding a browser showcasing the Castopod documentation." ,
2022-02-19 16:06:11 +00:00
} ,
] ,
2022-02-19 19:09:11 +00:00
[ "meta" , { property : "og:url" , content : "https://docs.castopod.org/" } ] ,
[ "meta" , { name : "twitter:site" , content : "@castopod" } ] ,
[ "meta" , { name : "twitter:card" , content : "summary_large_image" } ] ,
[ "meta" , { name : "twitter:creator" , content : "@ad_aures" } ] ,
2022-02-19 16:06:11 +00:00
[
"script" ,
{
defer : "defer" ,
"data-domain" : "docs.castopod.org" ,
src : "https://analytics.castopod.org/js/plausible.js" ,
} ,
] ,
] ,
themeConfig : {
2022-02-19 19:09:11 +00:00
logo : "/images/castopod-icon.svg" ,
lastUpdated : "Last Updated" ,
2022-02-20 13:23:57 +00:00
repo : "https://code.castopod.org/adaures/castopod" ,
2022-02-19 19:09:11 +00:00
docsDir : "docs/src" ,
docsBranch : "develop" ,
editLinks : true ,
2022-02-19 16:06:11 +00:00
nav : [
{
text : "Home" ,
link : "https://castopod.org/" ,
} ,
{
text : "Blog" ,
link : "https://blog.castopod.org/" ,
} ,
{
text : "Github" ,
link : "https://github.com/ad-aures/castopod" ,
} ,
] ,
sidebar : {
"/" : getGuideSidebar ( ) ,
} ,
} ,
} ) ;
function getGuideSidebar() {
return [
{
text : "Introduction" ,
link : "/" ,
} ,
{
text : "Getting started" ,
children : [
{ text : "Install" , link : "/getting-started/install" } ,
{ text : "Security" , link : "/getting-started/security" } ,
{ text : "Update" , link : "/getting-started/update" } ,
] ,
} ,
{
text : "Contributing" ,
children : [
{ text : "Guide" , link : "/contributing/guidelines" } ,
{ text : "Dev Setup" , link : "/contributing/setup-development" } ,
] ,
} ,
] ;
}