mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 12:52:31 +02:00
fix(v2): DocSearch should keep working after a new release (#3393)
* We should create an alias for searching last version of docs on DocSearch/Algolia, so that on new version publish, search still works even if new version is not already indexed (https://github.com/facebook/docusaurus/issues/3391) * commit missing snapshot * update after algolia changes * put back facetFilters: [`version:${versions[0]}`] until latest facet is indexed
This commit is contained in:
parent
3ace60043b
commit
9c34f68a7a
7 changed files with 57 additions and 22 deletions
|
@ -15,6 +15,7 @@ declare module '@docusaurus/plugin-content-docs-types' {
|
|||
export type PropVersionMetadata = {
|
||||
version: string;
|
||||
label: string;
|
||||
isLast: boolean;
|
||||
docsSidebars: PropSidebars;
|
||||
permalinkToSidebar: PermalinkToSidebar;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue