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

87 lines
2.5 KiB

module.exports = {
title: 'Tech Interview Handbook',
tagline: 'Free curated interview preparation materials for busy engineers',
url: 'https://techinterviewhandbook.org',
baseUrl: '/',
trailingSlash: true,
favicon: 'img/favicon.png',
organizationName: 'yangshun',
projectName: 'tech-interview-handbook',
themeConfig: {
announcementBar: {
id: 'announcement-1', // Increment on change
content: `⭐️ Bring your interview skills to the next level with Educative. <a href="https://www.educative.io/explore?search_string=interview&aff=x23W">Join today for a discount!</a> ⭐️`,
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
},
navbar: {
title: 'Tech Interview Handbook',
logo: {
alt: '',
src: 'img/logo.svg',
},
items: [
{href: '/introduction', label: 'Getting Started', position: 'left'},
{to: 'blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/yangshun/tech-interview-handbook',
label: 'GitHub',
position: 'right',
},
{
href: 'https://www.facebook.com/techinterviewhandbook',
label: 'Facebook',
position: 'right',
},
{
href: 'https://twitter.com/yangshunz',
label: 'Twitter',
position: 'right',
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} Yangshun Tay. Built with Docusaurus.`,
},
algolia: {
apiKey: '4dabb055be464346fcb6877f086f08e8',
indexName: 'techinterviewhandbook',
},
metadata: [
{name: 'fo-verify', content: '6993fa63-071e-4d11-8b10-a247c54c6061'},
],
},
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'),
},
gtag: {
trackingID: 'UA-44622716-2',
},
},
],
],
scripts: [
{
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4984084888641317',
crossorigin: 'anonymous',
async: true,
},
],
};