Skip to content

Commit

Permalink
refactor(gatsby): remove banner (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuiham authored Jan 30, 2024
1 parent bc4336b commit 2cb1ce5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gatsby/create-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down Expand Up @@ -165,7 +165,7 @@ export const createCloudAPIReference = async ({
},
buildType: (process.env.WEBSITE_BUILD_TYPE ?? "prod") as BuildType,
feature: {
banner: true,
banner: false,
},
},
});
Expand Down Expand Up @@ -265,7 +265,7 @@ export const createDocHome = async ({
},
buildType: (process.env.WEBSITE_BUILD_TYPE ?? "prod") as BuildType,
feature: {
banner: true,
banner: false,
feedback: false,
},
},
Expand All @@ -283,7 +283,7 @@ export const createDocSearch = async ({
component: template,
context: {
feature: {
banner: true,
banner: false,
},
},
});
Expand All @@ -299,7 +299,7 @@ export const create404 = async ({
component: template,
context: {
feature: {
banner: true,
banner: false,
},
},
});
Expand Down

0 comments on commit 2cb1ce5

Please sign in to comment.