From 3cf16ac1f61e3c78ccc37d38a3b74acba061ef10 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Tue, 26 Jan 2021 16:50:58 -0500 Subject: [PATCH] point edit page link to master (#10778) --- website/pages/api-docs/[[...page]].jsx | 1 + website/pages/docs/[[...page]].jsx | 1 + website/pages/guides/[[...page]].jsx | 1 + website/pages/intro/[[...page]].jsx | 1 + 4 files changed, 4 insertions(+) diff --git a/website/pages/api-docs/[[...page]].jsx b/website/pages/api-docs/[[...page]].jsx index 08eab8e58..f32dfef80 100644 --- a/website/pages/api-docs/[[...page]].jsx +++ b/website/pages/api-docs/[[...page]].jsx @@ -15,6 +15,7 @@ export default function ApiDocsLayout(props) { subpath={subpath} order={order} staticProps={props} + mainBranch="master" /> ) } diff --git a/website/pages/docs/[[...page]].jsx b/website/pages/docs/[[...page]].jsx index 59cacbba4..606aba476 100644 --- a/website/pages/docs/[[...page]].jsx +++ b/website/pages/docs/[[...page]].jsx @@ -18,6 +18,7 @@ export default function DocsLayout(props) { subpath={subpath} order={order} staticProps={props} + mainBranch="master" additionalComponents={additionalComponents} /> ) diff --git a/website/pages/guides/[[...page]].jsx b/website/pages/guides/[[...page]].jsx index bcf519f42..418eec446 100644 --- a/website/pages/guides/[[...page]].jsx +++ b/website/pages/guides/[[...page]].jsx @@ -14,6 +14,7 @@ export default function GuidesLayout(props) { product={{ name: productName, slug: productSlug }} subpath={subpath} order={order} + mainBranch="master" staticProps={props} /> ) diff --git a/website/pages/intro/[[...page]].jsx b/website/pages/intro/[[...page]].jsx index 88ac21945..7ab582723 100644 --- a/website/pages/intro/[[...page]].jsx +++ b/website/pages/intro/[[...page]].jsx @@ -14,6 +14,7 @@ export default function GuidesLayout(props) { product={{ name: productName, slug: productSlug }} subpath={subpath} order={order} + mainBranch="master" staticProps={props} /> )