File tree 3 files changed +4
-20
lines changed
3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,12 @@ module.exports = {
60
60
position : 'right' ,
61
61
} ,
62
62
{
63
- type : 'custom-link' ,
64
- href : 'typedoc/index.html' ,
65
- prependBaseUrlToHref : true ,
63
+ // triple "/", to always be relative to the base-url and not the current url
64
+ to : 'pathname:///typedoc/index.html' ,
66
65
label : 'Typedoc' ,
67
66
position : 'right' ,
67
+ // overwrite default target of "_blank"(new tab)
68
+ target : '_self' ,
68
69
} ,
69
70
{
70
71
href : 'https://github.com/nodkz/mongodb-memory-server/blob/master/CHANGELOG.md' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import OriginalComponentTypes from '@theme-original/NavbarItem/ComponentTypes' ;
2
2
import NavbarVersionsSelector from '../../components/NavbarVersionsSelector' ;
3
3
import NavbarBetaNotice from '../../components/NavbarBetaNotice' ;
4
- import NavbarLinkNoReact from '../../components/NavbarExternalLink' ;
5
4
6
5
const ComponentTypes = {
7
6
...OriginalComponentTypes ,
8
7
'custom-versions-selector' : NavbarVersionsSelector ,
9
8
'custom-beta-notice' : NavbarBetaNotice ,
10
- 'custom-link' : NavbarLinkNoReact ,
11
9
} ;
12
10
export default ComponentTypes ;
You can’t perform that action at this time.
0 commit comments