@@ -81,18 +81,22 @@ const config = {
81
81
// Replace with your project's social card
82
82
image : 'img/bpftrace_Full_Logo-Black-Yellow_BG.svg' ,
83
83
navbar : {
84
- title : 'bpftrace' ,
85
84
logo : {
86
85
alt : 'bpftrace Logo' ,
87
- src : 'img/bpftrace_Icon-Black-Yellow_BG.svg' ,
88
- href : 'https://bpftrace.org' ,
89
- target : '_self' ,
86
+ src : 'img/bpftrace_Full_Logo-Black.svg' ,
90
87
} ,
91
88
items : [
89
+ {
90
+ to : 'https://bpftrace.org/learn' ,
91
+ label : 'Learn' ,
92
+ position : 'left' ,
93
+ } ,
92
94
{
93
95
to : `${ getLatestVersion ( ) } ` ,
94
96
label : 'Docs' ,
97
+ target : '_self' , // open external link in current window
95
98
position : 'left' ,
99
+ className : 'navbar__link--active' ,
96
100
} ,
97
101
{
98
102
to : 'https://bpftrace.org/blog' ,
@@ -102,7 +106,7 @@ const config = {
102
106
} ,
103
107
{
104
108
href : 'https://github.com/bpftrace/bpftrace/discussions' ,
105
- label : 'Community Discussions' ,
109
+ label : 'Discussions' ,
106
110
position : 'left' ,
107
111
} ,
108
112
{
@@ -116,10 +120,60 @@ const config = {
116
120
} ,
117
121
] ,
118
122
} ,
123
+ footer : {
124
+ style : 'dark' ,
125
+ links : [
126
+ {
127
+ title : 'Docs + Tutorials' ,
128
+ items : [
129
+ {
130
+ label : 'Documentation' ,
131
+ to : `${ getLatestVersion ( ) } ` ,
132
+ target : '_self' ,
133
+ } ,
134
+ {
135
+ label : 'One-Liner Introduction Tutorial' ,
136
+ to : 'https://bpftrace.org/tutorial-one-liners' ,
137
+ } ,
138
+ ] ,
139
+ } ,
140
+ {
141
+ title : 'Community' ,
142
+ items : [
143
+ {
144
+ label : 'IRC' ,
145
+ href : 'https://webchat.oftc.net/?nick=&channels=%23bpftrace' ,
146
+ } ,
147
+ {
148
+ label : 'Talks' ,
149
+ href : 'https://bpftrace.org/videos' ,
150
+ } ,
151
+ ] ,
152
+ } ,
153
+ {
154
+ title : 'More' ,
155
+ items : [
156
+ {
157
+ label : 'Blog' ,
158
+ to : 'https://bpftrace.org/blog' ,
159
+ } ,
160
+ {
161
+ label : 'GitHub' ,
162
+ href : 'https://github.com/bpftrace/bpftrace' ,
163
+ } ,
164
+ ] ,
165
+ } ,
166
+ ] ,
167
+ copyright : `Copyright © 2019 Alastair Robertson.` ,
168
+ } ,
119
169
prism : {
120
170
theme : prismThemes . github ,
121
171
darkTheme : prismThemes . dracula ,
122
172
} ,
173
+ colorMode : {
174
+ defaultMode : 'light' ,
175
+ disableSwitch : true ,
176
+ } ,
123
177
} ) ,
124
178
} ;
125
179
0 commit comments