feat: migration to fumadocs 14

This commit is contained in:
Mauricio Siu
2024-11-09 21:15:20 -06:00
parent 0dd0161f1e
commit 8267c4a7b6
229 changed files with 22179 additions and 2109 deletions

View File

@@ -1,4 +1,4 @@
import { getLanguages, getPage } from "@/app/source";
import { getLanguages, getPage } from "@/app/source.config";
import { url, baseUrl } from "@/utils/metadata";
import { DocsBody, DocsPage } from "fumadocs-ui/page";
import type { Metadata } from "next";

View File

@@ -5,7 +5,7 @@ import { RootProvider } from "fumadocs-ui/provider";
import { Inter } from "next/font/google";
import type { ReactNode } from "react";
import { baseOptions } from "../layout.config";
import { pageTree } from "../source";
import { pageTree } from "../source.config";
import "../global.css";
import GoogleAnalytics from "@/components/analytics/google";
import {

View File

@@ -1,4 +1,4 @@
import { getPages } from "@/app/source";
import { getPages } from "@/app/source.config";
import { createI18nSearchAPI } from "fumadocs-core/search/server";
import { languages } from "@/i18n";

View File

@@ -1,6 +1,6 @@
import { url } from "@/utils/metadata";
import type { MetadataRoute } from "next";
import { getPages } from "./source";
import { getPages } from "./source.config";
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
return [