2023-06-06 13:14:30 +00:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
2023-06-10 03:27:05 +00:00
|
|
|
require("dotenv").config();
|
2023-06-06 13:14:30 +00:00
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
2023-06-10 03:27:05 +00:00
|
|
|
title: "Acid.info",
|
|
|
|
url: "https://acid.info",
|
|
|
|
baseUrl: "/",
|
2023-06-06 13:14:30 +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: {
|
2023-06-10 03:27:05 +00:00
|
|
|
defaultLocale: "en",
|
|
|
|
locales: ["en"],
|
2023-06-06 13:14:30 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
[
|
2023-06-10 03:27:05 +00:00
|
|
|
"@acid-info/logos-docusaurus-preset",
|
2023-06-06 13:14:30 +00:00
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
|
|
|
|
({
|
2023-06-12 10:41:01 +00:00
|
|
|
businessUnit: "Acid.info",
|
2023-06-06 13:14:30 +00:00
|
|
|
theme: {
|
2023-06-10 03:27:05 +00:00
|
|
|
name: "default",
|
2023-06-06 13:14:30 +00:00
|
|
|
options: {
|
2023-06-10 03:27:05 +00:00
|
|
|
customCss: [require.resolve("./src/css/custom.scss")],
|
2023-07-17 12:16:30 +00:00
|
|
|
typography: {
|
|
|
|
genericFontFamily: "monospace",
|
|
|
|
},
|
2023-06-06 13:14:30 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
docs: {
|
2023-07-17 12:16:30 +00:00
|
|
|
routeBasePath: "/",
|
|
|
|
path: "root-pages",
|
2023-06-06 13:14:30 +00:00
|
|
|
},
|
2023-07-11 13:48:30 +00:00
|
|
|
og: {},
|
2023-06-06 13:14:30 +00:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
themeConfig:
|
2023-06-10 03:27:05 +00:00
|
|
|
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
|
|
|
|
({
|
2023-11-28 13:44:05 +00:00
|
|
|
colorMode: {
|
|
|
|
disableSwitch: false,
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2023-06-10 03:27:05 +00:00
|
|
|
navbar: {
|
|
|
|
hideOnScroll: true,
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: "search",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Github",
|
|
|
|
href: "https://github.com/acid-info",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
copyright: "acid.info @2023<br/>All Rights Reserved.",
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
2023-07-26 11:29:26 +00:00
|
|
|
href: "https://twitter.com/ac1d_info",
|
2023-06-10 03:27:05 +00:00
|
|
|
label: "Twitter",
|
|
|
|
},
|
|
|
|
{
|
2023-07-17 12:18:03 +00:00
|
|
|
href: "https://github.com/acid-info",
|
2023-06-10 03:27:05 +00:00
|
|
|
label: "Github",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "https://jobs.status.im/",
|
|
|
|
label: "Work with us",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "/terms",
|
|
|
|
label: "Terms & conditions",
|
|
|
|
},
|
2024-05-16 14:17:39 +00:00
|
|
|
{
|
|
|
|
href: "/privacy-policy",
|
|
|
|
label: "Privacy Policy",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "/security",
|
|
|
|
label: "Security",
|
|
|
|
},
|
2023-06-10 03:27:05 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
};
|
2023-06-06 13:14:30 +00:00
|
|
|
|
2023-06-10 03:27:05 +00:00
|
|
|
module.exports = config;
|