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:
Sébastien Lorber 2021-06-16 13:18:53 +02:00 committed by GitHub
parent 32e76f1cc0
commit aa176274be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 10 deletions

View file

@ -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' {