mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
fix(v2): navbar doc item should allow older versions to not contain the target doc, as long as the lastVersion contains it (#4985)
This commit is contained in:
parent
32e76f1cc0
commit
aa176274be
2 changed files with 35 additions and 10 deletions
|
@ -43,6 +43,11 @@ declare module '@docusaurus/plugin-content-docs-types' {
|
|||
export type PropSidebars = {
|
||||
[sidebarId: string]: PropSidebarItem[];
|
||||
};
|
||||
|
||||
export type {
|
||||
GlobalVersion as GlobalDataVersion,
|
||||
GlobalDoc as GlobalDataDoc,
|
||||
} from './types';
|
||||
}
|
||||
|
||||
declare module '@theme/DocItem' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue