Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 137 additions & 135 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const tailwindPlugin = require("./plugins/postcss-tailwind-loader.js");

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand All @@ -15,6 +16,7 @@ const config = {
favicon: 'img/favicon.ico',
organizationName: 'IvorySQL', // Usually your GitHub org/user name.
projectName: 'ivory-www', // Usually your repo name.
plugins: [tailwindPlugin],

presets: [
[
Expand Down Expand Up @@ -49,144 +51,144 @@ const config = {

/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
style: 'dark',
// navbar: {
// style: 'dark',

title: 'IvorySQL',
logo: {
alt: 'IvorySQL Logo',
src: 'img/ivory.png',
},
// title: 'IvorySQL',
// logo: {
// alt: 'IvorySQL Logo',
// src: 'img/ivory.png',
// },

items: [
{
label: 'Docs',
href: 'https://docs.IvorySQL.org',
position: 'left'
},
{
to: '/blog',
label: 'Blog',
position: 'left'
},
{
label: 'Installation',
href: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.2/v3.2/3#quick-installation',
position: 'left'
},
{
label: 'Downloads',
href: 'https://github.com/IvorySQL/IvorySQL/releases',
position: 'left'
},
{
label: 'Releases',
to: '/releases-page',
position: 'left'
},
{
type: 'dropdown',
position: 'left',
label: 'Resources',
items: [
{
label: 'Webinars',
to: '/webinars-page',
},
{
label: 'Partners',
to: '/partners-page',
},
{
label: 'Customer Stories',
href: 'customer-stories-page',
},
{
label: 'Contribution Guidelines',
to: '/contribution-guidelines',
},
]
},
// items: [
// {
// label: 'Docs',
// href: 'https://docs.IvorySQL.org',
// position: 'left'
// },
// {
// to: '/blog',
// label: 'Blog',
// position: 'left'
// },
// {
// label: 'Installation',
// href: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.2/v3.2/3#quick-installation',
// position: 'left'
// },
// {
// label: 'Downloads',
// href: 'https://github.com/IvorySQL/IvorySQL/releases',
// position: 'left'
// },
// {
// label: 'Releases',
// to: '/releases-page',
// position: 'left'
// },
// {
// type: 'dropdown',
// position: 'left',
// label: 'Resources',
// items: [
// {
// label: 'Webinars',
// to: '/webinars-page',
// },
// {
// label: 'Partners',
// to: '/partners-page',
// },
// {
// label: 'Customer Stories',
// href: 'customer-stories-page',
// },
// {
// label: 'Contribution Guidelines',
// to: '/contribution-guidelines',
// },
// ]
// },

//Right Side Items
{
label: 'Community',
to: '/community-page',
position: 'right'
},
{
href: 'https://gitee.com/IvorySQL/',
label: 'Gitee',
position: 'right',
},
{
href: 'https://github.com/IvorySQL/IvorySQL',
label: 'GitHub',
position: 'right',
},
{
type: 'localeDropdown',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Docs',
href: 'https://docs.IvorySQL.org',
},
],
},
{
title: 'Community',
items: [
{
label: 'Hackers mailing list',
href: 'https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/',
},
{
label: 'Users mailing list',
href: 'https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/',
},
{
label: 'Mailing Lists',
href: 'https://lists.IvorySQL.org',
},
{
label: 'Twitter',
href: 'https://twitter.com/IvorySQL',
},
],
},
{
title: 'More',
items: [
{
label: 'IvorySQL GitHub',
href: 'https://github.com/IvorySQL/IvorySQL',
},
{
label: 'IvorySQL Gitee',
href: 'https://gitee.com/IvorySQL/',
},
{
label: 'IvorySQL YUM',
href: 'https://yum.highgo.ca/ivorysql.html',
},
{
label: 'Report an issue',
href: 'https://github.com/IvorySQL/IvorySQL/issues/new/choose',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} IvorySQL.`,
},
// //Right Side Items
// {
// label: 'Community',
// to: '/community-page',
// position: 'right'
// },
// {
// href: 'https://gitee.com/IvorySQL/',
// label: 'Gitee',
// position: 'right',
// },
// {
// href: 'https://github.com/IvorySQL/IvorySQL',
// label: 'GitHub',
// position: 'right',
// },
// {
// type: 'localeDropdown',
// position: 'right',
// },
// ],
// },
// footer: {
// style: 'dark',
// links: [
// {
// title: 'Docs',
// items: [
// {
// label: 'Docs',
// href: 'https://docs.IvorySQL.org',
// },
// ],
// },
// {
// title: 'Community',
// items: [
// {
// label: 'Hackers mailing list',
// href: 'https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/',
// },
// {
// label: 'Users mailing list',
// href: 'https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/',
// },
// {
// label: 'Mailing Lists',
// href: 'https://lists.IvorySQL.org',
// },
// {
// label: 'Twitter',
// href: 'https://twitter.com/IvorySQL',
// },
// ],
// },
// {
// title: 'More',
// items: [
// {
// label: 'IvorySQL GitHub',
// href: 'https://github.com/IvorySQL/IvorySQL',
// },
// {
// label: 'IvorySQL Gitee',
// href: 'https://gitee.com/IvorySQL/',
// },
// {
// label: 'IvorySQL YUM',
// href: 'https://yum.highgo.ca/ivorysql.html',
// },
// {
// label: 'Report an issue',
// href: 'https://github.com/IvorySQL/IvorySQL/issues/new/choose',
// },
// ],
// },
// ],
// copyright: `Copyright © ${new Date().getFullYear()} IvorySQL.`,
// },
colorMode: {
defaultMode: 'light',
disableSwitch: true,
Expand Down
86 changes: 86 additions & 0 deletions i18n/zh-CN/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,5 +407,91 @@
},
"Participants will receive exclusive IvorySQL-branded peripherals as a token of appreciation.": {
"message": "参与即可获得精美周边"
},
"Docs": {
"message": "文档",
"description": "Navbar item with label Docs"
},
"Community": {
"message": "社区",
"description": "Navbar item with label Community"
},
"Download": {
"message": "下载",
"description": "Navbar item with label Download"
},
"GitHub": {
"message": "GitHub",
"description": "Navbar item with label GitHub"
},
"Resources": {
"message": "资源",
"description": "Navbar item with label Resources"
},
"Contribution Guidelines": {
"message": "贡献准则",
"description": "Navbar item with label Contribution Guidelines"
},
"Report an issue": {
"message": "提交问题",
"description": "Navbar item with label Report an issue"
},
"IvorySQL GitHub": {
"message": "IvorySQL GitHub",
"description": "Navbar item with label IvorySQL GitHub"
},
"Mailing Lists": {
"message": "邮件列表",
"description": "Navbar item with label Mailing Lists"
},
"Downloads": {
"message": "下载",
"description": "Navbar item with label Downloads"
},
"Installation": {
"message": "安装",
"description": "Navbar item with label Installation"
},
"Blog": {
"message": "博客",
"description": "Navbar item with label Blog"
},
"Releases": {
"message": "发布",
"description": "Navbar item with label Releases"
},
"Gitee": {
"message": "Gitee",
"description": "Navbar item with label Gitee"
},
"Webinars": {
"message": "网络研讨会",
"description": "Navbar item with label Webinars"
},
"Partners": {
"message": "合作伙伴",
"description": "Navbar item with label Partners"
},
"Partners of IvorySQL": {
"message": "IvorySQL的合作伙伴",
"description": "Navbar item with label Partners des"
},
"Customer Stories": {
"message": "客户故事",
"description": "Navbar item with label Customer Stories"
},
"Guide how to contribulte to the IvorySQL on Github": {
"message": "指导您如何在Github上贡献代码"
},
"Join online discussions or training sessions, sharing audio, documents, or slides": {
"message": "参加在线讨论或培训课程,共享音频、文件或PPT"
},
"Hackers mailing list": {
"message": "Hackers邮件列表",
"description": "The label of footer link with label=Hackers mailing list linking to https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/"
},
"Users mailing list": {
"message": "用户邮件列表",
"description": "The label of footer link with label=Users mailing list linking to https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/"
}
}
Loading