nomos.tech/docusaurus.config.js

113 lines
2.4 KiB
JavaScript
Raw Normal View History

2023-06-01 10:15:43 +00: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-02 16:48:15 +00:00
url: 'https://nomos.tech',
2023-06-01 10:15:43 +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: 'Nomos',
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
2023-06-02 19:09:54 +00:00
docs: {
default: {
sidebar: {
hide: true,
},
},
},
2023-06-01 10:15:43 +00:00
},
},
docs: {
2023-06-02 16:48:15 +00:00
routeBasePath: '/',
path: 'root-pages',
2023-06-01 10:15:43 +00:00
},
2023-07-11 13:34:39 +00:00
og: {},
2023-06-01 10:15:43 +00:00
}),
],
],
2023-06-02 16:48:15 +00:00
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'about',
routeBasePath: '/about',
path: 'about',
},
],
],
2023-06-01 10:15:43 +00:00
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
navbar: {
items: [
{
type: 'search',
},
{
label: 'About',
to: '/about',
},
2023-06-02 19:09:54 +00:00
{
label: 'Features',
href: '/#features',
},
2023-06-01 10:15:43 +00:00
{
label: 'Github',
2023-06-02 19:09:54 +00:00
href: 'https://github.com/logos-co',
2023-06-01 10:15:43 +00:00
},
],
},
footer: {
copyright: 'Nomos @2023<br/>All Rights Reserved.',
links: [
{
items: [
{
2023-06-13 09:55:25 +00:00
href: 'https://twitter.com/Nomos_tech',
2023-06-01 10:15:43 +00:00
label: 'Twitter',
},
],
},
{
items: [
{
href: 'https://jobs.status.im/',
label: 'Work with us',
},
{
2023-06-02 16:48:15 +00:00
href: '/terms',
2023-06-02 10:00:55 +00:00
label: 'Terms & conditions',
2023-06-01 10:15:43 +00:00
},
],
},
],
},
}),
}
module.exports = config