mirror of
https://github.com/yinxin630/fiora.git
synced 2026-06-04 21:03:18 +08:00
* Refactor as monorepo * Fix server * Fix client * Fix not fire message event error * Fix CI scripts * Update install doc * Fix bin * Refactored the directory structure to the final version * Fix ts type error * Fix lint error * Fix unit test error * Update .gitignore
118 lines
3.6 KiB
JavaScript
118 lines
3.6 KiB
JavaScript
module.exports = {
|
|
title: 'fiora docs',
|
|
tagline: 'An interesting open source chat application',
|
|
url: 'https://fiora.suisuijiang.com',
|
|
baseUrl: '/fiora/',
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
favicon: 'img/favicon.png',
|
|
organizationName: 'yinxin630', // Usually your GitHub org/user name.
|
|
projectName: 'fiora', // Usually your repo name.
|
|
themeConfig: {
|
|
navbar: {
|
|
title: 'fiora',
|
|
logo: {
|
|
alt: 'Logo',
|
|
src: 'img/favicon.png',
|
|
},
|
|
items: [
|
|
{
|
|
to: 'docs/getting-start',
|
|
activeBasePath: 'docs',
|
|
label: 'Docs',
|
|
position: 'right',
|
|
},
|
|
{
|
|
href: 'https://github.com/yinxin630/fiora',
|
|
label: 'GitHub',
|
|
position: 'right',
|
|
},
|
|
{
|
|
type: 'localeDropdown',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: 'dark',
|
|
links: [
|
|
{
|
|
title: 'Docs',
|
|
items: [
|
|
{
|
|
label: 'Overview',
|
|
to: '/',
|
|
},
|
|
{
|
|
label: 'Getting Start',
|
|
to: 'docs/getting-start',
|
|
},
|
|
{
|
|
label: 'Change Log',
|
|
to: 'docs/changelog',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Community',
|
|
items: [
|
|
{
|
|
label: 'Feedback',
|
|
href:
|
|
'https://fiora.suisuijiang.com/invite/group/5adacdcfa109ce59da3e83d3',
|
|
},
|
|
{
|
|
label: 'Issues',
|
|
href: 'https://github.com/yinxin630/fiora/issues',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'More',
|
|
items: [
|
|
{
|
|
label: 'Author',
|
|
href: 'https://suisuijiang.com',
|
|
},
|
|
{
|
|
label: 'GitHub',
|
|
href: 'https://github.com/yinxin630/fiora',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Copyright © 2015 - ${new Date().getFullYear()} developed by 碎碎酱`,
|
|
},
|
|
colorMode: {
|
|
disableSwitch: true,
|
|
},
|
|
},
|
|
presets: [
|
|
[
|
|
'@docusaurus/preset-classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
// Please change this to your repo.
|
|
editUrl: 'https://github.com/yinxin630/fiora/edit/master/docs/',
|
|
},
|
|
theme: {
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en', 'zh-Hans'],
|
|
localeConfigs: {
|
|
en: {
|
|
label: 'English',
|
|
},
|
|
'zh-Hans': {
|
|
label: '简体中文',
|
|
},
|
|
},
|
|
},
|
|
};
|