We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20534f7 commit 81af906Copy full SHA for 81af906
gatsby-config.js
@@ -72,7 +72,7 @@ module.exports = {
72
},
73
{
74
matchPath: "/:lang?/search/",
75
- getLanguageFromPath: true,
+ getLanguageFromPath: false,
76
77
78
matchPath: `/:lang?/(${Object.keys(docs.docs).join("|")})/(.*)/`,
gatsby/create-pages.ts
@@ -290,15 +290,6 @@ export const createDocSearch = async ({
290
}: CreatePagesArgs) => {
291
const template = resolve(__dirname, "../src/templates/DocSearchTemplate.tsx");
292
293
- createPage({
294
- path: "/zh/search/",
295
- component: template,
296
- context: {
297
- feature: {
298
- banner: false,
299
- },
300
301
- });
302
createPage({
303
path: "/search/",
304
component: template,
0 commit comments