Serve llms.txt and the Markdown source of each page for AI assistants

Đang mở
#73 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
documentation

Hướng nghiên cứu

Start by reading the site's page generation and navigation code, along with the existing context7.json and documentation.md inputs. Identify how the current version's pages and front matter are made available, then determine where the two text indexes and per-page Markdown URLs fit into that flow. Done means all three URL types follow the navigation and update when the docs change.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

AI coding assistants read the docs when they work on a Mage-OS project. Today they get the rendered HTML page, which costs them more to read and is easier to misread than the Markdown it was made from. Mage-OS ships MageOS_Aeo so that stores can offer llms.txt; the documentation site should offer the same.

Proposal

  • /llms.txt: an index built from documentation.md: every page with its title, its description from the front matter and a link.
  • /llms-full.txt: all pages of the current version in one file.
  • The Markdown source of a page under a stable URL, for example the page URL with .md appended.

mage-os/devdocs already has a context7.json for Context7; this covers assistants that fetch the site directly.

Done when

  • /llms.txt and /llms-full.txt are served and follow the navigation.
  • Each page's Markdown can be fetched.
  • The files change when the docs change.
Ngôn ngữ chính
PHP
Star
3
Fork
11
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mage-os/devdocs-website

Tất cả issue của mage-os/devdocs-website

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.