import {themes as prismThemes} from 'prism-react-renderer';
const config = {
title: 'otoroshictl',
tagline: 'Manage your Otoroshi clusters with style',
favicon: 'img/otoroshictl-logo.png',
url: 'https://cloud-apim.github.io',
baseUrl: '/otoroshictl',
organizationName: 'cloud-apim', projectName: 'otoroshictl',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
({
docs: {
sidebarPath: './sidebars.js',
},
theme: {
customCss: './src/css/custom.css',
},
}),
],
],
themeConfig:
({
image: 'img/otoroshictl-logo.png',
navbar: {
title: 'otoroshictl',
logo: {
alt: 'otoroshictl Logo',
src: 'img/otoroshictl-logo.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Documentation',
},
{
href: 'https://github.com/cloud-apim/otoroshictl',
label: 'GitHub',
position: 'right',
},
{
label: 'Cloud APIM',
href: 'https://www.cloud-apim.com',
position: 'right',
},
{
href: 'https://blog.cloud-apim.com',
label: 'Cloud APIM Blog',
position: 'right'
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Documentation',
to: '/docs/overview',
},
],
},
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/YRc8WEQU3E',
},
{
label: 'Twitter',
href: 'https://twitter.com/cloudapim',
},
],
},
{
title: 'More',
items: [
{
label: 'Cloud APIM',
href: 'https://www.cloud-apim.com',
},
{
label: 'Blog',
href: 'https://blog.cloud-apim.com',
},
{
label: 'GitHub',
href: 'https://github.com/cloud-apim/otoroshictl',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Cloud APIM Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['bash', 'shell-session' ],
},
}),
};
export default config;