Website: add a visible link to llms.txt (footer and/or front page) for people and AI tools

オープン 初心者向け
#1,872 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
html, javascript, yaml
領域
content, frontend

調査の方向性

まず data/chrome.yaml を見て footer のカラムがどのように定義されているかを確認し、次にページの <head> をレンダリングするテンプレート(他の <link rel=...> タグがあるのと同じ場所)を機械可読なエントリ用に見つけます。llms-txt-template.md と gulp/helpers/llms-txt.js を読んで、生成されるファイルが /llms.txt で配信されることを確認してください。完了条件は、footer のリンクがすべてのページに表示され、/llms.txt が解決され、レンダリングされた HTML に alternate リンクが含まれていることです。リポジトリの gulp タスクでローカルにサイトをビルドし、ページの footer と <head> を確認してください。

索引モデルが issue の本文から書いたものです。

説明

Description

The website publishes https://camel.apache.org/llms.txt (generated from llms-txt-template.md by gulp/helpers/llms-txt.js), but no page links to it. People don't know it exists, and AI tools only find it if they already know to look for /llms.txt.

Proposal

Add a visible link to /llms.txt that works for both people and AI tools:

  1. Footer: add an entry such as llms.txt (for AI tools) to data/chrome.yaml, for example in the Documentation or About column, so it shows on every page.
  2. Front page (optional): a short, prominent line or tile, e.g. "Using an AI assistant? Point it at camel.apache.org/llms.txt", with a one-line explanation of what the file contains.
  3. Machine-discoverable: add <link rel="alternate" type="text/plain" title="llms.txt" href="/llms.txt"> (or similar) to the page <head>, so crawlers and agents can find it without parsing visible text.
  4. Optionally link the blog post introducing llms.txt from the link's tooltip or a short "what is this?" note.

Expected Behavior

  • A visitor can find the llms.txt link in the footer of any page, and (if chosen) on the front page.
  • An AI agent that reads the HTML can find /llms.txt from a normal page.
主要言語
JavaScript
スター
79
フォーク
209
平均マージ
22時間 55分
マージ済み PR(30日)
28

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/camel-website のほかの issue

apache/camel-website の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。