From 2bc543852e61df4dc7fdd3f71baf30751185e174 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Thu, 14 Dec 2017 19:30:57 -0800 Subject: [PATCH] Fix documentation link in help.js However, we need to come up with a way to have /docs/ redirect correctly --- website/pages/en/help.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/pages/en/help.js b/website/pages/en/help.js index d6ac659b71..06bafc3bf9 100755 --- a/website/pages/en/help.js +++ b/website/pages/en/help.js @@ -6,12 +6,10 @@ */ const React = require("react"); - const CompLibrary = require("../../core/CompLibrary.js"); const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; - -// const siteConfig = require(process.cwd() + "/siteConfig.js"); +const siteConfig = require(process.cwd() + "/siteConfig.js"); class Help extends React.Component { render() { @@ -19,7 +17,7 @@ class Help extends React.Component { { title: "Browse the docs", content: - "Learn more about Docusaurus using the [official documentation](/docs/).", + `Learn more about Docusaurus using the [official documentation](${siteConfig.baseUrl}docs/${this.props.language}/installation.html).`, }, { title: "Twitter",