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

70 lines
2.0 KiB

module.exports = {
title: 'Tech Interview Handbook',
tagline:
'Carefully curated content to help you ace your next technical interview',
url: 'https://yangshun.github.io',
baseUrl: '/tech-interview-handbook/',
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',
},
links: [
{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',
},
announcementBar: {
id: 'black_lives_matter',
content:
'<div style="font-weight: bold">Black Lives Matter. <a target="_blank" href="https://support.eji.org/give/153413/#!/donation/checkout">Support the Equal Justice Initiative</a></div>',
backgroundColor: '#000',
textColor: '#f5f6f7',
},
},
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'),
},
},
],
],
};