Skip to content

Commit a294493

Browse files
committed
update navbar
1 parent c714d3d commit a294493

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

docusaurus.config.js

+16-23
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,30 @@ const config = {
7575
// Replace with your project's social card
7676
image: 'img/bpftrace_Full_Logo-Black-Yellow_BG.svg',
7777
navbar: {
78-
title: 'bpftrace docs',
78+
title: 'bpftrace',
7979
logo: {
8080
alt: 'bpftrace Logo',
81-
// replace with bpftrace svg
8281
src: 'img/bpftrace_Icon-Black-Yellow_BG.svg',
82+
href: 'https://bpftrace.org',
83+
target: '_self',
8384
},
8485
items: [
8586
{
86-
to: 'https://bpftrace.org/',
87-
label: 'bpftrace.org',
88-
target: '_self', // open external link in current window
87+
to: `${getLatestVersion()}`,
88+
label: 'Docs',
8989
position: 'left',
9090
},
91+
{
92+
to: '/blog',
93+
label: 'Blog',
94+
position: 'left',
95+
target: '_self',
96+
},
97+
{
98+
href: 'https://github.com/bpftrace/bpftrace/discussions',
99+
label: 'Community Discussions',
100+
position: 'left',
101+
},
91102
{
92103
type: 'docsVersionDropdown',
93104
position: 'right',
@@ -99,24 +110,6 @@ const config = {
99110
},
100111
],
101112
},
102-
footer: {
103-
style: 'dark',
104-
links: [
105-
{
106-
title: 'More',
107-
items: [
108-
{
109-
label: 'Home',
110-
to: 'https://bpftrace.org/',
111-
},
112-
{
113-
label: 'GitHub',
114-
href: 'https://github.com/bpftrace/bpftrace',
115-
},
116-
],
117-
},
118-
],
119-
},
120113
prism: {
121114
theme: prismThemes.github,
122115
darkTheme: prismThemes.dracula,

0 commit comments

Comments
 (0)