Skip to content

Commit f34697d

Browse files
authored
change rewrite target for '/graphql/hive' route to new docs (#1871)
* change rewrite target for '/graphql/hive' route to new docs Updating rewrite target to release new docs to production * fix: normalize Hive feed tags to kebab-case to prevent build failure * Deploy Hive Platform Docs to /hive-testing first
1 parent f69d8e2 commit f34697d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/website-router/src/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ export const jsonConfig = {
100100
crisp: { segments: ['hive-website'] },
101101
sitemap: false,
102102
},
103+
'/graphql/hive-testing': {
104+
rewrite: 'hive-platform-docs.theguild.workers.dev',
105+
crisp: { segments: ['hive-website'] },
106+
sitemap: false,
107+
},
103108
'/graphql/gateway': {
104109
redirect: 'https://the-guild.dev/graphql/hive/docs/gateway',
105110
status: 302,

website/lib/all-blogs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const allInternalBlogs = blogFolder
5959
const allExternalBlogs = externalFeed.items.map(item => ({
6060
title: item.title,
6161
description: item.content,
62-
tags: item.categories,
62+
tags: item.categories?.map(tag => tag.replaceAll(' ', '-').toLowerCase()),
6363
authors: [item.creator],
6464
link: item.link,
6565
image: null,

0 commit comments

Comments
 (0)