Skip to content

Make the website easy for crawlers and agents to discover #5635

Closed

Description

@colaforniaw

Problem

The website is currently good for human visitors, but it has no machine-readable entry points. There is no llms.txt, robots.txt, or sitemap.xml in the website build.

For a project whose product is an agent workspace, this makes the official site harder for crawlers and automated readers to discover and understand. The root page also redirects to /en/ and is marked noindex, so without a sitemap it is not obvious which four canonical pages should be indexed.

Desired outcome

The website ships three static entry-point files in website/public/:

  • llms.txt — an index for automated readers.
  • robots.txt — allows crawling and points to the sitemap.
  • sitemap.xml — lists the four indexable pages.

The sitemap should contain only:

  • https://maka.apache.org/en/
  • https://maka.apache.org/zh-CN/
  • https://maka.apache.org/en/downloads/
  • https://maka.apache.org/zh-CN/downloads/

The root redirect should remain excluded because it is already noindex.

llms.txt should be a small index, not a copy of the documentation. It should include the project positioning, links to the four site pages, and raw Markdown links to the authoritative repository documents: docs index, architecture, runtime host architecture, benchmark reports, security policy, and contributor guide. Raw Markdown is preferable to GitHub blob pages because automated readers can consume the text directly.

Constraints

  • Keep the existing website principle: the site links to authoritative repository documents and does not copy them.
  • Use llms.txt, not the less standard llm.txt.
  • Do not add a new runtime dependency or third-party resource.
  • Keep the Apache Incubator framing and release-status language unchanged.

Implementation notes

  • Add the files under website/public/.
  • Document in website/README.md that page changes must update sitemap.xml and that authoritative document changes must update llms.txt.
  • No Astro sitemap integration is needed for four static pages.

Validation

Extend website/test/site.test.mjs to assert, from the built site, that:

  • robots.txt allows crawling and points to the absolute sitemap URL.
  • sitemap.xml contains exactly the four canonical page URLs and does not include the noindex root redirect.
  • llms.txt exists, identifies the project with the Incubating name and positioning, and includes links to the raw Markdown sources it claims to index.
  • The raw Markdown paths referenced by llms.txt resolve to files that exist in the repository.

This keeps the files from drifting when pages or authoritative documents change. No CI changes are needed: the website workspace's test:dist already runs in ci.yml for website/** changes and again before publishing in website.yml.

Alternatives considered

  • Doing nothing: crawlers can still follow links, but the official site lacks a stable machine-readable discovery layer.
  • Using @astrojs/sitemap: unnecessary dependency and configuration for four pages.
  • Mirroring documentation into the site: adds duplication and drift risk; the repository should remain authoritative.

Activity

  1. colaforniaw commented on Sep 23, 2026

    @colaforniaw
    ContributorAuthor

    take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions