Skip to content

Commit

Permalink
docs(v1): external links (#3011)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jun 30, 2020
1 parent 2e055f4 commit 984e2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api-site-config.md
Expand Up @@ -53,8 +53,8 @@ headerLinks: [
{ doc: "doc1", label: "Getting Started" },
// Link to page found at pages/en/help.js or if that does not exist, pages/help.js, for current language
{ page: "help", label: "Help" },
// Links to href destination
{ href: "https://github.com/", label: "GitHub" },
// Links to href destination, using target=_blank (external)
{ href: "https://github.com/", label: "GitHub", external: true },
// Links to blog generated by Docusaurus (${baseUrl}blog)
{ blog: true, label: "Blog" },
// Determines search bar position among links
Expand Down
1 change: 1 addition & 0 deletions website-1.x/siteConfig.js
Expand Up @@ -27,6 +27,7 @@ const siteConfig = {
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
external: true,
},
],
headerIcon: 'img/docusaurus.svg',
Expand Down

0 comments on commit 984e2d4

Please sign in to comment.