afaik.institute/docusaurus.config.js

99 lines
2.2 KiB
JavaScript
Raw Normal View History

2023-06-06 13:22:28 +00:00
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
2023-07-13 18:31:46 +00:00
// @ts-ignore
2024-05-16 14:18:39 +00:00
require("dotenv").config();
2023-07-13 18:31:46 +00:00
// @ts-ignore
2023-06-06 13:22:28 +00:00
/** @type {import('@docusaurus/types').Config} */
const config = {
2024-05-16 14:18:39 +00:00
title: "Afaik.institute",
url: "https://afaik.institute",
baseUrl: "/",
2023-06-06 13:22:28 +00:00
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: {
2024-05-16 14:18:39 +00:00
defaultLocale: "en",
locales: ["en"],
2023-06-06 13:22:28 +00:00
},
presets: [
[
2024-05-16 14:18:39 +00:00
"@acid-info/logos-docusaurus-preset",
2023-06-06 13:22:28 +00:00
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
({
2024-05-16 14:18:39 +00:00
businessUnit: "Logos",
2023-06-06 13:22:28 +00:00
theme: {
2024-05-16 14:18:39 +00:00
name: "default",
2023-06-06 13:22:28 +00:00
options: {
2024-05-16 14:18:39 +00:00
customCss: [require.resolve("./src/css/custom.scss")],
2023-06-06 13:22:28 +00:00
},
},
docs: {
2024-05-16 14:18:39 +00:00
routeBasePath: "/",
2023-06-06 13:22:28 +00:00
},
}),
],
],
2023-07-13 18:31:46 +00:00
2023-06-06 13:22:28 +00:00
themeConfig:
2024-05-16 14:18:39 +00:00
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
colorMode: {
disableSwitch: true,
defaultMode: "light",
},
navbar: {
hideOnScroll: true,
items: [
{
type: "search",
},
{
label: "Github",
href: "https://github.com/acid-info",
},
],
},
footer: {
copyright: "afaik.institute @2023<br/>All Rights Reserved.",
links: [
{
items: [
{
href: "https://twitter.com/ac1d_info",
label: "Twitter",
},
],
},
{
items: [
{
href: "https://jobs.status.im/",
label: "Work with us",
},
{
href: "/terms",
label: "Terms & conditions",
},
{
href: "/privacy-policy",
label: "Privacy Policy",
},
{
href: "/security",
label: "Security",
},
],
},
],
},
}),
};
2023-06-06 13:22:28 +00:00
2024-05-16 14:18:39 +00:00
module.exports = config;