nomos.tech/docusaurus.config.js

141 lines
3.1 KiB
JavaScript
Raw Normal View History

2023-06-01 19:15:43 +09:00
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Nomos',
2023-06-03 01:48:15 +09:00
url: 'https://nomos.tech',
2023-06-01 19:15:43 +09: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: 'Nomos',
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
2023-06-02 22:39:54 +03:30
docs: {
default: {
sidebar: {
hide: true,
},
},
},
2023-06-01 19:15:43 +09:00
},
},
docs: {
2023-09-21 02:18:48 +09:00
breadcrumbs: false,
2023-06-03 01:48:15 +09:00
routeBasePath: '/',
path: 'root-pages',
2023-06-01 19:15:43 +09:00
},
2023-11-16 12:49:11 +00:00
generated: {
jobList: {
jobBoard: 'nomos',
},
},
2023-07-11 17:04:39 +03:30
og: {},
2023-06-01 19:15:43 +09:00
}),
],
],
2023-06-03 01:48:15 +09:00
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'about',
routeBasePath: '/about',
path: 'about',
},
],
],
2023-06-01 19:15:43 +09:00
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
2023-11-28 20:01:03 +09:00
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true,
},
2023-06-01 19:15:43 +09:00
navbar: {
items: [
{
type: 'search',
},
{
2023-09-21 02:18:48 +09:00
label: 'About Nomos',
2023-06-01 19:15:43 +09:00
to: '/about',
},
2023-06-02 22:39:54 +03:30
{
2023-09-21 02:18:48 +09:00
label: 'Community',
to: '/community',
2023-06-02 22:39:54 +03:30
},
2023-11-16 12:49:11 +00:00
{
label: 'Join Us',
to: '/join-us',
},
2023-06-01 19:15:43 +09:00
{
2023-10-06 00:41:03 +09:00
href: 'https://github.com/logos-co/nomos-node',
2023-09-21 02:18:48 +09:00
position: 'right',
className: 'header-github-link',
2023-10-04 18:43:06 +09:00
title: 'Nomos GitHub repository',
2023-06-01 19:15:43 +09:00
},
],
},
footer: {
copyright: 'Nomos @2023<br/>All Rights Reserved.',
links: [
{
items: [
{
2023-06-13 18:55:25 +09:00
href: 'https://twitter.com/Nomos_tech',
2023-06-01 19:15:43 +09:00
label: 'Twitter',
},
2023-07-15 02:23:39 +09:00
{
href: 'https://discord.gg/NYDm83h46b',
label: 'Discord',
},
2023-06-01 19:15:43 +09:00
],
},
{
items: [
{
2024-02-09 13:49:04 +09:00
to: '/join-us',
2023-06-01 19:15:43 +09:00
label: 'Work with us',
},
{
href: 'https://guide.nomos.tech/',
label: 'Brand Guidelines',
},
2023-06-01 19:15:43 +09:00
{
2023-06-03 01:48:15 +09:00
href: '/terms',
2023-06-02 19:00:55 +09:00
label: 'Terms & conditions',
2023-06-01 19:15:43 +09:00
},
2024-02-02 21:31:20 +09:00
{
href: '/privacy-policy',
label: 'Privacy Policy',
},
2023-06-01 19:15:43 +09:00
],
},
],
},
}),
}
module.exports = config