{"size": 2520, "ext": "js", "max_stars_repo_path": "docs/docusaurus.config.js", "max_stars_repo_name": "Flipping-Utilities/necord", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/docusaurus.config.js", "max_issues_repo_name": "Flipping-Utilities/necord", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/docusaurus.config.js", "max_forks_repo_name": "Flipping-Utilities/necord", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.3146067416, "max_line_length": 261, "alphanum_fraction": 0.6353174603}
// @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/oceanicNext');

/** @type {import("@docusaurus/types").Config} */
const config = {
	title: 'Necord',
	tagline: 'A module for creating Discord bots using NestJS, based on Discord.js',
	url: 'https://necord.org',
	baseUrl: '/',
	onBrokenLinks: 'throw',
	onBrokenMarkdownLinks: 'warn',
	favicon: 'img/favicon.ico',
	organizationName: 'SocketSomeone', // Usually your GitHub org/user name.
	projectName: 'necord', // Usually your repo name.
	titleDelimiter: '-',
	presets: [
		[
			'classic',
			/** @type {import("@docusaurus/preset-classic").Options} */
			{
				docs: {
					sidebarPath: require.resolve('./sidebars.js'),
					editUrl: 'https://github.com/SocketSomeone/necord/tree/master/docs',
					path: 'content',
					routeBasePath: '/',
					showLastUpdateAuthor: true,
					showLastUpdateTime: true,
					remarkPlugins: [
						[require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
					]
				},
				blog: false,
				pages: false,
				theme: {
					customCss: require.resolve('./styles/custom.scss')
				}
			}
		]
	],

	themeConfig:
	/** @type {import("@docusaurus/preset-classic").ThemeConfig} */
		{
			// TODO: Algolia
			announcementBar: {
				content:
					'⭐️ If you like Necord, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/SocketSomeone/necord">GitHub</a>! ⭐️',
			},
			navbar: {
				logo: {
					alt: 'Necord Logo',
					src: 'img/logo.svg'
				},
				items: [
					{
						href: 'https://www.npmjs.com/package/necord',
						position: 'right',
						className: 'header-npm-link',
						'aria-label': 'NPM',
					},
					{
						href: 'https://github.com/SocketSomeone/necord',
						position: 'right',
						className: 'header-github-link',
						'aria-label': 'GitHub repository',
					}
				]
			},
			colorMode: {
				defaultMode: 'light',
				disableSwitch: false,
				respectPrefersColorScheme: true,
			},
			footer: {
				copyright: `Copyright © 2021 - ${new Date().getFullYear()} • Built by <a target="_blank" href="https://github.com/SocketSomeone">Alexey Filippov</a> and <a target="_blank" href="https://github.com/SocketSomeone/necord/graphs/contributors">Others</a> with 💖`
			},
			prism: {
				theme: lightCodeTheme,
				darkTheme: darkCodeTheme
			}
		},
	plugins: ['docusaurus-plugin-sass']
};

module.exports = config;
