mirror of
https://github.com/BillyOutlast/posthog.com.git
synced 2026-02-04 03:11:21 +01:00
Update hiring process URL to /handbook/people/hiring-process (#1749)
* Update hiring process URL to /handbook/people/hiring-process * Add safe redirects * Improve existing redirect detection * Remove existing redirect * change hiring process URL in sidebar * Update hiring process sidebar text to "Overview" Co-authored-by: PostHog <hey@posthog.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Hiring process
|
||||
sidebarTitle: Overview
|
||||
sidebar: Handbook
|
||||
showTitle: true
|
||||
hideAnchor: true
|
||||
@@ -697,7 +697,12 @@
|
||||
from = "/docs/data-model"
|
||||
to = "/docs/data-model"
|
||||
|
||||
# Added: 2021-08-12
|
||||
[[redirects]]
|
||||
from = "/handbook/people/hiring-process/hiring-process"
|
||||
to = "/handbook/people/hiring-process"
|
||||
|
||||
# Added: 2021-08-12
|
||||
[[redirects]]
|
||||
from = "/docs/self-host/deploy/overview"
|
||||
to = "/docs/self-host/deploy"
|
||||
to = "/docs/self-host"
|
||||
|
||||
@@ -24,7 +24,7 @@ def md_to_mdx(from_path, to_path, new_redirect):
|
||||
return from_path.endswith('.md') and to_path.endswith('.mdx')
|
||||
|
||||
def redirect_exists(from_path, to_path, new_redirect):
|
||||
return new_redirect in local_netlify_config_text
|
||||
return new_redirect.strip() in local_netlify_config_text
|
||||
|
||||
def from_dot_star(from_path, to_path, new_redirect):
|
||||
return from_path == '(.*)'
|
||||
|
||||
@@ -328,7 +328,7 @@
|
||||
"entry": "Hiring Process",
|
||||
"name": "Hiring Process",
|
||||
"items": [
|
||||
"handbook/people/hiring-process/hiring-process",
|
||||
"handbook/people/hiring-process",
|
||||
"handbook/people/hiring-process/design-hiring",
|
||||
"handbook/people/hiring-process/engineering-hiring",
|
||||
"handbook/people/hiring-process/exec-hiring",
|
||||
|
||||
Reference in New Issue
Block a user