From 2a2824e976d2097559c0c85f077b1b5b7451a5e8 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Thu, 2 Apr 2020 14:45:10 +0800 Subject: [PATCH] docs(v2): add link to master docs (#2506) --- website/docusaurus.config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 889ca0839b..1017cdc230 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -98,12 +98,15 @@ module.exports = { label: versions[0], to: 'docs/introduction', }, - ].concat( - versions.slice(1).map(version => ({ + ...versions.slice(1).map(version => ({ label: version, to: `docs/${version}/introduction`, })), - ), + { + label: 'Master/Unreleased', + to: 'docs/next/introduction', + }, + ], }, {to: 'blog', label: 'Blog', position: 'left'}, {to: 'showcase', label: 'Showcase', position: 'left'},