fumadocs-core 16.9.2 → 16.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{advanced-BCAHgGV0.js → advanced-BJ-uurHJ.js} +1 -1
- package/dist/{algolia-Dy_nhfqJ.d.ts → algolia-CfRm9dj6.d.ts} +1 -1
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.js +2 -2
- package/dist/{build-doc-CqRdmOMh.js → build-doc-DHR7rjs9.js} +2 -2
- package/dist/{client-CjDMTbRr.d.ts → client-CIcYfa2I.d.ts} +3 -3
- package/dist/content/mdx/preset-bundler.d.ts +7 -7
- package/dist/content/mdx/preset-bundler.js +1 -1
- package/dist/content/mdx/preset-runtime.d.ts +7 -7
- package/dist/content/mdx/preset-runtime.js +1 -1
- package/dist/content/toc.d.ts +1 -1
- package/dist/framework/waku.js +3 -6
- package/dist/highlight/client.js +1 -1
- package/dist/highlight/index.js +1 -1
- package/dist/highlight/shiki/full.d.ts +1 -1
- package/dist/highlight/shiki/index.d.ts +1 -1
- package/dist/highlight/shiki/index.js +1 -1
- package/dist/highlight/shiki/react.d.ts +2 -2
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/middleware.d.ts +1 -1
- package/dist/i18n/middleware.js +2 -2
- package/dist/{index-D36IQyWl.d.ts → index-BLKQLw5Y.d.ts} +1 -1
- package/dist/{index-C7Im4R_D2.d.ts → index-BPRluZaH2.d.ts} +20 -18
- package/dist/{index-CFaAAU5K.d.ts → index-CrF56b4C.d.ts} +1 -1
- package/dist/{index-L7sAY8Os.d.ts → index-aTQav1VD.d.ts} +1 -1
- package/dist/{loader-AC1aN-MX.js → loader-CfOmE00t.js} +4 -4
- package/dist/mdx-plugins/codeblock-utils.d.ts +1 -1
- package/dist/mdx-plugins/index.d.ts +18 -18
- package/dist/mdx-plugins/index.js +2 -2
- package/dist/mdx-plugins/rehype-code.core.d.ts +2 -2
- package/dist/mdx-plugins/rehype-code.core.js +1 -1
- package/dist/mdx-plugins/rehype-code.d.ts +3 -3
- package/dist/mdx-plugins/rehype-code.js +1 -1
- package/dist/mdx-plugins/rehype-toc.d.ts +1 -1
- package/dist/mdx-plugins/rehype-toc.js +1 -1
- package/dist/mdx-plugins/remark-admonition.d.ts +1 -1
- package/dist/mdx-plugins/remark-admonition.js +1 -1
- package/dist/mdx-plugins/remark-block-id.js +1 -1
- package/dist/mdx-plugins/remark-code-tab.d.ts +1 -1
- package/dist/mdx-plugins/remark-directive-admonition.d.ts +1 -1
- package/dist/mdx-plugins/remark-feedback-block.d.ts +1 -1
- package/dist/mdx-plugins/remark-feedback-block.js +1 -1
- package/dist/mdx-plugins/remark-gfm.d.ts +1 -1
- package/dist/mdx-plugins/remark-heading.d.ts +1 -1
- package/dist/mdx-plugins/remark-heading.js +1 -1
- package/dist/mdx-plugins/remark-image.d.ts +1 -1
- package/dist/mdx-plugins/remark-image.js +2 -2
- package/dist/mdx-plugins/remark-llms.d.ts +1 -1
- package/dist/mdx-plugins/remark-llms.js +1 -1
- package/dist/mdx-plugins/remark-llms.runtime.d.ts +1 -1
- package/dist/mdx-plugins/remark-mdx-files.d.ts +1 -1
- package/dist/mdx-plugins/remark-mdx-mermaid.d.ts +1 -1
- package/dist/mdx-plugins/remark-npm.d.ts +1 -1
- package/dist/mdx-plugins/remark-npm.js +1 -1
- package/dist/mdx-plugins/remark-steps.d.ts +1 -1
- package/dist/mdx-plugins/remark-steps.js +1 -1
- package/dist/mdx-plugins/remark-structure.d.ts +1 -1
- package/dist/mdx-plugins/remark-structure.js +1 -1
- package/dist/mdx-plugins/stringifier.d.ts +1 -1
- package/dist/mdx-plugins/transformer-icon.d.ts +1 -1
- package/dist/negotiation/index.js +1 -1
- package/dist/{negotiation-CvOwibYZ.js → negotiation-C6hn0LRz.js} +1 -1
- package/dist/page-tree/index.d.ts +2 -2
- package/dist/page-tree/index.js +1 -1
- package/dist/{path-CPgAF5cw.js → path-DOciLMb0.js} +1 -1
- package/dist/{rehype-code-x0ZobImp.d.ts → rehype-code-BNJw67V5.d.ts} +1 -1
- package/dist/{rehype-code.core-DejBJh_Q.js → rehype-code.core-BIWwPy31.js} +2 -2
- package/dist/{rehype-code.core--x00T7TS.d.ts → rehype-code.core-DPdd_Lza.d.ts} +3 -3
- package/dist/{remark-heading-D2b5W0U-.d.ts → remark-heading-Z2FTpR_r.d.ts} +1 -1
- package/dist/{remark-llms-Djf4WpEV.d.ts → remark-llms-CDadKewV.d.ts} +1 -1
- package/dist/{remark-structure-D5lZwhf5.d.ts → remark-structure-DmVL5OkT.d.ts} +1 -1
- package/dist/{remove-markdown-D6zqr8cg.js → remove-markdown-C0IY_Ks_.js} +1 -1
- package/dist/search/algolia.d.ts +1 -1
- package/dist/search/client/algolia.d.ts +1 -1
- package/dist/search/client/fetch.d.ts +1 -1
- package/dist/search/client/flexsearch-static.d.ts +1 -1
- package/dist/search/client/flexsearch-static.js +1 -1
- package/dist/search/client/mixedbread.d.ts +1 -1
- package/dist/search/client/mixedbread.js +2 -2
- package/dist/search/client/orama-cloud-legacy.d.ts +1 -1
- package/dist/search/client/orama-cloud-legacy.js +1 -1
- package/dist/search/client/orama-cloud.d.ts +1 -1
- package/dist/search/client/orama-cloud.js +1 -1
- package/dist/search/client/orama-static.d.ts +1 -1
- package/dist/search/client/orama-static.js +1 -1
- package/dist/search/client.d.ts +1 -1
- package/dist/search/flexsearch.d.ts +4 -4
- package/dist/search/flexsearch.js +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/mixedbread.d.ts +2 -2
- package/dist/search/mixedbread.js +3 -3
- package/dist/search/orama-cloud-legacy.d.ts +1 -1
- package/dist/search/orama-cloud.d.ts +1 -1
- package/dist/search/server.d.ts +1 -1
- package/dist/search/server.js +3 -3
- package/dist/{server-DkUTyWt-.d.ts → server-CqcelklO.d.ts} +5 -5
- package/dist/source/client/index.d.ts +1 -1
- package/dist/source/client/index.js +1 -1
- package/dist/source/dynamic.d.ts +1 -1
- package/dist/source/dynamic.js +15 -12
- package/dist/source/index.d.ts +2 -2
- package/dist/source/index.js +3 -3
- package/dist/source/llms.d.ts +1 -1
- package/dist/source/plugins/lucide-icons.d.ts +1 -1
- package/dist/source/plugins/lucide-icons.js +1 -1
- package/dist/source/plugins/slugs.d.ts +1 -1
- package/dist/source/plugins/slugs.js +1 -1
- package/dist/source/plugins/status-badges.d.ts +2 -2
- package/dist/toc.d.ts +1 -1
- package/dist/toc.js +1 -1
- package/dist/utils/use-on-change.js +1 -1
- package/package.json +7 -7
- /package/dist/{chunk-CYJPkc-J.js → chunk-B-1-B7_t.js} +0 -0
- /package/dist/{codeblock-utils-Cu2hs3HP.d.ts → codeblock-utils-B5pyK6c4.d.ts} +0 -0
- /package/dist/{definitions-DQRPsvc7.d.ts → definitions-DsPo5rZj.d.ts} +0 -0
- /package/dist/{dist-Deq67Kq0.js → dist-DrR2d46_.js} +0 -0
- /package/dist/{endpoint-CAUHRXte.js → endpoint-MyoBU5IC.js} +0 -0
- /package/dist/{fromFile-BO-SGwwS.js → fromFile-DoNs4YiN.js} +0 -0
- /package/dist/{icon-BbWo08Fw.js → icon-BILaoXeg.js} +0 -0
- /package/dist/{index-Dw5cCt-A.d.ts → index-BVVgDSdq.d.ts} +0 -0
- /package/dist/{index-Yi-xJspv.d.ts → index-CS7BaeTa.d.ts} +0 -0
- /package/dist/{index-iV26Yxbg.d.ts → index-CyNuiwqp.d.ts} +0 -0
- /package/dist/{is-equal-DiHmw70P.js → is-equal-LdLqRs0o.js} +0 -0
- /package/dist/{normalize-url-J3kqKlu4.js → normalize-url-BprQXHOP.js} +0 -0
- /package/dist/{rehype-toc-S6N-sHdy.d.ts → rehype-toc-Buwh9Bkg.d.ts} +0 -0
- /package/dist/{remark-admonition-CgSEZPK6.d.ts → remark-admonition-B6b741tI.d.ts} +0 -0
- /package/dist/{remark-code-tab-d-IsnJUp.d.ts → remark-code-tab-C_xwrYzr.d.ts} +0 -0
- /package/dist/{remark-directive-admonition-B2K0zXhU.d.ts → remark-directive-admonition-D6bcy8ye.d.ts} +0 -0
- /package/dist/{remark-feedback-block-l4uW7jta.d.ts → remark-feedback-block-DlbKlNCS.d.ts} +0 -0
- /package/dist/{remark-gfm-Cv2b95uW.d.ts → remark-gfm-DpVfAX1x.d.ts} +0 -0
- /package/dist/{remark-image-CLCoFL38.d.ts → remark-image-DGq11tUk.d.ts} +0 -0
- /package/dist/{remark-mdx-files-ulgvmf4K.d.ts → remark-mdx-files-D1GnBf_K.d.ts} +0 -0
- /package/dist/{remark-mdx-mermaid-CcK-F03B.d.ts → remark-mdx-mermaid-B-Vm8iOc.d.ts} +0 -0
- /package/dist/{remark-npm-BWvHn4O3.js → remark-npm-D9zsrUVt.js} +0 -0
- /package/dist/{remark-npm-DRJJDIR0.d.ts → remark-npm-DWgfdohc.d.ts} +0 -0
- /package/dist/{remark-steps-Q_rsCX_o.d.ts → remark-steps-DVaztRzR.d.ts} +0 -0
- /package/dist/{remove-undefined-CTqT55E9.js → remove-undefined-Cxnv4ZZs.js} +0 -0
- /package/dist/{stringifier-beK5yGbT.d.ts → stringifier-D5Bi8lxA.d.ts} +0 -0
- /package/dist/{toc-De7dlxnI.d.ts → toc-BISwwvZ_.d.ts} +0 -0
- /package/dist/{transformer-icon-DxbdvNM7.d.ts → transformer-icon-6kKIDVYa.d.ts} +0 -0
- /package/dist/{types-FiLV8L2L.d.ts → types-D89QoQR-.d.ts} +0 -0
- /package/dist/{util-Ds0K_QFY.d.ts → util-BiDGK90k.d.ts} +0 -0
- /package/dist/{util-DKxlHpW7.js → util-DjBr9b3w.js} +0 -0
- /package/dist/{utils-CkDkYuX8.js → utils-Bvy3V-fv.js} +0 -0
- /package/dist/{utils-tAukrbtB.js → utils-D2T58c9w.js} +0 -0
- /package/dist/{utils-BFW0mEx9.js → utils-Dn9VIXRN.js} +0 -0
- /package/dist/{utils-pSG8hSr9.js → utils-Yx0IL9eW.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as toMdxExport } from "../utils-
|
|
1
|
+
import { i as toMdxExport } from "../utils-Yx0IL9eW.js";
|
|
2
2
|
import { remarkHeading } from "./remark-heading.js";
|
|
3
3
|
import { defaultStringifier as defaultStringifier$1 } from "./stringifier.js";
|
|
4
4
|
import { remark } from "remark";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StringifyOptions, r as defaultStringifier, t as Stringifier } from "../stringifier-
|
|
1
|
+
import { n as StringifyOptions, r as defaultStringifier, t as Stringifier } from "../stringifier-D5Bi8lxA.js";
|
|
2
2
|
export { Stringifier, StringifyOptions, defaultStringifier };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as IconOptions, r as transformerIcon, t as CodeBlockIcon } from "../transformer-icon-
|
|
1
|
+
import { n as IconOptions, r as transformerIcon, t as CodeBlockIcon } from "../transformer-icon-6kKIDVYa.js";
|
|
2
2
|
export { CodeBlockIcon, IconOptions, transformerIcon };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isMarkdownPreferred, r as rewritePath, t as getNegotiator } from "../negotiation-
|
|
1
|
+
import { n as isMarkdownPreferred, r as rewritePath, t as getNegotiator } from "../negotiation-C6hn0LRz.js";
|
|
2
2
|
export { getNegotiator, isMarkdownPreferred, rewritePath };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as Separator, i as Root, n as Item, r as Node, t as Folder } from "../definitions-
|
|
2
|
-
import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../index-
|
|
1
|
+
import { a as Separator, i as Root, n as Item, r as Node, t as Folder } from "../definitions-DsPo5rZj.js";
|
|
2
|
+
import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../index-aTQav1VD.js";
|
|
3
3
|
export { Folder, Item, Node, Root, Separator, findNeighbour, findParent, findPath, findSiblings, flattenTree, getPageTreePeers, getPageTreeRoots, visit };
|
package/dist/page-tree/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../utils-
|
|
1
|
+
import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../utils-Dn9VIXRN.js";
|
|
2
2
|
export { findNeighbour, findParent, findPath, findSiblings, flattenTree, getPageTreePeers, getPageTreeRoots, visit };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as flattenNodeHast } from "./utils-
|
|
2
|
-
import { n as defaultThemes, r as getRequiredThemes } from "./utils-
|
|
1
|
+
import { n as flattenNodeHast } from "./utils-Yx0IL9eW.js";
|
|
2
|
+
import { n as defaultThemes, r as getRequiredThemes } from "./utils-D2T58c9w.js";
|
|
3
3
|
import { parseCodeBlockAttributes } from "./mdx-plugins/codeblock-utils.js";
|
|
4
4
|
import { transformerIcon } from "./mdx-plugins/transformer-icon.js";
|
|
5
5
|
import { visit } from "unist-util-visit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as IconOptions } from "./transformer-icon-
|
|
2
|
-
import { t as Awaitable } from "./types-
|
|
3
|
-
import { n as ShikiFactory } from "./index-
|
|
1
|
+
import { n as IconOptions } from "./transformer-icon-6kKIDVYa.js";
|
|
2
|
+
import { t as Awaitable } from "./types-D89QoQR-.js";
|
|
3
|
+
import { n as ShikiFactory } from "./index-CrF56b4C.js";
|
|
4
4
|
import { Processor, Transformer } from "unified";
|
|
5
5
|
import { Element, Root } from "hast";
|
|
6
6
|
import { BuiltinLanguage, BuiltinTheme, CodeOptionsMeta, CodeOptionsThemes, CodeToHastOptionsCommon, HighlighterCore, LanguageInput, ShikiTransformer, TransformerOptions } from "shiki";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as StringifyOptions } from "./stringifier-
|
|
1
|
+
import { n as StringifyOptions } from "./stringifier-D5Bi8lxA.js";
|
|
2
2
|
import { MdxJsxFlowElement, MdxJsxTextElement } from "mdast-util-mdx";
|
|
3
3
|
import { Info, State } from "mdast-util-to-markdown";
|
|
4
4
|
import { Processor, Transformer } from "unified";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as StringifyOptions$1, t as Stringifier$1 } from "./stringifier-
|
|
1
|
+
import { n as StringifyOptions$1, t as Stringifier$1 } from "./stringifier-D5Bi8lxA.js";
|
|
2
2
|
import { MdxJsxAttribute, MdxJsxExpressionAttribute, MdxJsxFlowElement, MdxJsxTextElement } from "mdast-util-mdx";
|
|
3
3
|
import { PluggableList, Processor, Transformer } from "unified";
|
|
4
4
|
import { Nodes, Root } from "mdast";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "./chunk-
|
|
1
|
+
import { t as __commonJSMin } from "./chunk-B-1-B7_t.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/remove-markdown@0.6.4/node_modules/remove-markdown/index.js
|
|
3
3
|
var require_remove_markdown = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
4
|
module.exports = function(md, options) {
|
package/dist/search/algolia.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as sync, i as setIndexSettings, n as DocumentRecord, o as updateDocuments, r as SyncOptions, t as BaseIndex } from "../algolia-
|
|
1
|
+
import { a as sync, i as setIndexSettings, n as DocumentRecord, o as updateDocuments, r as SyncOptions, t as BaseIndex } from "../algolia-CfRm9dj6.js";
|
|
2
2
|
export { BaseIndex, DocumentRecord, SyncOptions, setIndexSettings, sync, updateDocuments };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { m as algoliaClient, p as AlgoliaOptions } from "../../client-
|
|
1
|
+
import { m as algoliaClient, p as AlgoliaOptions } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { AlgoliaOptions, algoliaClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as FetchOptions, v as fetchClient } from "../../client-
|
|
1
|
+
import { _ as FetchOptions, v as fetchClient } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { FetchOptions, fetchClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as flexsearchStaticClient, i as FlexsearchStaticOptions } from "../../client-
|
|
1
|
+
import { a as flexsearchStaticClient, i as FlexsearchStaticOptions } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { FlexsearchStaticOptions, flexsearchStaticClient };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as search, t as createDocument } from "../../utils-
|
|
1
|
+
import { n as search, t as createDocument } from "../../utils-Bvy3V-fv.js";
|
|
2
2
|
//#region src/search/client/flexsearch-static.ts
|
|
3
3
|
function initDocument(data) {
|
|
4
4
|
const document = createDocument();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as mixedbreadClient, o as MixedbreadOptions, s as SearchMetadata } from "../../client-
|
|
1
|
+
import { c as mixedbreadClient, o as MixedbreadOptions, s as SearchMetadata } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { MixedbreadOptions, SearchMetadata, mixedbreadClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as __toESM } from "../../chunk-
|
|
2
|
-
import { t as require_remove_markdown } from "../../remove-markdown-
|
|
1
|
+
import { r as __toESM } from "../../chunk-B-1-B7_t.js";
|
|
2
|
+
import { t as require_remove_markdown } from "../../remove-markdown-C0IY_Ks_.js";
|
|
3
3
|
import Slugger from "github-slugger";
|
|
4
4
|
//#region src/search/client/mixedbread.ts
|
|
5
5
|
var import_remove_markdown = /* @__PURE__ */ __toESM(require_remove_markdown(), 1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as OramaCloudLegacyOptions, u as oramaCloudLegacyClient } from "../../client-
|
|
1
|
+
import { l as OramaCloudLegacyOptions, u as oramaCloudLegacyClient } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { OramaCloudLegacyOptions, oramaCloudLegacyClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContentHighlighter } from "../index.js";
|
|
2
|
-
import { t as removeUndefined } from "../../remove-undefined-
|
|
2
|
+
import { t as removeUndefined } from "../../remove-undefined-Cxnv4ZZs.js";
|
|
3
3
|
//#region src/search/client/orama-cloud-legacy.ts
|
|
4
4
|
function oramaCloudLegacyClient(options) {
|
|
5
5
|
const { index = "default", client, params: extraParams = {}, tag } = options;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as OramaCloudOptions, f as oramaCloudClient } from "../../client-
|
|
1
|
+
import { d as OramaCloudOptions, f as oramaCloudClient } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { OramaCloudOptions, oramaCloudClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContentHighlighter } from "../index.js";
|
|
2
|
-
import { t as removeUndefined } from "../../remove-undefined-
|
|
2
|
+
import { t as removeUndefined } from "../../remove-undefined-Cxnv4ZZs.js";
|
|
3
3
|
//#region src/search/client/orama-cloud.ts
|
|
4
4
|
function oramaCloudClient(options) {
|
|
5
5
|
const { index = "default", client, params: extraParams, tag } = options;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as oramaStaticClient, h as StaticOptions } from "../../client-
|
|
1
|
+
import { g as oramaStaticClient, h as StaticOptions } from "../../client-CIcYfa2I.js";
|
|
2
2
|
export { StaticOptions, oramaStaticClient };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as searchSimple, t as searchAdvanced } from "../../advanced-
|
|
1
|
+
import { n as searchSimple, t as searchAdvanced } from "../../advanced-BJ-uurHJ.js";
|
|
2
2
|
import { create, load } from "@orama/orama";
|
|
3
3
|
//#region src/search/client/orama-static.ts
|
|
4
4
|
const cache = /* @__PURE__ */ new Map();
|
package/dist/search/client.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as FetchOptions, d as OramaCloudOptions, h as StaticOptions, n as SearchClient, p as AlgoliaOptions, r as useDocsSearch, t as ClientPreset } from "../client-
|
|
1
|
+
import { _ as FetchOptions, d as OramaCloudOptions, h as StaticOptions, n as SearchClient, p as AlgoliaOptions, r as useDocsSearch, t as ClientPreset } from "../client-CIcYfa2I.js";
|
|
2
2
|
export { AlgoliaOptions, ClientPreset, FetchOptions, OramaCloudOptions, SearchClient, StaticOptions, useDocsSearch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Awaitable } from "../types-
|
|
2
|
-
import { n as I18nConfig } from "../index-
|
|
3
|
-
import { m as SharedIndex, n as SearchAPI, t as QueryOptions } from "../server-
|
|
4
|
-
import {
|
|
1
|
+
import { t as Awaitable } from "../types-D89QoQR-.js";
|
|
2
|
+
import { n as I18nConfig } from "../index-CyNuiwqp.js";
|
|
3
|
+
import { m as SharedIndex, n as SearchAPI, t as QueryOptions } from "../server-CqcelklO.js";
|
|
4
|
+
import { x as LoaderOutput, y as LoaderConfig } from "../index-BPRluZaH2.js";
|
|
5
5
|
import { DocumentData, DocumentOptions } from "flexsearch";
|
|
6
6
|
|
|
7
7
|
//#region src/search/server/build-doc.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createEndpoint } from "../endpoint-
|
|
2
|
-
import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-
|
|
3
|
-
import { n as search, t as createDocument } from "../utils-
|
|
1
|
+
import { t as createEndpoint } from "../endpoint-MyoBU5IC.js";
|
|
2
|
+
import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-DHR7rjs9.js";
|
|
3
|
+
import { n as search, t as createDocument } from "../utils-Bvy3V-fv.js";
|
|
4
4
|
import Search from "flexsearch";
|
|
5
5
|
//#region src/search/flexsearch.ts
|
|
6
6
|
function server(options) {
|
package/dist/search/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createContentHighlighter, n as ReactSortedResult, r as SortedResult, t as HighlightedText } from "../index-
|
|
1
|
+
import { i as createContentHighlighter, n as ReactSortedResult, r as SortedResult, t as HighlightedText } from "../index-CS7BaeTa.js";
|
|
2
2
|
export { HighlightedText, ReactSortedResult, SortedResult, createContentHighlighter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as SortedResult } from "../index-
|
|
2
|
-
import { n as SearchAPI } from "../server-
|
|
1
|
+
import { r as SortedResult } from "../index-CS7BaeTa.js";
|
|
2
|
+
import { n as SearchAPI } from "../server-CqcelklO.js";
|
|
3
3
|
import Mixedbread from "@mixedbread/sdk";
|
|
4
4
|
import { StoreSearchResponse } from "@mixedbread/sdk/resources/stores";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as __toESM } from "../chunk-
|
|
2
|
-
import { t as createEndpoint } from "../endpoint-
|
|
3
|
-
import { t as require_remove_markdown } from "../remove-markdown-
|
|
1
|
+
import { r as __toESM } from "../chunk-B-1-B7_t.js";
|
|
2
|
+
import { t as createEndpoint } from "../endpoint-MyoBU5IC.js";
|
|
3
|
+
import { t as require_remove_markdown } from "../remove-markdown-C0IY_Ks_.js";
|
|
4
4
|
import Slugger from "github-slugger";
|
|
5
5
|
//#region src/search/mixedbread.ts
|
|
6
6
|
var import_remove_markdown = /* @__PURE__ */ __toESM(require_remove_markdown(), 1);
|
package/dist/search/server.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AdvancedOptions, c as SimpleOptions, d as createSearchAPI, f as initAdvancedSearch, i as AdvancedIndex, l as createFromSource, n as SearchAPI, o as ExportedData, p as initSimpleSearch, r as SearchServer, s as Index, t as QueryOptions, u as createI18nSearchAPI } from "../server-
|
|
1
|
+
import { a as AdvancedOptions, c as SimpleOptions, d as createSearchAPI, f as initAdvancedSearch, i as AdvancedIndex, l as createFromSource, n as SearchAPI, o as ExportedData, p as initSimpleSearch, r as SearchServer, s as Index, t as QueryOptions, u as createI18nSearchAPI } from "../server-CqcelklO.js";
|
|
2
2
|
export { AdvancedIndex, AdvancedOptions, ExportedData, Index, QueryOptions, SearchAPI, SearchServer, SimpleOptions, createFromSource, createI18nSearchAPI, createSearchAPI, initAdvancedSearch, initSimpleSearch };
|
package/dist/search/server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as defaultReadOptions, t as createEndpoint } from "../endpoint-
|
|
2
|
-
import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-
|
|
3
|
-
import { n as searchSimple, t as searchAdvanced } from "../advanced-
|
|
1
|
+
import { n as defaultReadOptions, t as createEndpoint } from "../endpoint-MyoBU5IC.js";
|
|
2
|
+
import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-DHR7rjs9.js";
|
|
3
|
+
import { n as searchSimple, t as searchAdvanced } from "../advanced-BJ-uurHJ.js";
|
|
4
4
|
import { create, insertMultiple, save } from "@orama/orama";
|
|
5
5
|
//#region src/search/orama/_stemmers.ts
|
|
6
6
|
const STEMMERS = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Awaitable } from "./types-
|
|
2
|
-
import { i as StructuredData } from "./remark-structure-
|
|
3
|
-
import { n as I18nConfig } from "./index-
|
|
4
|
-
import { r as SortedResult } from "./index-
|
|
5
|
-
import {
|
|
1
|
+
import { t as Awaitable } from "./types-D89QoQR-.js";
|
|
2
|
+
import { i as StructuredData } from "./remark-structure-DmVL5OkT.js";
|
|
3
|
+
import { n as I18nConfig } from "./index-CyNuiwqp.js";
|
|
4
|
+
import { r as SortedResult } from "./index-CS7BaeTa.js";
|
|
5
|
+
import { x as LoaderOutput, y as LoaderConfig } from "./index-BPRluZaH2.js";
|
|
6
6
|
import { Language, Orama, RawData, SearchParams, TypedDocument, create } from "@orama/orama";
|
|
7
7
|
|
|
8
8
|
//#region src/search/orama/create-db.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as useFumadocsLoader, n as SerializedPageTree, r as deserializePageTree, t as Serialized } from "../../index-
|
|
1
|
+
import { i as useFumadocsLoader, n as SerializedPageTree, r as deserializePageTree, t as Serialized } from "../../index-BLKQLw5Y.js";
|
|
2
2
|
export { Serialized, SerializedPageTree, deserializePageTree, useFumadocsLoader };
|
package/dist/source/dynamic.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as dynamicLoader, h as DynamicLoaderConfig, m as DynamicLoader } from "../index-BPRluZaH2.js";
|
|
2
2
|
export { DynamicLoader, DynamicLoaderConfig, dynamicLoader };
|
package/dist/source/dynamic.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isStaticSource, n as loader, r as isDynamicSource } from "../loader-
|
|
1
|
+
import { i as isStaticSource, n as loader, r as isDynamicSource } from "../loader-CfOmE00t.js";
|
|
2
2
|
import { cache } from "react";
|
|
3
3
|
//#region src/source/dynamic.ts
|
|
4
4
|
function dynamicLoader(input, options) {
|
|
@@ -13,19 +13,18 @@ function dynamicLoader(input, options) {
|
|
|
13
13
|
}
|
|
14
14
|
for (const v of Object.values(input)) if (isDynamicSource(v)) v.configure?.(dynamicLoader);
|
|
15
15
|
}
|
|
16
|
-
async function resolveSources() {
|
|
17
|
-
if (isStaticSource(input)) return input;
|
|
18
|
-
|
|
19
|
-
const entries = await Promise.all(Object.entries(input).map(async ([k, v]) => {
|
|
20
|
-
if (isStaticSource(v)) return [k, v];
|
|
21
|
-
return [k, await resolveDynamicSource(v)];
|
|
22
|
-
}));
|
|
16
|
+
async function resolveSources(skipCache = false) {
|
|
17
|
+
if (isStaticSource(input) || isDynamicSource(input)) return resolveSource(input, skipCache);
|
|
18
|
+
const entries = await Promise.all(Object.entries(input).map(async ([k, v]) => [k, await resolveSource(v, skipCache)]));
|
|
23
19
|
return Object.fromEntries(entries);
|
|
24
20
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
21
|
+
function resolveSource(v, skipCache = false) {
|
|
22
|
+
if (isStaticSource(v)) return v;
|
|
23
|
+
let resolved = skipCache ? void 0 : sourceCache.get(v);
|
|
27
24
|
if (resolved) return resolved;
|
|
28
|
-
|
|
25
|
+
const files = v.files();
|
|
26
|
+
if ("then" in files) resolved = files.then((res) => ({ files: res }));
|
|
27
|
+
else resolved = { files };
|
|
29
28
|
sourceCache.set(v, resolved);
|
|
30
29
|
return resolved;
|
|
31
30
|
}
|
|
@@ -39,7 +38,11 @@ function dynamicLoader(input, options) {
|
|
|
39
38
|
}),
|
|
40
39
|
$inferPage: void 0,
|
|
41
40
|
$inferMeta: void 0,
|
|
42
|
-
revalidate(name) {
|
|
41
|
+
async revalidate(name) {
|
|
42
|
+
if (name === void 0) await resolveSources(true);
|
|
43
|
+
else if (!isStaticSource(input) && !isDynamicSource(input)) await resolveSource(input[name], true);
|
|
44
|
+
},
|
|
45
|
+
invalidate(name) {
|
|
43
46
|
if (name === void 0) sourceCache.clear();
|
|
44
47
|
else if (!isStaticSource(input) && !isDynamicSource(input)) {
|
|
45
48
|
const s = input[name];
|
package/dist/source/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { ContentStorage, ContentStorageMetaFile, ContentStoragePageFile, DynamicSource, FileSystem, InferMetaType, InferPageType, LLMsConfig, LoaderConfig, LoaderOptions, LoaderOutput, LoaderPlugin, LoaderPluginOption, Meta, MetaData, Page, PageData, PageTreeBuilder, PageTreeBuilderContext, PageTreeOptions, PageTreeTransformer, path_d_exports as PathUtils, ResolvedLoaderConfig, Source,
|
|
1
|
+
import { B as ContentStoragePageFile, C as LoaderPluginOption, D as createGetUrl, E as ResolvedLoaderConfig, F as PageTreeBuilderContext, I as PageTreeOptions, L as PageTreeTransformer, O as loader, P as PageTreeBuilder, R as ContentStorage, S as LoaderPlugin, T as Page, V as FileSystem, _ as InferMetaType, a as MetaData, b as LoaderOptions, c as SourceUnion, d as multiple, f as source, i as DynamicSource, j as getSlugs, k as types_d_exports, l as StaticSource, n as llms, o as PageData, p as update, r as path_d_exports, s as Source, t as LLMsConfig, u as VirtualFile, v as InferPageType, w as Meta, x as LoaderOutput, y as LoaderConfig, z as ContentStorageMetaFile } from "../index-BPRluZaH2.js";
|
|
2
|
+
export { ContentStorage, ContentStorageMetaFile, ContentStoragePageFile, DynamicSource, FileSystem, InferMetaType, InferPageType, LLMsConfig, LoaderConfig, LoaderOptions, LoaderOutput, LoaderPlugin, LoaderPluginOption, Meta, MetaData, Page, PageData, PageTreeBuilder, PageTreeBuilderContext, PageTreeOptions, PageTreeTransformer, path_d_exports as PathUtils, ResolvedLoaderConfig, Source, SourceUnion, StaticSource, VirtualFile, types_d_exports as _Internal, createGetUrl, getSlugs, llms, loader, multiple, source, update };
|
package/dist/source/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as path_exports } from "../path-
|
|
2
|
-
import { a as multiple, c as FileSystem,
|
|
1
|
+
import { o as path_exports } from "../path-DOciLMb0.js";
|
|
2
|
+
import { a as multiple, c as FileSystem, n as loader, o as source, s as update, t as createGetUrl } from "../loader-CfOmE00t.js";
|
|
3
3
|
import { getSlugs } from "./plugins/slugs.js";
|
|
4
4
|
import { llms } from "./llms.js";
|
|
5
|
-
export { FileSystem, path_exports as PathUtils, createGetUrl, getSlugs,
|
|
5
|
+
export { FileSystem, path_exports as PathUtils, createGetUrl, getSlugs, llms, loader, multiple, source, update };
|
package/dist/source/llms.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as llms, t as LLMsConfig } from "../index-
|
|
1
|
+
import { n as llms, t as LLMsConfig } from "../index-BPRluZaH2.js";
|
|
2
2
|
export { LLMsConfig, llms };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as SlugFn, M as slugsFromData, N as slugsPlugin, j as getSlugs } from "../../index-BPRluZaH2.js";
|
|
2
2
|
export { SlugFn, getSlugs, slugsFromData, slugsPlugin };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Separator$1, n as Item$1, t as Folder$1 } from "../../definitions-
|
|
2
|
-
import {
|
|
1
|
+
import { a as Separator$1, n as Item$1, t as Folder$1 } from "../../definitions-DsPo5rZj.js";
|
|
2
|
+
import { S as LoaderPlugin } from "../../index-BPRluZaH2.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/source/plugins/status-badges.d.ts
|
package/dist/toc.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TOCItem, c as TOCItemType, d as useActiveAnchors, f as useItems, h as useTOCSelector, i as ScrollProviderProps, l as TableOfContents, m as useTOCListener, n as AnchorProviderProps, o as TOCItemInfo, p as useTOC, r as ScrollProvider, s as TOCItemProps, t as AnchorProvider, u as useActiveAnchor } from "./toc-
|
|
1
|
+
import { a as TOCItem, c as TOCItemType, d as useActiveAnchors, f as useItems, h as useTOCSelector, i as ScrollProviderProps, l as TableOfContents, m as useTOCListener, n as AnchorProviderProps, o as TOCItemInfo, p as useTOC, r as ScrollProvider, s as TOCItemProps, t as AnchorProvider, u as useActiveAnchor } from "./toc-BISwwvZ_.js";
|
|
2
2
|
export { AnchorProvider, AnchorProviderProps, ScrollProvider, ScrollProviderProps, TOCItem, TOCItemInfo, TOCItemProps, TOCItemType, TableOfContents, useActiveAnchor, useActiveAnchors, useItems, useTOC, useTOCListener, useTOCSelector };
|
package/dist/toc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as isEqualShallow } from "./is-equal-
|
|
2
|
+
import { t as isEqualShallow } from "./is-equal-LdLqRs0o.js";
|
|
3
3
|
import { createContext, use, useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import scrollIntoView from "scroll-into-view-if-needed";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-core",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.3",
|
|
4
4
|
"description": "The React.js library for building a documentation website",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
"vfile": "^6.0.3"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@formatjs/intl-localematcher": "^0.8.
|
|
118
|
+
"@formatjs/intl-localematcher": "^0.8.9",
|
|
119
119
|
"@mdx-js/mdx": "^3.1.1",
|
|
120
|
-
"@mixedbread/sdk": "0.
|
|
120
|
+
"@mixedbread/sdk": "0.72.0",
|
|
121
121
|
"@orama/core": "^1.2.19",
|
|
122
122
|
"@oramacloud/client": "^2.1.4",
|
|
123
123
|
"@shikijs/transformers": "^4.1.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"algoliasearch": "5.52.1",
|
|
134
134
|
"flexsearch": "^0.8.212",
|
|
135
135
|
"image-size": "^2.0.2",
|
|
136
|
-
"lucide-react": "^1.
|
|
136
|
+
"lucide-react": "^1.17.0",
|
|
137
137
|
"negotiator": "^1.0.0",
|
|
138
138
|
"next": "16.2.6",
|
|
139
139
|
"npm-to-yarn": "^3.0.1",
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
"remove-markdown": "^0.6.4",
|
|
145
145
|
"tsdown": "0.22.0",
|
|
146
146
|
"typescript": "^6.0.3",
|
|
147
|
-
"waku": "1.0.0-beta.
|
|
148
|
-
"zod": "
|
|
147
|
+
"waku": "1.0.0-beta.1",
|
|
148
|
+
"zod": "4.4.3",
|
|
149
149
|
"tsconfig": "0.0.0"
|
|
150
150
|
},
|
|
151
151
|
"peerDependencies": {
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
},
|
|
227
227
|
"inlinedDependencies": {
|
|
228
228
|
"@formatjs/fast-memoize": "3.1.5",
|
|
229
|
-
"@formatjs/intl-localematcher": "0.8.
|
|
229
|
+
"@formatjs/intl-localematcher": "0.8.9",
|
|
230
230
|
"@shikijs/transformers": "4.1.0",
|
|
231
231
|
"image-size": "2.0.2",
|
|
232
232
|
"negotiator": "1.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|