CI does not check Markdown links or anchors under docs/

Aperta
#360 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions

Direzione di ricerca

Start with .github/workflows/lint.yml, whose jobs begin at line 16 and currently run only eslint, then check .github/workflows/dacs-directory-ci.yml, which does not cover docs. Look at the Markdown files in docs/learn to see how they link to the Standard and how the pinned revision is referenced. Done means a workflow runs on pull requests that touch docs/ and fails when a relative link points to a missing file or an anchor into the pinned Standard does not exist. Confirm the issue with a maintainer first, since it came from a code review.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

contributors-section

Where: .github/workflows/lint.yml:16 (on phase0-completion at the linked commit)

What goes wrong: No workflow checks relative links or Standard anchors in docs/. The workflow in .github/workflows/lint.yml (jobs start at line 16) runs only eslint, and .github/workflows/dacs-directory-ci.yml does not look at docs either. The Learn pages in docs/learn link to sections of the Standard at a pinned revision, so a moved pin or a renamed heading can leave dead anchors with no warning.

Suggested fix: Add a small link check for docs/learn to the lint workflow or a separate workflow: relative links must resolve to files in the repository, and anchors into the Standard must exist in the pinned revision. Run it on pull requests that touch docs/.

Size: Medium

This comes from a code review, not from a failing run, so please confirm it before starting. Send the fix as a pull request to phase0-completion. It merges once tests pass and a maintainer has approved it.

Lingua principale
TypeScript
Stelle
0
Fork
3
Merge medio
20h 26m
PR unite (30g)
119

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DACS-Agent-commerce/Community

Tutte le issue di DACS-Agent-commerce/Community

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.