misc: add redirects

This commit is contained in:
Yangshun
2022-04-08 17:57:28 +08:00
parent 7eccc0db17
commit a6918b297b
23 changed files with 129 additions and 1680 deletions

View File

@ -183,21 +183,4 @@ module.exports = {
},
],
],
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
from: '/coding-round-overview',
to: '/coding-interview',
},
{
from: '/behavioral-round-overview',
to: '/behavioral-interview',
},
],
},
],
],
};

View File

@ -1,107 +1,5 @@
module.exports = {
docs: [
{
Preface: ['introduction', 'landscape'],
},
{
'Step 1: Prepare a FAANG-ready resume': [
'resume/guide',
'resume/ats-proof-template',
'resume/write-effective-content',
'resume/optimize-resume',
'resume/free-tools-to-review-resume',
'resume/final-tips',
],
},
{
type: 'category',
label: 'Step 2: Ace the interview',
collapsed: false,
items: [
{
'Interview formats': [
'interview-formats',
'interview-formats-top-companies',
],
},
'self-introduction',
{
'🔥 Coding interviews': [
'coding-interview',
'picking-a-language',
'study-and-practice',
'best-coding-interview-courses',
'best-practice-questions',
'during-coding-interview',
'cheatsheet',
'coding-signals',
'mock-interviews',
],
},
'system-design',
{
'Behavioral interviews': [
'behavioral-interview',
'star-format',
'behavioral-questions',
'psychological-tricks',
],
},
'questions-to-ask',
],
},
{
'Step 3: Negotiate the best offer': [
'understanding-compensation',
'negotiation',
'negotiation-rules',
],
},
{
'Step 4: Prepare for the job': [
'choosing-between-companies',
'engineering-levels',
// 'team-selection',
],
},
{
'Algorithms cheatsheets': [
'algorithms/study-cheatsheet',
{
Basics: [
'algorithms/array',
'algorithms/string',
'algorithms/sorting-searching',
'algorithms/recursion',
'algorithms/hash-table',
],
'Data structures': [
'algorithms/linked-list',
'algorithms/queue',
'algorithms/stack',
],
'Non-linear data structures': [
'algorithms/tree',
'algorithms/heap',
'algorithms/graph',
'algorithms/trie',
'algorithms/matrix',
'algorithms/interval',
],
Additional: [
'algorithms/binary',
'algorithms/math',
'algorithms/geometry',
'algorithms/dynamic-programming',
],
},
],
},
{
Misc: ['interviewer-cheatsheet'],
},
],
docsRevamp: [
{
type: 'category',
label: 'Introduction',
@ -176,5 +74,8 @@ module.exports = {
'algorithms/geometry',
],
},
{
Misc: ['interviewer-cheatsheet'],
},
],
};

View File

@ -15,5 +15,131 @@
"source": "/grind75/:asset*",
"destination": "https://grind75.vercel.app/grind75/:asset*"
}
],
"redirects": [
{
"source": "/behavioral-questions",
"destination": "/behavioral-interview-questions/"
},
{
"source": "/behavioral-questions/",
"destination": "/behavioral-interview-questions/"
},
{
"source": "/cheatsheet",
"destination": "/coding-interview-best-practices/"
},
{
"source": "/cheatsheet/",
"destination": "/coding-interview-best-practices/"
},
{
"source": "/coding-signals",
"destination": "/coding-interview-rubrics/"
},
{
"source": "/coding-signals/",
"destination": "/coding-interview-rubrics/"
},
{
"source": "/coding-interview",
"destination": "/coding-interview-prep/"
},
{
"source": "/coding-interview/",
"destination": "/coding-interview-prep/"
},
{
"source": "/introduction",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/introduction/",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/psychological-tricks",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/psychological-tricks/",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/picking-a-language",
"destination": "/programming-languages-for-coding-interviews/"
},
{
"source": "/picking-a-language/",
"destination": "/programming-languages-for-coding-interviews/"
},
{
"source": "/questions-to-ask",
"destination": "/final-questions/"
},
{
"source": "/questions-to-ask/",
"destination": "/final-questions/"
},
{
"source": "/resume/:blah*",
"destination": "/resume/"
},
{
"source": "/resume-checklist",
"destination": "/resume/"
},
{
"source": "/resume-checklist/",
"destination": "/resume/"
},
{
"source": "/star-format",
"destination": "/behavioral-interview/"
},
{
"source": "/star-format/",
"destination": "/behavioral-interview/"
},
{
"source": "/interview-formats",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/interview-formats/",
"destination": "/software-engineering-interview-guide/"
},
{
"source": "/coding-round-overview",
"destination": "/coding-interview-prep/"
},
{
"source": "/coding-round-overview/",
"destination": "/coding-interview-prep/"
},
{
"source": "/behavioral-round-overview",
"destination": "/behavioral-interview/"
},
{
"source": "/behavioral-round-overview/",
"destination": "/behavioral-interview/"
},
{
"source": "/during-coding-interview",
"destination": "/coding-interview-best-practices/"
},
{
"source": "/during-coding-interview/",
"destination": "/coding-interview-best-practices/"
},
{
"source": "/algorithms/introduction",
"destination": "/algorithms/study-cheatsheet/"
},
{
"source": "/algorithms/introduction/",
"destination": "/algorithms/study-cheatsheet/"
}
]
}