Interface: LlmsCollapse ​

Source: 1.2.0 · 823c0ced60fa

Defined in: packages/valaxy/types/config.ts:533

One llms.txt link that stands in for every page matching match.

Properties ​

description? ​

ts
optional description?: string;

Defined in: packages/valaxy/types/config.ts:553

Zh ​

可选描述,写在链接后面

En ​

Optional description appended after the link


href ​

ts
href: string;

Defined in: packages/valaxy/types/config.ts:548

Zh ​

链接路径。以 / 结尾时保持目录地址(如 /api/);否则像普通条目一样补上 .md。

En ​

Link path. A trailing slash stays a directory URL (for example /api/). Other paths gain a .md suffix, like normal entries.


match ​

ts
match: string;

Defined in: packages/valaxy/types/config.ts:538

Zh ​

相对于 pages/ 的 glob,语法与 include 相同,例如 api/**/*.md。

En ​

Glob relative to pages/, same syntax as include, for example api/**/*.md.


section? ​

ts
optional section?: string;

Defined in: packages/valaxy/types/config.ts:558

Zh ​

可选分组标题。默认由 href 推断:/api/ 为 Api;设置 locales: ['zh'] 时 /zh/api/ 为 Api (zh)。

En ​

Optional section heading. Defaults from href: /api/ becomes Api, and /zh/api/ becomes Api (zh) when locales includes zh.


title ​

ts
title: string;

Defined in: packages/valaxy/types/config.ts:543

Zh ​

索引里这条链接的标题

En ​

Title of the index link