Files
static-php-cli/docs/.vitepress/config.ts

85 lines
2.4 KiB
TypeScript
Raw Normal View History

import sidebarEn from "./sidebar.en";
import sidebarZh from "./sidebar.zh";
// https://vitepress.dev/reference/site-config
export default {
2026-04-19 11:49:55 +08:00
title: "StaticPHP",
description: "A powerful tool designed for building portable executables including PHP, extensions, and more.",
locales: {
en: {
label: 'English',
lang: 'en',
themeConfig: {
nav: [
2026-04-19 11:49:55 +08:00
{ text: 'Guide', link: '/en/guide/' },
{ text: 'Develop', link: '/en/develop/' },
{ text: 'Contributing', link: '/en/contributing/' },
{ text: 'FAQ', link: '/en/faq/' },
{
text: 'v3 (alpha)',
items: [
{ text: 'v3 (alpha)', link: '/en/' },
2026-04-20 14:19:39 +08:00
{ text: 'v2', link: 'https://static-php.github.io/v2-docs/' },
2026-04-19 11:49:55 +08:00
],
},
],
sidebar: sidebarEn,
footer: {
message: 'Released under the MIT License.',
2026-04-19 11:49:55 +08:00
copyright: 'Copyright © 2023-present crazywhalecc',
},
},
},
zh: {
label: '简体中文',
2026-04-19 11:49:55 +08:00
lang: 'zh',
themeConfig: {
nav: [
2026-04-19 11:49:55 +08:00
{ text: '构建指南', link: '/zh/guide/' },
{ text: '开发者', link: '/zh/develop/' },
{ text: '贡献', link: '/zh/contributing/' },
{ text: 'FAQ', link: '/zh/faq/' },
{
text: 'v3 (alpha)',
items: [
{ text: 'v3 (alpha)', link: '/zh/' },
2026-04-20 14:19:39 +08:00
{ text: 'v2', link: 'https://static-php.github.io/v2-docs/' },
2026-04-19 11:49:55 +08:00
],
},
],
sidebar: sidebarZh,
footer: {
message: 'Released under the MIT License.',
2026-04-19 11:49:55 +08:00
copyright: 'Copyright © 2023-present crazywhalecc',
},
},
2026-04-19 11:49:55 +08:00
},
},
themeConfig: {
2025-10-28 18:56:18 +08:00
logo: '/images/static-php_nobg.png',
nav: [],
socialLinks: [
2026-04-19 11:49:55 +08:00
{ icon: 'github', link: 'https://github.com/crazywhalecc/static-php-cli' },
2025-06-30 21:41:48 +08:00
],
footer: {
message: 'Released under the MIT License.',
2026-04-19 11:49:55 +08:00
copyright: 'Copyright © 2023-present crazywhalecc',
2025-08-31 11:00:44 +08:00
},
2026-04-19 18:01:56 +08:00
externalLinkIcon: true,
2025-08-31 11:00:44 +08:00
search: {
provider: 'algolia',
options: {
appId: 'IHJHUB1SF1',
apiKey: '8266d31cc2ffbd0e059f1c6e5bdaf8fc',
indexName: 'static-php docs',
2026-04-19 11:49:55 +08:00
askAi: {
assistantId: 'b72369b2-60a5-461d-902c-5c18d8c05902',
agentStudio: true,
sidePanel: true,
},
2025-08-31 11:00:44 +08:00
},
},
2026-04-19 11:49:55 +08:00
},
}
2026-04-19 11:49:55 +08:00