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
|
|
|
},
|
2023-12-04 16:21:43 +00:00
|
|
|
generated: {
|
|
|
|
// challenges: {
|
|
|
|
// repoArray: [{ owner: 'status-im', repo: 'bounties' }],
|
|
|
|
// githubAccessToken: process.env.GITHUB_ACCESS_TOKEN,
|
|
|
|
// },
|
|
|
|
jobList: {
|
|
|
|
jobBoard: 'nimbus',
|
|
|
|
},
|
|
|
|
},
|
2023-07-11 13:36:22 +00:00
|
|
|
og: {},
|
2023-06-01 10:37:55 +00:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2023-06-02 16:27:56 +00:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'@docusaurus/plugin-content-docs',
|
|
|
|
{
|
|
|
|
id: 'about',
|
|
|
|
routeBasePath: '/about',
|
|
|
|
path: 'about',
|
2023-12-14 16:54:47 +00:00
|
|
|
breadcrumbs: false,
|
2023-06-02 16:27:56 +00:00
|
|
|
},
|
|
|
|
],
|
2024-02-28 15:30:17 +00:00
|
|
|
// [
|
|
|
|
// '@docusaurus/plugin-content-docs',
|
|
|
|
// {
|
|
|
|
// id: 'docs',
|
|
|
|
// routeBasePath: '/docs',
|
|
|
|
// path: 'docs',
|
|
|
|
// sidebarPath: 'docs/sidebars.js',
|
|
|
|
// },
|
|
|
|
// ],
|
2023-07-17 18:02:36 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
scripts: [
|
|
|
|
{
|
|
|
|
src: 'https://platform.twitter.com/widgets.js',
|
|
|
|
async: true,
|
|
|
|
},
|
2023-06-02 16:27:56 +00:00
|
|
|
],
|
|
|
|
|
2023-06-01 10:37:55 +00:00
|
|
|
themeConfig:
|
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
|
|
|
|
({
|
2023-11-28 13:38:18 +00:00
|
|
|
colorMode: {
|
|
|
|
disableSwitch: false,
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2023-06-01 10:37:55 +00:00
|
|
|
navbar: {
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'search',
|
|
|
|
},
|
|
|
|
{
|
2023-12-15 09:21:21 +00:00
|
|
|
label: 'About Nimbus',
|
2023-06-01 10:37:55 +00:00
|
|
|
to: '/about',
|
|
|
|
},
|
2023-12-15 09:21:21 +00:00
|
|
|
{
|
|
|
|
label: 'Community',
|
|
|
|
to: '/community',
|
|
|
|
},
|
2023-12-20 16:11:29 +00:00
|
|
|
{
|
|
|
|
label: 'Guide',
|
|
|
|
href: 'https://nimbus.guide/',
|
|
|
|
},
|
2023-12-15 09:21:21 +00:00
|
|
|
{
|
|
|
|
label: 'Blog',
|
|
|
|
href: 'https://blog.nimbus.team/',
|
|
|
|
},
|
2023-12-04 16:21:43 +00:00
|
|
|
{
|
|
|
|
label: 'Join Us',
|
|
|
|
href: '/join-us',
|
|
|
|
},
|
2023-06-01 10:37:55 +00:00
|
|
|
{
|
2023-12-04 16:03:50 +00:00
|
|
|
title: 'Nimbus GitHub repository',
|
|
|
|
href: 'https://github.com/status-im/nimbus-eth2',
|
|
|
|
position: 'right',
|
|
|
|
className: 'header-github-link',
|
2023-06-01 10:37:55 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
copyright: 'Nimbus @2023<br/>All Rights Reserved.',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: 'https://twitter.com/ethnimbus',
|
|
|
|
label: 'Twitter',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://discord.gg/EP8DZnXu9y',
|
|
|
|
label: 'Discord',
|
|
|
|
},
|
|
|
|
{
|
2023-06-02 16:27:56 +00:00
|
|
|
href: 'https://github.com/status-im',
|
2023-06-01 10:37:55 +00:00
|
|
|
label: 'Github',
|
2024-02-28 15:30:17 +00:00
|
|
|
},
|
2023-06-01 10:37:55 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
2023-12-21 11:11:17 +00:00
|
|
|
to: '/join-us',
|
|
|
|
label: 'Join us',
|
2023-06-01 10:37:55 +00:00
|
|
|
},
|
2023-12-19 13:58:53 +00:00
|
|
|
{
|
|
|
|
href: 'https://guide.nimbus.team/',
|
2023-12-21 11:11:17 +00:00
|
|
|
label: 'Brand guidelines',
|
2023-12-19 13:58:53 +00:00
|
|
|
},
|
2023-06-01 10:37:55 +00:00
|
|
|
{
|
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
|