Skip to content

docs(server): drop dead chat.{mjs,sh} links + fix embedding example path#76

Merged
marksverdhei merged 1 commit into
htfrom
chore/server-readme-broken-links
Jun 12, 2026
Merged

docs(server): drop dead chat.{mjs,sh} links + fix embedding example path#76
marksverdhei merged 1 commit into
htfrom
chore/server-readme-broken-links

Conversation

@marksverdhei

Copy link
Copy Markdown

Epoch #73 task 3. Docs review on tools/server/README.md surfaced 3 broken in-tree paths.

Fixes

  • chat.mjs / chat.sh — both removed upstream in server: remove obsolete scripts ggml-org/llama.cpp#23870 (server: remove obsolete scripts). README still referenced them under '## More examples / Interactive mode'. Drop the section since both samples are gone; the OpenAI-compat endpoints documented elsewhere cover the same surface.
  • ../embedding — moved upstream from tools/embedding to examples/embedding. Fixed relative path to ../../examples/embedding.

Remaining false-positives from the link audit (not real bugs)

  • (card) at line 212 — link TEXT, not target; actual URL is https://ggml.ai/f0.png
  • (more info) — same pattern, link text

Both are correct markdown; my regex misreads them. Skipped.

Verified

grep -oE '\[.*?\]\([^)]+\)' tools/server/README.md \
  | grep -oE '\([^)]+\)' | tr -d '()' \
  | grep -v '^http\|^mailto' \
  | while read p; do test -e tools/server/$(echo $p|sed s/#.*//) || echo MISSING: $p; done

Empty after fix.

… embedding example path

Epoch #73 task 3 (docs review on tools/server/README.md).

Three broken in-tree links found:

* `chat.mjs` and `chat.sh` — both removed upstream by
  ggml-org#23870 (server: remove obsolete scripts). README
  still referenced them under '## More examples / Interactive mode'.
  Drop the entire section since both samples are gone; the OpenAI-compat
  endpoints documented elsewhere in this file cover the same surface.

* `../embedding` — embedding moved from `tools/embedding` to
  `examples/embedding` upstream. Fix the relative path.
@marksverdhei marksverdhei merged commit 267702a into ht Jun 12, 2026
1 check passed
@marksverdhei marksverdhei deleted the chore/server-readme-broken-links branch June 12, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant