// @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: 'Ark', tagline: 'TBD', favicon: 'img/ark-logo.png', url: 'https://dev.arkpill.me', baseUrl: '/', organizationName: 'Ark', projectName: 'dev_portal', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', i18n: { defaultLocale: 'en', locales: ['en'], }, presets: [ [ 'classic', /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/ark-network/edit/master/dev_portal/', }, blog: { showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/ark-network/edit/main/dev_portal/blog/', }, theme: { customCss: require.resolve('./src/css/custom.css'), }, }), ], ], themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ // Replace with your project's social card image: 'img/ark-og-image.png', navbar: { title: 'Developer Portal', logo: { alt: 'Ark Logo', src: 'img/ark-logo.png', srcDark: 'img/ark-logo.png', }, items: [ { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: 'Docs', }, { to: '/blog', label: 'Blog', position: 'left' }, { href: 'https://github.com/ark-network', label: 'GitHub', position: 'right', }, ], }, footer: { links: [ { title: 'DOCS', items: [ { label: 'What Ark is', to: '/docs/specs/index', }, { label: 'Join the Ark', to: '/docs/user/intro', }, { label: 'Create an Ark', to: '/docs/provider/intro', }, ], }, { title: 'COMMUNITY', items: [ { label: 'Stack Exchange', href: 'https://bitcoin.stackexchange.com/questions/tagged/ark', }, { label: 'Twitter', href: 'https://twitter.com/ark-network', }, ], }, { title: 'MORE', items: [ { label: 'Blog', to: '/blog', }, { label: 'GitHub', href: 'https://github.com/ark-network', }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} Ark. Built with Docusaurus.`, }, colorMode: { defaultMode: 'dark', }, prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, }), } module.exports = config