From c0137605ae84989abe9508e9e6571e679ec3fa22 Mon Sep 17 00:00:00 2001 From: "tembo-io[bot]" <208362400+tembo-io[bot]@users.noreply.github.com> Date: Sun, 17 Aug 2025 16:08:12 +0000 Subject: [PATCH] refactor: update docs source config --- apps/web/.source/index.ts | 43 +++++------------------------- apps/web/.source/source.config.mjs | 8 +++--- 2 files changed, 11 insertions(+), 40 deletions(-) diff --git a/apps/web/.source/index.ts b/apps/web/.source/index.ts index 6c070d3d..65a962bc 100644 --- a/apps/web/.source/index.ts +++ b/apps/web/.source/index.ts @@ -1,38 +1,7 @@ // @ts-nocheck -- skip type checking -import { _runtime } from 'fumadocs-mdx'; -import * as docs_0 from '../content/docs/faq.mdx?collection=docs&hash=1755417541265'; -import * as docs_1 from '../content/docs/features.mdx?collection=docs&hash=1755417541265'; -import * as docs_2 from '../content/docs/index.mdx?collection=docs&hash=1755417541265'; -import * as _source from '../source.config'; -export const docs = _runtime.docs([{ - info: { - 'path': 'faq.mdx', - 'absolutePath': - '/Users/vinh.nguyenxuan/Developer/learn-by-doing/vtchat/apps/web/content/docs/faq.mdx', - }, - data: docs_0, -}, { - info: { - 'path': 'features.mdx', - 'absolutePath': - '/Users/vinh.nguyenxuan/Developer/learn-by-doing/vtchat/apps/web/content/docs/features.mdx', - }, - data: docs_1, -}, { - info: { - 'path': 'index.mdx', - 'absolutePath': - '/Users/vinh.nguyenxuan/Developer/learn-by-doing/vtchat/apps/web/content/docs/index.mdx', - }, - data: docs_2, -}], [{ - 'info': { - 'path': 'meta.json', - 'absolutePath': - '/Users/vinh.nguyenxuan/Developer/learn-by-doing/vtchat/apps/web/content/docs/meta.json', - }, - 'data': { - 'title': 'Documentation', - 'description': 'Learn how to use our AI chat platform effectively', - }, -}]); +import * as docs_2 from "../content/docs/index.mdx?collection=docs&hash=1755446697168" +import * as docs_1 from "../content/docs/features.mdx?collection=docs&hash=1755446697168" +import * as docs_0 from "../content/docs/faq.mdx?collection=docs&hash=1755446697168" +import { _runtime } from "fumadocs-mdx" +import * as _source from "../source.config" +export const docs = _runtime.docs([{ info: {"path":"faq.mdx","absolutePath":"/workspace/repo-282c5a60-45c7-4d94-bbca-4041f081a67e/apps/web/content/docs/faq.mdx"}, data: docs_0 }, { info: {"path":"features.mdx","absolutePath":"/workspace/repo-282c5a60-45c7-4d94-bbca-4041f081a67e/apps/web/content/docs/features.mdx"}, data: docs_1 }, { info: {"path":"index.mdx","absolutePath":"/workspace/repo-282c5a60-45c7-4d94-bbca-4041f081a67e/apps/web/content/docs/index.mdx"}, data: docs_2 }], [{"info":{"path":"meta.json","absolutePath":"/workspace/repo-282c5a60-45c7-4d94-bbca-4041f081a67e/apps/web/content/docs/meta.json"},"data":{"title":"Documentation","description":"Learn how to use our AI chat platform effectively"}}]) \ No newline at end of file diff --git a/apps/web/.source/source.config.mjs b/apps/web/.source/source.config.mjs index 7632aff5..ae67114f 100644 --- a/apps/web/.source/source.config.mjs +++ b/apps/web/.source/source.config.mjs @@ -1,6 +1,8 @@ // source.config.ts -import { defineDocs } from 'fumadocs-mdx/config'; +import { defineDocs } from "fumadocs-mdx/config"; var docs = defineDocs({ - dir: 'content/docs', + dir: "content/docs" }); -export { docs }; +export { + docs +};