1 Star 0 Fork 0

BeyondStorage / site

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docusaurus.config.js 7.20 KB
一键复制 编辑 原始数据 按行查看 历史
const navbar = require('./docusaurus.navbar.config');
const footer = require('./docusaurus.footer.config');
module.exports = {
title: 'BeyondStorage',
tagline: 'Beyond Storage ',
url: 'https://beyondstorage.io',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'BeyondStorage',
projectName: 'site',
i18n: {
defaultLocale: 'en-US',
locales: ['en-US', 'zh-CN'],
localeConfigs: {
'en-US': {
label: 'English',
},
'zh-CN': {
label: '简体中文',
},
},
},
onBrokenLinks: 'warn',
customFields: {
},
themeConfig: {
algolia: {
apiKey: 'f4ddbe3ff0762522d5a9a6a75fe0c00c',
indexName: 'beyondstorage',
contextualSearch: true,
searchParameters: {},
},
gtag: {
trackingID: 'G-EKQWL4FN09',
},
prism: {
additionalLanguages: ['toml'],
},
colorMode: {
disableSwitch: true,
},
navbar,
footer,
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./docs/general/sidebars.js'),
path: 'docs/general',
routeBasePath: 'docs/general',
editUrl:
'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
blog: {
path: 'blog',
editUrl:
'https://github.com/beyondstorage/site/edit/master/',
routeBasePath: 'blog',
include: ['*.md', '*.mdx'],
showReadingTime: true,
feedOptions: {
type: 'all',
copyright: `Copyright © ${new Date().getFullYear()} BeyondStorage.`,
},
blogSidebarCount: 'ALL',
blogSidebarTitle: 'All our posts',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'community',
sidebarPath: require.resolve('./community/sidebars.js'),
path: 'community',
routeBasePath: 'community',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'go-storage',
sidebarPath: require.resolve('./docs/go-storage/sidebars.js'),
path: 'docs/go-storage',
routeBasePath: 'docs/go-storage',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'beyond-tp',
sidebarPath: require.resolve('./docs/beyond-tp/sidebars.js'),
path: 'docs/beyond-tp',
routeBasePath: 'docs/beyond-tp',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'beyond-fs',
sidebarPath: require.resolve('./docs/beyond-fs/sidebars.js'),
path: 'docs/beyond-fs',
routeBasePath: 'docs/beyond-fs',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'beyond-ftp',
sidebarPath: require.resolve('./docs/beyond-ftp/sidebars.js'),
path: 'docs/beyond-ftp',
routeBasePath: 'docs/beyond-ftp',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'beyond-ctl',
sidebarPath: require.resolve('./docs/beyond-ctl/sidebars.js'),
path: 'docs/beyond-ctl',
routeBasePath: 'docs/beyond-ctl',
editUrl: 'https://github.com/beyondstorage/site/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
[
'./plugins/plugin-remote-json',
{
path: '/docs',
projects: [
{
name: "go-storage",
path: "/docs/go-storage/index",
json_urls: [
'https://api.github.com/repos/beyondstorage/go-storage',
'https://api.github.com/repos/beyondstorage/go-storage/releases/latest',
],
},
{
name: "BeyondTP",
path: "/docs/beyond-tp/index",
json_urls: [
'https://api.github.com/repos/beyondstorage/beyond-tp',
'https://api.github.com/repos/beyondstorage/beyond-tp/releases/latest',
],
},
{
name: "BeyondCTL",
path: "/docs/beyond-ctl/index",
json_urls: [
'https://api.github.com/repos/beyondstorage/beyond-ctl',
'https://api.github.com/repos/beyondstorage/beyond-ctl/releases/latest',
],
},
{
name: "BeyondFS",
path: "/docs/beyond-fs/index",
json_urls: [
'https://api.github.com/repos/beyondstorage/beyond-fs',
'https://api.github.com/repos/beyondstorage/beyond-fs/releases/latest',
],
},
{
name: "BeyondFTP",
path: "/docs/beyond-ftp/index",
json_urls: [
'https://api.github.com/repos/beyondstorage/beyond-ftp',
'https://api.github.com/repos/beyondstorage/beyond-ftp/releases/latest',
],
},
],
component: '@site/src/components/github-repositories',
},
],
]
};
JavaScript
1
https://gitee.com/beyondstorage/site.git
git@gitee.com:beyondstorage/site.git
beyondstorage
site
site
master

搜索帮助