feat(docs-theme): update changelog link
This commit is contained in:
parent
27a74906ff
commit
2ebb6737c3
@ -68,8 +68,8 @@ const parseMenuItems = (items: any[], lang: string) => {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
title: getTitle(item, lang),
|
|
||||||
...item,
|
...item,
|
||||||
|
title: getTitle(item, lang),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,17 @@ export default {
|
|||||||
'title.zh-CN': '路线图 & 发布',
|
'title.zh-CN': '路线图 & 发布',
|
||||||
'title.TR-TR': 'Sürüm',
|
'title.TR-TR': 'Sürüm',
|
||||||
type: 'group',
|
type: 'group',
|
||||||
children: ['/welcome/release/roadmap', '/welcome/release/index', '/welcome/release/v08-changelog'],
|
children: [
|
||||||
|
'/welcome/release/roadmap',
|
||||||
|
{
|
||||||
|
type: 'item',
|
||||||
|
title: 'Changelog',
|
||||||
|
'title.zh-CN': '更新日志',
|
||||||
|
link: 'https://github.com/nocobase/nocobase/blob/main/CHANGELOG.md',
|
||||||
|
},
|
||||||
|
// '/welcome/release/index',
|
||||||
|
'/welcome/release/v08-changelog',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Community',
|
title: 'Community',
|
||||||
|
@ -47,7 +47,7 @@ const SideMenu: FC<INavbarProps> = ({ theme, mobileMenuCollapsed, location, dark
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Menu.Item disabled={!!item.disabled} eventKey={item.path}>
|
<Menu.Item disabled={!!item.disabled} eventKey={item.path}>
|
||||||
<NavLink to={item.path}>{item.title}</NavLink>
|
{item.link ? <a target={'_blank'} href={item.link}>{item.title}</a> : <NavLink to={item.path}>{item.title}</NavLink>}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user