Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove page and add redirect #1440

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 0 additions & 103 deletions docs/cache/introduction/what-is-serverless-caching.md

This file was deleted.

15 changes: 8 additions & 7 deletions site/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import type { Options } from '@docusaurus/plugin-client-redirects';

// map<from, to>
const REDIRECTS = {
// ## Useful Redirects
// Useful Redirects
'/docs/limits': '/cache/limits',

// ## Relocated Sections
// Relocated Sections
// former top-level pages
'/getting-started': '/cache/getting-started',
'/pricing': 'https://www.gomomento.com/pricing',
Expand Down Expand Up @@ -36,13 +36,13 @@ const REDIRECTS = {
'/topics/webhooks': '/topics/webhooks/overview',
'/topics/develop/patterns/asynchronous-processing': '/topics/patterns/running-background-tasks',

// ## Relocated Pages
// Relocated Pages
'/develop/datatypes': '/cache/develop/basics/datatypes',
'/cache/learn/security/private-link': '/platform/connectivity/private-link',

// caching-with-serverless
'/how-it-works/caching-with-serverless': '/cache/introduction/what-is-serverless-caching',
'/docs/how-it-works/caching-with-serverless': '/cache/introduction/what-is-serverless-caching',
'/how-it-works/caching-with-serverless': 'https://www.gomomento.com/blog/a-platform-for-everyone/',
'/docs/how-it-works/caching-with-serverless': 'https://www.gomomento.com/blog/a-platform-for-everyone/',

// caching-concepts
'/docs/category/caching-concepts': '/cache/introduction/common-caching-patterns',
Expand All @@ -56,19 +56,20 @@ const REDIRECTS = {
'/develop/guides/cheat-sheets/momento-cache-python-cheat-sheet': '/platform/sdks/python/cache',
'/develop/sdks-integrations/deploying-javascript-web-sdk': '/platform/sdks/web',

// ## Dead Pages
// Dead Pages
'/docs/overview': '/',
'/how-it-works': '/',
'/docs/how-it-works': '/',
'/how-it-works/momento-concepts': '/',
'/docs/how-it-works/momento-concepts': '/',
'/cache/introduction/what-is-serverless-caching': 'https://www.gomomento.com/blog/a-platform-for-everyone/',

// guides
'/guides': '/cache',
'/docs/guides': '/cache',
'/guides/caching-with-aws-lambda': '/cache',
'/docs/guides/caching-with-aws-lambda': '/cache',
'/cache/develop/guides/caching-with-aws-lambda': '/cache/introduction/what-is-serverless-caching',
'/cache/develop/guides/caching-with-aws-lambda': 'https://www.gomomento.com/blog/a-platform-for-everyone/',

// remove MVI
'/vector-index': '/',
Expand Down
Loading