CI does not check Markdown links or anchors under docs/

Abierto
#360 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
3
Merge medio
20 h 26 min
PR fusionados (30 d)
119

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DACS-Agent-commerce/Community

Todos los issues de DACS-Agent-commerce/Community

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.