Skip to content
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
1 change: 0 additions & 1 deletion dev/algolia-index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const indexName = option('--index', DEFAULT_INDEX);
const FALLBACK_PRODUCTS = [
{prefix: '/getting-started', product: 'Getting started', section: 'Documentation'},
{prefix: '/how-to', product: 'How-to guides', section: 'Documentation'},
{prefix: '/dotcom', product: 'Sourcegraph.com', section: 'Documentation'},
{prefix: '/releases', product: 'Releases', section: 'Documentation'},
{prefix: '/pricing', product: 'Pricing', section: 'Resources'}
];
Expand Down
13 changes: 0 additions & 13 deletions docs/dotcom/index.mdx

This file was deleted.

11 changes: 0 additions & 11 deletions docs/dotcom/indexing-open-source-code.mdx

This file was deleted.

18 changes: 14 additions & 4 deletions src/data/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3996,10 +3996,6 @@ const redirectsData = [
source: '/code-search/working/search_subexpressions',
destination: '/code-search/working/search-subexpressions'
},
{
source: '/dotcom/indexing_open_source_code',
destination: '/dotcom/indexing-open-source-code'
},
{
source: '/integration/aws_codecommit',
destination: '/integration/aws-codecommit'
Expand Down Expand Up @@ -4343,6 +4339,20 @@ const redirectsData = [
source: '/legacy',
destination: '/releases'
},
// The Sourcegraph.com pages described the public instance and its open
// source index, and are no longer maintained
{
source: '/dotcom',
destination: '/'
},
{
source: '/dotcom/indexing-open-source-code',
destination: '/'
},
{
source: '/dotcom/indexing_open_source_code',
destination: '/'
},
];

const updatedRedirectsData = redirectsData.map(redirect => {
Expand Down
Loading