mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
docs: update vitepress to v1.0.0-alpha.4
This commit is contained in:
parent
c9fb987fcf
commit
906e3e9525
@ -67,99 +67,107 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
lastUpdated: true,
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
logo: "/images/castopod-icon.svg",
|
logo: "/images/castopod-icon.svg",
|
||||||
lastUpdated: "Last Updated",
|
lastUpdatedText: "Last Updated",
|
||||||
repo: "https://code.castopod.org/adaures/castopod",
|
socialLinks: [
|
||||||
docsDir: "docs/src",
|
{ icon: "github", link: "https://github.com/ad-aures/castopod" },
|
||||||
docsBranch: "develop",
|
{ icon: "twitter", link: "https://twitter.com/castopod" },
|
||||||
editLinks: true,
|
{ icon: "discord", link: "https://castopod.org/discord" },
|
||||||
locales: {
|
],
|
||||||
"/": {
|
editLink: {
|
||||||
label: "English",
|
pattern:
|
||||||
selectText: "Languages",
|
"https://code.castopod.org/adaures/castopod/edit/develop/docs/src/:path",
|
||||||
repoLabel: "Source code",
|
|
||||||
nav: [
|
|
||||||
{
|
|
||||||
text: "Home",
|
|
||||||
link: "https://castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Blog",
|
|
||||||
link: "https://blog.castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Github",
|
|
||||||
link: "https://github.com/ad-aures/castopod",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
sidebar: {
|
|
||||||
"/": getGuideSidebarEn(),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"/fr/": {
|
|
||||||
label: "Français",
|
|
||||||
selectText: "Langues",
|
|
||||||
repoLabel: "Code source",
|
|
||||||
nav: [
|
|
||||||
{
|
|
||||||
text: "Accueil",
|
|
||||||
link: "https://castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Blog",
|
|
||||||
link: "https://blog.castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Github",
|
|
||||||
link: "https://github.com/ad-aures/castopod",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
sidebar: {
|
|
||||||
"/": getGuideSidebarFr(),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"/pt-BR/": {
|
|
||||||
label: "Português do Brasil",
|
|
||||||
selectText: "Línguas",
|
|
||||||
repoLabel: "Código fonte",
|
|
||||||
nav: [
|
|
||||||
{
|
|
||||||
text: "Início",
|
|
||||||
link: "https://castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Blogue",
|
|
||||||
link: "https://blog.castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Github",
|
|
||||||
link: "https://github.com/ad-aures/castopod",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
sidebar: { "/pt-BR/": getGuideSidebarPtBR() },
|
|
||||||
},
|
|
||||||
"/nn-NO/": {
|
|
||||||
label: "Norsk nynorsk",
|
|
||||||
selectText: "Språk",
|
|
||||||
repoLabel: "Kildekode",
|
|
||||||
nav: [
|
|
||||||
{
|
|
||||||
text: "Heim",
|
|
||||||
link: "https://castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Blogg",
|
|
||||||
link: "https://blog.castopod.org/",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Github",
|
|
||||||
link: "https://github.com/ad-aures/castopod",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
sidebar: { "/nn-NO/": getGuideSidebarNnNO() },
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
sidebar: getGuideSidebarEn(),
|
||||||
|
// locales: {
|
||||||
|
// "/": {
|
||||||
|
// label: "English",
|
||||||
|
// selectText: "Languages",
|
||||||
|
// repoLabel: "Source code",
|
||||||
|
// nav: [
|
||||||
|
// {
|
||||||
|
// text: "Home",
|
||||||
|
// link: "https://castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Blog",
|
||||||
|
// link: "https://blog.castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Github",
|
||||||
|
// link: "https://github.com/ad-aures/castopod",
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// sidebar: {
|
||||||
|
// "/": getGuideSidebarEn(),
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// "/fr/": {
|
||||||
|
// label: "Français",
|
||||||
|
// selectText: "Langues",
|
||||||
|
// repoLabel: "Code source",
|
||||||
|
// nav: [
|
||||||
|
// {
|
||||||
|
// text: "Accueil",
|
||||||
|
// link: "https://castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Blog",
|
||||||
|
// link: "https://blog.castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Github",
|
||||||
|
// link: "https://github.com/ad-aures/castopod",
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// sidebar: {
|
||||||
|
// "/": getGuideSidebarFr(),
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// "/pt-BR/": {
|
||||||
|
// label: "Português do Brasil",
|
||||||
|
// selectText: "Línguas",
|
||||||
|
// repoLabel: "Código fonte",
|
||||||
|
// nav: [
|
||||||
|
// {
|
||||||
|
// text: "Início",
|
||||||
|
// link: "https://castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Blogue",
|
||||||
|
// link: "https://blog.castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Github",
|
||||||
|
// link: "https://github.com/ad-aures/castopod",
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// sidebar: { "/pt-BR/": getGuideSidebarPtBR() },
|
||||||
|
// },
|
||||||
|
// "/nn-NO/": {
|
||||||
|
// label: "Norsk nynorsk",
|
||||||
|
// selectText: "Språk",
|
||||||
|
// repoLabel: "Kildekode",
|
||||||
|
// nav: [
|
||||||
|
// {
|
||||||
|
// text: "Heim",
|
||||||
|
// link: "https://castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Blogg",
|
||||||
|
// link: "https://blog.castopod.org/",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// text: "Github",
|
||||||
|
// link: "https://github.com/ad-aures/castopod",
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// sidebar: { "/nn-NO/": getGuideSidebarNnNO() },
|
||||||
|
// },
|
||||||
|
// },
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -167,11 +175,11 @@ function getGuideSidebarEn() {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
text: "Introduction",
|
text: "Introduction",
|
||||||
link: "/",
|
items: [{ text: "Welcome", link: "/" }],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Getting started",
|
text: "Getting started",
|
||||||
children: [
|
items: [
|
||||||
{ text: "Install", link: "/getting-started/install" },
|
{ text: "Install", link: "/getting-started/install" },
|
||||||
{ text: "Security", link: "/getting-started/security" },
|
{ text: "Security", link: "/getting-started/security" },
|
||||||
{ text: "Update", link: "/getting-started/update" },
|
{ text: "Update", link: "/getting-started/update" },
|
||||||
@ -179,7 +187,7 @@ function getGuideSidebarEn() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Contributing",
|
text: "Contributing",
|
||||||
children: [
|
items: [
|
||||||
{ text: "Guide", link: "/contributing/guidelines" },
|
{ text: "Guide", link: "/contributing/guidelines" },
|
||||||
{ text: "Dev Setup", link: "/contributing/setup-development" },
|
{ text: "Dev Setup", link: "/contributing/setup-development" },
|
||||||
],
|
],
|
||||||
|
1843
docs/package-lock.json
generated
1843
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tailwindcss": "^3.0.23",
|
"tailwindcss": "^3.1.4",
|
||||||
"vitepress": "^0.22.3"
|
"vitepress": "1.0.0-alpha.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user