Skip to content

Commit c3381f8

Browse files
committed
docs: add mention of Markdown format for llms.txt
1 parent 85accc8 commit c3381f8

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

docs/content/docs/guide/configuration.fa.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,11 @@ params:
394394
```diff {filename="hugo.yaml"}
395395
outputs:
396396
- home: [html]
397+
- page: [html]
398+
- section: [html, rss]
397399
+ home: [html, llms]
398-
page: [html]
399-
section: [html, rss]
400+
+ page: [html, markdown]
401+
+ section: [html, markdown, rss]
400402
```
401403

402404
این کار یک فایل `llms.txt` در ریشه سایت شما ایجاد می‌کند که شامل:

docs/content/docs/guide/configuration.ja.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,17 +394,19 @@ params:
394394
```diff {filename="hugo.yaml"}
395395
outputs:
396396
- home: [html]
397+
- page: [html]
398+
- section: [html, rss]
397399
+ home: [html, llms]
398-
page: [html]
399-
section: [html, rss]
400+
+ page: [html, markdown]
401+
+ section: [html, markdown, rss]
400402
```
401403

402404
これにより、サイトのルートに `llms.txt` ファイルが生成され、以下が含まれます:
403405

404406
- サイトタイトルと説明
405407
- すべてのセクションとページの階層リスト
406408
- ページの要約と公開日
407-
- すべてのコンテンツへの直接リンク
409+
- すべてのコンテンツへの直接リンク(Markdown形式)
408410

409411
llms.txt ファイルはコンテンツ構造から自動生成され、AI ツールや言語モデルがコンテキストや参照のためにあなたのサイトにアクセスしやすくします。
410412

docs/content/docs/guide/configuration.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,19 @@ To enable [llms.txt](https://llmstxt.org/) output format for your site, which pr
455455
```diff {filename="hugo.yaml"}
456456
outputs:
457457
- home: [html]
458+
- page: [html]
459+
- section: [html, rss]
458460
+ home: [html, llms]
459-
page: [html]
460-
section: [html, rss]
461+
+ page: [html, markdown]
462+
+ section: [html, markdown, rss]
461463
```
462464

463465
This will generate an `llms.txt` file at your site's root containing:
464466

465467
- Site title and description
466468
- Hierarchical listing of all sections and pages
467469
- Page summaries and publication dates
468-
- Direct links to all content
470+
- Direct links to all content in markdown format
469471

470472
The llms.txt file is automatically generated from your content structure and makes your site more accessible to AI tools and language models for context and reference.
471473

docs/content/docs/guide/configuration.zh-cn.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,17 +394,19 @@ params:
394394
```diff {filename="hugo.yaml"}
395395
outputs:
396396
- home: [html]
397+
- page: [html]
398+
- section: [html, rss]
397399
+ home: [html, llms]
398-
page: [html]
399-
section: [html, rss]
400+
+ page: [html, markdown]
401+
+ section: [html, markdown, rss]
400402
```
401403

402404
这将在站点根目录生成一个 `llms.txt` 文件,包含:
403405

404406
- 站点标题和描述
405407
- 所有章节和页面的层次结构列表
406408
- 页面摘要和发布日期
407-
- 所有内容的直接链接
409+
- 所有内容的直接链接(Markdown格式)
408410

409411
llms.txt 文件根据内容结构自动生成,使 AI 工具和语言模型更容易获取上下文和参考。
410412

0 commit comments

Comments
 (0)