Skip to content

Commit 4751cfa

Browse files
authored
docs: add link to main site in navbar DOC-2365 (#8696)
* docs: add link to main site in navbar DOC-2365 * docs: remove the new tab on the logo
1 parent 1c2bcbf commit 4751cfa

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docusaurus.config.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -373,22 +373,13 @@ const config = {
373373
title: "",
374374
logo: {
375375
href: "/",
376-
target: "self",
377376
width: 105,
378377
height: 48,
379378
alt: "Spectro cloud logo",
380379
src: getLightLogoPath(),
381380
srcDark: getDarkLogoPath(),
382381
},
383382
items: [
384-
{
385-
to: "/",
386-
type: "docSidebar",
387-
sidebarId: "docSidebar",
388-
label: "Docs",
389-
position: "left",
390-
activeBaseRegex: "^(?!/api/).*$",
391-
},
392383
{
393384
to: "/tutorials",
394385
type: "docSidebar",
@@ -410,6 +401,12 @@ const config = {
410401
label: "API",
411402
position: "left",
412403
},
404+
{
405+
type: "html",
406+
position: "right",
407+
value:
408+
'<a href="https://spectrocloud.com" target="_blank" rel="noopener noreferrer" aria-label="Go to Spectro Cloud homepage (opens in a new tab)">spectrocloud.com <span aria-hidden="true">↗</span></a>',
409+
},
413410
{
414411
href: "https://github.com/spectrocloud/librarium",
415412
position: "right",

0 commit comments

Comments
 (0)