Revert "website/docs: Prepare for monorepo. (#14119)" (#14239)

This reverts commit 5bdef1c4f6.
This commit is contained in:
Marcelo Elizeche Landó
2025-04-24 15:44:13 -04:00
committed by GitHub
parent 98d201d34c
commit df472dd842
61 changed files with 3847 additions and 5852 deletions

View File

@ -14,7 +14,8 @@ import { useDoc } from "@docusaurus/plugin-content-docs/client";
*/
export function useSyntheticTitle(): string | null {
const { metadata, frontMatter, contentTitle } = useDoc();
const shouldRender = !frontMatter.hide_title && typeof contentTitle === "undefined";
const shouldRender =
!frontMatter.hide_title && typeof contentTitle === "undefined";
if (!shouldRender) {
return null;
}