From 2d07cd73f7d71f8e001ea70848b19071f723026b Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Thu, 15 Oct 2020 10:59:58 -0700 Subject: [PATCH] Fix "edit this page" documetation link Fixes #482 --- website/pages/commands/[[...page]].jsx | 7 +++++-- website/pages/docs/[[...page]].jsx | 7 +++++-- website/pages/plugins/[[...page]].jsx | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/website/pages/commands/[[...page]].jsx b/website/pages/commands/[[...page]].jsx index dde5aaaea3f..b21354bafb7 100644 --- a/website/pages/commands/[[...page]].jsx +++ b/website/pages/commands/[[...page]].jsx @@ -1,4 +1,7 @@ -import { productName } from 'data/metadata' +import { + productName, + productSlug, +} from 'data/metadata' import order from 'data/commands-navigation.js' import DocsPage from 'components/temporary_docs-page' import { @@ -12,7 +15,7 @@ function DocsLayout(props) { return (