File tree Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,12 @@ module.exports = {
6060 position : 'right' ,
6161 } ,
6262 {
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' ,
6665 label : 'Typedoc' ,
6766 position : 'right' ,
67+ // overwrite default target of "_blank"(new tab)
68+ target : '_self' ,
6869 } ,
6970 {
7071 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 11import OriginalComponentTypes from '@theme-original/NavbarItem/ComponentTypes' ;
22import NavbarVersionsSelector from '../../components/NavbarVersionsSelector' ;
33import NavbarBetaNotice from '../../components/NavbarBetaNotice' ;
4- import NavbarLinkNoReact from '../../components/NavbarExternalLink' ;
54
65const ComponentTypes = {
76 ...OriginalComponentTypes ,
87 'custom-versions-selector' : NavbarVersionsSelector ,
98 'custom-beta-notice' : NavbarBetaNotice ,
10- 'custom-link' : NavbarLinkNoReact ,
119} ;
1210export default ComponentTypes ;
You can’t perform that action at this time.
0 commit comments