2023-09-14 15:08:08 +00:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
const math = require('remark-math')
|
|
|
|
const katex = require('rehype-katex')
|
|
|
|
|
2023-10-04 08:50:44 +00:00
|
|
|
const thisYear = new Date().getFullYear()
|
|
|
|
|
2023-09-14 15:08:08 +00:00
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
|
|
|
title: 'Develp',
|
|
|
|
url: 'https://develp.co/',
|
|
|
|
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} */
|
|
|
|
({
|
2023-09-22 12:14:26 +00:00
|
|
|
customSiteConfig: true,
|
2023-09-22 06:38:18 +00:00
|
|
|
businessUnit: 'Nimbus',
|
2023-09-14 15:08:08 +00:00
|
|
|
theme: {
|
|
|
|
name: 'default',
|
|
|
|
options: {
|
|
|
|
customCss: [require.resolve('./src/css/custom.scss')],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
docs: {
|
|
|
|
id: 'Docs',
|
|
|
|
routeBasePath: '/',
|
|
|
|
// sidebarPath: 'docs/sidebars.js',
|
|
|
|
remarkPlugins: [math],
|
|
|
|
rehypePlugins: [katex],
|
|
|
|
},
|
|
|
|
og: {},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
2023-09-18 08:48:04 +00:00
|
|
|
plugins: [],
|
2023-09-14 15:08:08 +00:00
|
|
|
|
|
|
|
themeConfig:
|
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
|
|
|
|
({
|
|
|
|
navbar: {
|
2023-09-22 06:38:18 +00:00
|
|
|
logo: {
|
|
|
|
alt: 'Develp',
|
|
|
|
src: 'img/logo.svg',
|
|
|
|
srcDark: 'img/logo.svg',
|
|
|
|
},
|
2023-10-04 09:20:07 +00:00
|
|
|
items: [],
|
2023-09-14 15:08:08 +00:00
|
|
|
},
|
|
|
|
footer: {
|
2023-10-04 08:50:44 +00:00
|
|
|
copyright: `Develp @${thisYear}<br/>All Rights Reserved.`,
|
2023-09-14 15:08:08 +00:00
|
|
|
links: [
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Twitter',
|
2023-10-04 08:50:44 +00:00
|
|
|
href: 'https://twitter.com/develpgmbh',
|
2023-09-14 15:08:08 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
2023-10-04 08:50:44 +00:00
|
|
|
label: 'Contact us',
|
|
|
|
href: '/contact-us',
|
2023-09-14 15:08:08 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
|
|
|
|
stylesheets: [
|
|
|
|
{
|
|
|
|
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css',
|
|
|
|
type: 'text/css',
|
|
|
|
integrity:
|
|
|
|
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
|
|
|
|
crossorigin: 'anonymous',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = config
|