From 2cb1ce5a2e9e7a7379c9de3296a3b2be11e64a58 Mon Sep 17 00:00:00 2001 From: Yuiham Date: Tue, 30 Jan 2024 17:12:04 +0800 Subject: [PATCH] refactor(gatsby): remove banner (#470) --- gatsby/create-pages.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gatsby/create-pages.ts b/gatsby/create-pages.ts index 42551ae1b..6dd896ffa 100644 --- a/gatsby/create-pages.ts +++ b/gatsby/create-pages.ts @@ -119,7 +119,7 @@ export const createDocs = async ({ }, buildType: (process.env.WEBSITE_BUILD_TYPE ?? "prod") as BuildType, // prod | archive, default is prod; archive is for archive site feature: { - banner: true, + banner: false, feedback: true, }, }, @@ -165,7 +165,7 @@ export const createCloudAPIReference = async ({ }, buildType: (process.env.WEBSITE_BUILD_TYPE ?? "prod") as BuildType, feature: { - banner: true, + banner: false, }, }, }); @@ -265,7 +265,7 @@ export const createDocHome = async ({ }, buildType: (process.env.WEBSITE_BUILD_TYPE ?? "prod") as BuildType, feature: { - banner: true, + banner: false, feedback: false, }, }, @@ -283,7 +283,7 @@ export const createDocSearch = async ({ component: template, context: { feature: { - banner: true, + banner: false, }, }, }); @@ -299,7 +299,7 @@ export const create404 = async ({ component: template, context: { feature: { - banner: true, + banner: false, }, }, });