Skip to content

Commit 75b5c8e

Browse files
authored
Fix External link target, TAO/WRY caps, blog link (tauri-apps#888)
1 parent 99fab07 commit 75b5c8e

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

docusaurus.config.js

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const navbarItems = [
5151
{
5252
label: 'Rust (via Docs.rs)',
5353
href: 'https://docs.rs/tauri/1/',
54+
target: '_self',
5455
},
5556
],
5657
},
@@ -72,6 +73,7 @@ const navbarItems = [
7273
{
7374
label: 'Get Involved',
7475
href: 'https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md',
76+
target: '_self',
7577
},
7678
{
7779
label: 'Sponsors',
@@ -81,10 +83,12 @@ const navbarItems = [
8183
{
8284
label: 'Discord',
8385
href: discordUrl,
86+
target: '_self',
8487
},
8588
{
8689
label: 'Awesome Tauri',
8790
href: awesomeTauriUrl,
91+
target: '_self',
8892
},
8993
],
9094
},
@@ -123,6 +127,7 @@ const navbarItems = [
123127
'aria-label': 'GitHub',
124128
position: 'right',
125129
className: 'navbarIcon gitHubIcon',
130+
target: '_self',
126131
},
127132
{
128133
type: 'localeDropdown',
@@ -143,14 +148,17 @@ const footerLinks = [
143148
{
144149
label: 'Tauri',
145150
href: repoUrl,
151+
target: '_self',
146152
},
147153
{
148-
label: 'Tao',
154+
label: 'TAO',
149155
href: 'https://github.com/tauri-apps/tao',
156+
target: '_self',
150157
},
151158
{
152-
label: 'Wry',
159+
label: 'WRY',
153160
href: 'https://github.com/tauri-apps/wry',
161+
target: '_self',
154162
},
155163
],
156164
},
@@ -160,27 +168,31 @@ const footerLinks = [
160168
{
161169
label: 'Mail',
162170
href: 'mailto:[email protected]',
171+
target: '_self',
163172
},
164173
{
165174
label: 'Twitter',
166175
href: 'https://twitter.com/TauriApps',
176+
target: '_self',
167177
},
168178
],
169179
},
170180
{
171181
title: 'Network',
172182
items: [
173183
{
174-
label: 'DevTo Blog',
175-
href: devToUrl,
184+
label: 'Blog',
185+
to: 'blog',
176186
},
177187
{
178188
label: 'OpenCollective',
179189
href: 'https://opencollective.com/tauri',
190+
target: '_self',
180191
},
181192
{
182193
label: 'GitHub',
183194
href: 'https://github.com/tauri-apps',
195+
target: '_self',
184196
},
185197
],
186198
},
@@ -194,10 +206,12 @@ const footerLinks = [
194206
{
195207
label: 'Discord',
196208
href: discordUrl,
209+
target: '_self',
197210
},
198211
{
199212
label: 'Awesome Tauri',
200213
href: awesomeTauriUrl,
214+
target: '_self',
201215
},
202216
],
203217
},

0 commit comments

Comments
 (0)