2023-06-01 10:37:55 +00:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
|
|
|
title: 'Nimbus',
|
2023-06-02 16:27:56 +00:00
|
|
|
url: 'https://nimbus.team/',
|
2023-06-01 10:37:55 +00:00
|
|
|
baseUrl: '/',
|
|
|
|
|
|
|
|
markdown: {
|
|
|
|
mermaid: true,
|
|
|
|
},
|
|
|
|
|
|
|
|
// Even if you don't use internalization, you can use this field to set useful
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
i18n: {
|
|
|
|
defaultLocale: 'en',
|
|
|
|
locales: ['en'],
|
|
|
|
},
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@acid-info/logos-docusaurus-preset',
|
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
|
|
|
|
({
|
|
|
|
businessUnit: 'Nimbus',
|
|
|
|
theme: {
|
|
|
|
name: 'default',
|
|
|
|
options: {
|
|
|
|
customCss: [require.resolve('./src/css/custom.scss')],
|
2023-06-02 19:23:47 +00:00
|
|
|
docs: {
|
|
|
|
default: {
|
|
|
|
sidebar: {
|
|
|
|
hide: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-06-01 10:37:55 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
docs: {
|
2023-06-02 16:27:56 +00:00
|
|
|
routeBasePath: '/',
|
|
|
|
path: 'root-pages',
|
2023-06-01 10:37:55 +00:00
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
themes: ['@docusaurus/theme-mermaid'],
|
|
|
|
|
2023-06-02 16:27:56 +00:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'@docusaurus/plugin-content-docs',
|
|
|
|
{
|
|
|
|
id: 'about',
|
|
|
|
routeBasePath: '/about',
|
|
|
|
path: 'about',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2023-06-01 10:37:55 +00:00
|
|
|
themeConfig:
|
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
|
|
|
|
({
|
|
|
|
navbar: {
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'search',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'About',
|
|
|
|
to: '/about',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Github',
|
|
|
|
href: 'https://github.com/status-im',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
copyright: 'Nimbus @2023<br/>All Rights Reserved.',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: 'https://twitter.com/ethnimbus',
|
|
|
|
label: 'Twitter',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://discord.gg/EP8DZnXu9y',
|
|
|
|
label: 'Discord',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: '/',
|
|
|
|
label: 'Docs',
|
|
|
|
},
|
|
|
|
{
|
2023-06-02 16:27:56 +00:00
|
|
|
href: 'https://github.com/status-im',
|
2023-06-01 10:37:55 +00:00
|
|
|
label: 'Github',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: '/',
|
|
|
|
label: 'Contact us',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://jobs.status.im/',
|
|
|
|
label: 'Work with us',
|
|
|
|
},
|
|
|
|
{
|
2023-06-02 16:27:56 +00:00
|
|
|
href: '/terms',
|
2023-06-02 10:10:45 +00:00
|
|
|
label: 'Terms & conditions',
|
2023-06-01 10:37:55 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = config
|