Files

131 lines
3.0 KiB
JavaScript
Raw Permalink Normal View History

2023-06-06 13:25:27 +03:30
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
/** @type {import('@docusaurus/types').Config} */
const config = {
2023-06-10 12:53:32 +09:00
title: 'Codex',
url: 'https://docs.codex.storage/',
2023-06-06 13:25:27 +03:30
baseUrl: '/',
2023-06-10 12:53:32 +09:00
customFields: {},
markdown: {
mermaid: true,
2023-06-06 13:25:27 +03:30
},
// 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} */
({
2023-06-10 12:53:32 +09:00
businessUnit: 'Codex',
2023-06-06 13:25:27 +03:30
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
2023-06-10 12:53:32 +09:00
docs: {
default: {
sidebar: {
hide: false,
},
},
},
2023-06-06 13:25:27 +03:30
},
},
2023-06-10 12:53:32 +09:00
docs: {
2023-09-21 02:07:47 +09:00
breadcrumbs: false,
2023-06-10 12:53:32 +09:00
routeBasePath: '/',
},
2023-07-17 19:58:01 +03:30
og: {},
2023-06-06 13:25:27 +03:30
}),
],
],
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
2023-06-10 12:53:32 +09:00
({
navbar: {
hideOnScroll: true,
items: [
2023-09-21 02:07:47 +09:00
{
to: '/',
label: 'Guides',
},
{
href: 'https://discord.gg/2NXGrsqmDq',
label: 'Discord',
},
2023-06-10 12:53:32 +09:00
{
type: 'search',
},
2023-09-22 20:32:30 +09:00
{
href: 'https://github.com/codex-storage',
position: 'right',
className: 'header-github-link',
title: 'Waku GitHub repository',
},
2023-06-10 12:53:32 +09:00
],
},
footer: {
copyright: 'Codex @2023<br/>All Rights Reserved.',
links: [
{
items: [
{
href: 'https://twitter.com/Codex_storage',
label: 'Twitter',
},
{
href: 'https://discord.gg/2NXGrsqmDq',
label: 'Discord',
},
{
href: '/',
label: 'Docs',
},
{
href: 'https://github.com/codex-storage',
label: 'Github',
},
],
},
{
items: [
{
href: '/',
label: 'Contact us',
},
{
href: 'https://jobs.status.im/',
label: 'Work with us',
},
{
href: '/terms',
label: 'Terms & conditions',
},
2024-05-16 23:03:48 +09:00
{
href: '/privacy-policy',
label: 'Privacy Policy',
},
{
href: '/security',
label: 'Security',
},
2023-06-10 12:53:32 +09:00
],
},
],
},
}),
2023-06-06 13:25:27 +03:30
}
module.exports = config