module.exports = {
title: 'Tech Interview Handbook',
tagline: 'Free curated interview preparation materials for busy people',
url: 'https://www.techinterviewhandbook.org',
baseUrl: '/',
trailingSlash: true,
favicon: 'img/favicon.png',
organizationName: 'yangshun',
projectName: 'tech-interview-handbook',
themeConfig: {
announcementBar: {
id: 'algomonster-1', // Increment on change
content: `Stop grinding mindlessly, study with a plan! Developed by Google engineers,
AlgoMonster is the fastest way to get a software engineering job.
Check it out now!`,
isCloseable: false,
},
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',
},
hideOnScroll: true,
items: [
{
label: 'Start reading',
href: '/software-engineering-interview-guide/',
position: 'left',
},
{
label: 'Coding',
href: '/coding-interview-prep/',
},
{
label: 'Algorithms',
href: '/algorithms/study-cheatsheet',
},
{ label: 'Blog', to: 'blog', position: 'left' },
{
label: 'Grind 75',
href: 'https://www.techinterviewhandbook.org/grind75',
position: 'left',
},
{
label: 'Front End',
href: 'https://www.frontendinterviewhandbook.com',
position: 'left',
},
{
href: 'https://github.com/yangshun/tech-interview-handbook',
position: 'right',
className: 'navbar-icon',
'aria-label': 'GitHub repository',
html: ``,
},
{
href: 'https://discord.gg/usMqNaPczq',
position: 'right',
className: 'navbar-icon',
'aria-label': 'Discord channel',
html: ``,
},
{
href: 'https://t.me/techinterviewhandbook',
position: 'right',
className: 'navbar-icon navbar-icon-telegram',
'aria-label': 'Telegram channel',
html: ``,
},
{
href: 'https://twitter.com/techinterviewhb',
position: 'right',
className: 'navbar-icon navbar-icon-twitter',
'aria-label': 'Twitter page',
html: ``,
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} Tech Interview Handbook. Built with Docusaurus.`,
links: [
{
title: 'General',
items: [
{
label: 'Start reading',
href: '/software-engineering-interview-guide/',
},
{
label: 'Prepare a FAANG-ready resume',
href: '/resume/',
},
{
label: 'Algorithms cheatsheets',
href: '/algorithms/study-cheatsheet',
},
{
label: 'Blog',
href: '/blog',
},
],
},
{
title: 'Interviews',
items: [
{
label: 'Coding interviews',
href: '/coding-interview-prep/',
},
{
label: 'Coding interview study plan',
href: '/coding-interview-study-plan/',
},
{
label: 'System design interviews',
href: '/system-design/',
},
{
label: 'Behavioral interviews',
href: '/behavioral-interview/',
},
],
},
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/yangshun/tech-interview-handbook',
},
{
label: 'Discord',
href: 'https://discord.gg/usMqNaPczq',
},
{
label: 'Telegram',
href: 'https://t.me/techinterviewhandbook',
},
{
label: 'Twitter',
href: 'https://twitter.com/techinterviewhb',
},
],
},
{
title: 'More',
items: [
{
label: 'Grind 75',
href: 'https://www.techinterviewhandbook.org/grind75',
},
{
label: 'Front End Interview Handbook',
href: 'https://www.frontendinterviewhandbook.com',
},
{
label: 'Contact us',
href: 'mailto:contact@techinterviewhandbook.org',
},
{
label: 'Facebook',
href: 'https://www.facebook.com/techinterviewhandbook',
},
],
},
],
},
algolia: {
appId: 'Y09P1J4IPV',
apiKey: 'e12588cbae68d752469921cc46e9cb66',
indexName: 'techinterviewhandbook',
},
docs: {
sidebar: {
hideable: true,
},
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
path: './contents',
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-9F86L298EX',
},
blog: {
blogSidebarCount: 15,
},
},
],
],
plugins: [
[
'@docusaurus/plugin-google-gtag',
{
id: 'universal-analytics',
trackingID: 'UA-44622716-2',
anonymizeIP: true,
},
],
],
};