docs: add beta flag in nav and page header

This commit is contained in:
Daniel Lautzenheiser
2023-01-17 08:36:46 -05:00
parent 386a0969dc
commit c4733caf84
7 changed files with 54 additions and 6 deletions

View File

@ -136,6 +136,7 @@ export function fetchDocsContent(): [DocsPage[], DocsGroup[]] {
acc[doc.data.group].push({
title: doc.data.title,
slug: doc.data.slug,
beta: doc.data.beta ?? false,
});
return acc;
}, {} as Record<string, DocsGroupLink[]>);