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
- Check
plugins/astro-agent-docs.mjs — determine whether generate-llms-txt.mjs is redundant
- Restore any scripts not covered by the Astro plugin, adapted for current page paths
- Add to
package.json as npm run generate
Context
Build generator scripts from
restructuring-attempt-1produce derived artifacts. They need to be restored for the current structure.Scripts to restore
scripts/generate-llms-txt.mjs— generates/llms.txtdiscovery index (note: theagentDocs()Astro plugin inplugins/astro-agent-docs.mjsalready handles this at build time — verify if this script is still needed or superseded)scripts/generate-manifest.mjs— generates a docs manifest for external toolingSteps
plugins/astro-agent-docs.mjs— determine whethergenerate-llms-txt.mjsis redundantpackage.jsonasnpm run generate