mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs(v1): external links (#3011)
This commit is contained in:
parent
2e055f4ae2
commit
984e2d4598
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ const siteConfig = {
|
|||
{
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
label: 'GitHub',
|
||||
external: true,
|
||||
},
|
||||
],
|
||||
headerIcon: 'img/docusaurus.svg',
|
||||
|
|
|
|||
Loading…
Reference in New Issue