Remove llm.txt gen (#887)

This commit is contained in:
Misha Bragin
2026-07-27 11:08:52 +02:00
committed by GitHub
parent 8c862e1f91
commit 2e66908084
4 changed files with 4 additions and 252 deletions
+2 -7
View File
@@ -14,12 +14,11 @@ There is no test suite in this project. Validate changes with `npm run build`.
```bash
npm install # Install dependencies
npm run dev # Start dev server (also runs gen:llm, gen:edit-routes, gen:last-updated, gen:sitemap)
npm run build # Production build (also runs gen:llm, gen:edit-routes, gen:last-updated, gen:sitemap)
npm run dev # Start dev server (also runs gen:edit-routes, gen:last-updated, gen:sitemap)
npm run build # Production build (also runs gen:edit-routes, gen:last-updated, gen:sitemap)
npm run start # Serve the production build (warns under `output: 'standalone'` — safe to ignore locally; prod runs `node server.js` from `.next/standalone`)
npm run lint # ESLint (next/core-web-vitals) on src/
npm run gen # Regenerate API docs from NetBird OpenAPI spec
npm run gen:llm # Regenerate LLM-friendly markdown (auto-runs with dev/build)
npm run gen:edit-routes # Regenerate edit-on-GitHub routes (auto-runs with dev/build)
npm run gen:last-updated # Regenerate per-page git last-modified dates (auto-runs with dev/build)
npm run gen:sitemap # Regenerate public/sitemap.xml (auto-runs with dev/build)
@@ -76,10 +75,6 @@ Custom components available in MDX files (see `README.md` for full usage example
- `mdx/rehype.mjs` - Rehype plugins (syntax highlighting via Shiki)
- `mdx/recma.mjs` - Recma plugins
### LLM Documentation
- `scripts/generate-llm-docs.mjs` generates clean markdown to `public/llms/` (gitignored)
- Runs automatically with `dev` and `build`
### Generated build data in `src/lib/`
Some files in `src/lib/` look hand-written but are generated by `gen:*` scripts and gitignored:
- `src/lib/edit-on-github-routes.js` — written by `scripts/generate-github-routes.mjs`