2024-07-01 10:29:31 +08:00
|
|
|
import sidebarEn from "./sidebar.en";
|
|
|
|
|
import sidebarZh from "./sidebar.zh";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
|
export default {
|
|
|
|
|
title: "static-php-cli",
|
|
|
|
|
description: "Build single static PHP binary, with PHP project together, with popular extensions included.",
|
|
|
|
|
locales: {
|
|
|
|
|
en: {
|
|
|
|
|
label: 'English',
|
|
|
|
|
lang: 'en',
|
|
|
|
|
themeConfig: {
|
|
|
|
|
nav: [
|
|
|
|
|
{text: 'Guide', link: '/en/guide/',},
|
2024-07-01 15:13:08 +08:00
|
|
|
{text: 'Advanced', link: '/en/develop/'},
|
2024-07-01 10:29:31 +08:00
|
|
|
{text: 'Contributing', link: '/en/contributing/'},
|
|
|
|
|
{text: 'FAQ', link: '/en/faq/'},
|
|
|
|
|
],
|
|
|
|
|
sidebar: sidebarEn,
|
|
|
|
|
footer: {
|
|
|
|
|
message: 'Released under the MIT License.',
|
|
|
|
|
copyright: 'Copyright © 2023-present crazywhalecc'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
zh: {
|
|
|
|
|
label: '简体中文',
|
|
|
|
|
lang: 'zh', // optional, will be added as `lang` attribute on `html` tag
|
|
|
|
|
themeConfig: {
|
|
|
|
|
nav: [
|
|
|
|
|
{text: '构建指南', link: '/zh/guide/'},
|
2024-07-01 15:13:08 +08:00
|
|
|
{text: '进阶', link: '/zh/develop/'},
|
2024-07-01 10:29:31 +08:00
|
|
|
{text: '贡献', link: '/zh/contributing/'},
|
|
|
|
|
{text: 'FAQ', link: '/zh/faq/'},
|
|
|
|
|
],
|
|
|
|
|
sidebar: sidebarZh,
|
|
|
|
|
footer: {
|
|
|
|
|
message: 'Released under the MIT License.',
|
|
|
|
|
copyright: 'Copyright © 2023-present crazywhalecc'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
themeConfig: {
|
|
|
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
|
|
|
nav: [],
|
|
|
|
|
socialLinks: [
|
|
|
|
|
{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.',
|
|
|
|
|
copyright: 'Copyright © 2023-present crazywhalecc'
|
2025-08-31 11:00:44 +08:00
|
|
|
},
|
|
|
|
|
search: {
|
|
|
|
|
provider: 'algolia',
|
|
|
|
|
options: {
|
|
|
|
|
appId: 'IHJHUB1SF1',
|
|
|
|
|
apiKey: '8266d31cc2ffbd0e059f1c6e5bdaf8fc',
|
|
|
|
|
indexName: 'static-php docs',
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-07-01 10:29:31 +08:00
|
|
|
}
|
|
|
|
|
}
|