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-10 03:27:05 +00:00
|
|
|
businessUnit: "Logos",
|
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-06-06 13:14:30 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
docs: {
|
2023-06-10 03:27:05 +00:00
|
|
|
path: "docs",
|
|
|
|
routeBasePath: "/",
|
2023-06-06 13:14:30 +00:00
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
2023-06-10 03:27:05 +00:00
|
|
|
themes: ["@docusaurus/theme-mermaid"],
|
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} */
|
|
|
|
({
|
|
|
|
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: [
|
|
|
|
{
|
|
|
|
href: "https://twitter.com/acid-info",
|
|
|
|
label: "Twitter",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://discord.gg/<DISCORD_HANDLE>",
|
|
|
|
label: "Discord",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "/",
|
|
|
|
label: "Docs",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://github.com/<GITHUB_HANDLE>",
|
|
|
|
label: "Github",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "/",
|
|
|
|
label: "Contact us",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://jobs.status.im/",
|
|
|
|
label: "Work with us",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "/terms",
|
|
|
|
label: "Terms & conditions",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
};
|
2023-06-06 13:14:30 +00:00
|
|
|
|
2023-06-10 03:27:05 +00:00
|
|
|
module.exports = config;
|