docs/docusaurus.config.js
PRavaga b0fb0189c1
removed temp data
Signed-off-by: PRavaga <trueravaga@gmail.com>
2023-08-31 18:46:26 +02:00

142 lines
3.5 KiB
JavaScript

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "My Site",
tagline: "Dinosaurs are cool",
favicon: "img/favicon.ico",
url: "https://your-docusaurus-test-site.com",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
// 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: [
[
"classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: "img/docusaurus-social-card.jpg",
navbar: {
title: "Zano Documentation",
logo: {
alt: "Zano Logo",
src: "img/logo.svg",
},
items: [
{
type: "docSidebar",
sidebarId: "learnSidebar",
position: "left",
label: "Learn",
},
{
type: "docSidebar",
sidebarId: "useSidebar",
position: "left",
label: "Use",
},
{
type: "docSidebar",
sidebarId: "buildSidebar",
position: "left",
label: "Build",
},
{
type: "docSidebar",
sidebarId: "mineSidebar",
position: "left",
label: "Mine",
},
{
type: "docSidebar",
sidebarId: "stakeSidebar",
position: "left",
label: "Stake",
},
{
href: "https://github.com/hyle-team/zano",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Tutorial",
to: "/docs/use",
},
],
},
{
title: "Community",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/docusaurus",
},
{
label: "Discord",
href: "https://discordapp.com/invite/docusaurus",
},
{
label: "Twitter",
href: "https://twitter.com/docusaurus",
},
],
},
{
title: "More",
items: [
{
label: "Blog",
to: "/blog",
},
{
label: "GitHub",
href: "https://github.com/facebook/docusaurus",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Zano.org`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
};
module.exports = config;