Skip to content

Commit

Permalink
fix(docusaurus/config): force discord and github navbar links as exte…
Browse files Browse the repository at this point in the history
…rnal (workaround from facebook/docusaurus#3309)

Release-As: 5.1.4
  • Loading branch information
v4violet committed Jun 7, 2022
1 parent 0160712 commit 613d83a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"unused/textures",
"unused/parts",
"unused/audio",
"unused/tools"
"unused/tools",
"docusaurus/config"
]
}
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ config.themeConfig = {
},
items: [
{
href: `/github`,
href: `pathname:///github`,
label: 'GitHub',
position: 'right',
},
{
href: '/discord',
href: 'pathname:///discord',
label: 'Discord',
position: 'right'
},
Expand Down

0 comments on commit 613d83a

Please sign in to comment.