You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tech-interview-handbook/website/docusaurus.config.js

64 lines
1.8 KiB

module.exports = {
title: 'Tech Interview Handbook',
tagline:
'Carefully curated content to help you ace your next technical interview',
url: 'https://techinterviewhandbook.org',
baseUrl: '/',
favicon: 'img/favicon.png',
organizationName: 'yangshun',
projectName: 'tech-interview-handbook',
themeConfig: {
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
},
navbar: {
title: 'Tech Interview Handbook',
logo: {
alt: 'Tech Interview Handbook Logo',
src: 'img/logo.svg',
},
items: [
{to: 'introduction', label: 'Getting Started', position: 'right'},
{to: 'blog', label: 'Blog', position: 'right'},
{
href: 'https://github.com/yangshun/tech-interview-handbook',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} Yangshun Tay. Built with Docusaurus.`,
},
gtag: {
trackingID: 'UA-44622716-2',
},
algolia: {
apiKey: 'bd359779d1c4c71ade6062e8f13f5a83',
indexName: 'yangshun-tech-interview',
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
path: '../contents',
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/yangshun/tech-interview-handbook/edit/master/contents/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
clientModules: [require.resolve('./src/components/SidebarAd')],
};