From 8e60f4abbbb88610d4166213da87348fd82b706a Mon Sep 17 00:00:00 2001 From: John Knox Date: Wed, 13 May 2020 09:31:07 -0700 Subject: [PATCH] Use href instead of 'to' for external links Summary: 'to' is for internal pages. href is for generic links, and has tweaks such as opening in new tabs and making sure sites work in iframes. Reviewed By: passy Differential Revision: D21550098 fbshipit-source-id: 306dd92378ca721c435b9f4f031136fc421cbb81 --- website/docusaurus.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 86d5942c9..efe9f4ef5 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -46,15 +46,15 @@ const siteConfig = { {label: 'Core Plugins', to: 'docs/features/index'}, { label: 'Community Plugins', - to: 'https://www.npmjs.com/search?q=keywords:flipper-plugin', + href: 'https://www.npmjs.com/search?q=keywords:flipper-plugin', }, ], }, { title: 'More', items: [ - {label: 'Twitter', to: 'https://twitter.com/flipper_fb'}, - {label: 'GitHub', to: repoUrl}, + {label: 'Twitter', href: 'https://twitter.com/flipper_fb'}, + {label: 'GitHub', href: repoUrl}, ], }, ],