Skip to content

infra: restore build generators #117

Closed

Description

@marc0olo

Context

Build generator scripts from restructuring-attempt-1 produce derived artifacts. They need to be restored for the current structure.

Scripts to restore

  • scripts/generate-llms-txt.mjs — generates /llms.txt discovery index (note: the agentDocs() Astro plugin in plugins/astro-agent-docs.mjs already handles this at build time — verify if this script is still needed or superseded)
  • scripts/generate-manifest.mjs — generates a docs manifest for external tooling

Steps

  1. Check plugins/astro-agent-docs.mjs — determine whether generate-llms-txt.mjs is redundant
  2. Restore any scripts not covered by the Astro plugin, adapted for current page paths
  3. Add to package.json as npm run generate

Activity

  1. added
    enhancement
    on Apr 17, 2026
  2. marc0olo commented on May 5, 2026

    @marc0olo
    ContributorAuthor

    Closing as won't-do:

    • generate-llms-txt.mjs is fully superseded by the agentDocs() Astro plugin (plugins/astro-agent-docs.mjs), which generates /llms.txt at build time
    • generate-manifest.mjs has no consumer anywhere in the repo — nothing references docs-manifest.json. The agent-discovery use case is already covered by llms.txt

    If external tooling ever needs a structured JSON index, the script is trivial to add at that point.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions