diff --git a/src/views/docs-view/server.ts b/src/views/docs-view/server.ts index 67adf88f18..b60f05a9f2 100644 --- a/src/views/docs-view/server.ts +++ b/src/views/docs-view/server.ts @@ -452,7 +452,7 @@ export function getStaticGenerationFunctions< }, projectName: projectName || null, versions: - !hideVersionSelector && hasMeaningfulVersions ? validVersions : null, + !hideVersionSelector && hasMeaningfulVersions ? versions : null, } return {