Docs deploy fails: generated module pages lose their frontmatter

Abierto
#741 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@emmanuel-musau ya está trabajando en esto.

Desde el 24/11/2026.

  • #742 de @emmanuel-musau — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug documentation

The Deploy Documentation workflow fails on main since ab8cfd60, so https://intersectmbo.github.io/evolution-sdk/ has been stuck on the 13 Nov build (010e5fa8).

The build stops with 197 errors like:

[MDX] invalid frontmatter in docs/content/docs/modules/Address.mdx:
- title: Invalid input: expected string, received undefined

Cause

@effect/docgen 0.5.2 starts every generated page with a newline before the --- frontmatter, so Prettier never sees it as frontmatter and formats the opening --- as a thematic break. Prettier 3.9.10 printed that break as ---, which fumadocs still read as frontmatter. #734 moved the lockfile to Prettier 3.10.1, which prints it as ***, so every module page loses its title.

Reproduced on main by running the deploy steps locally (build, docgen, copy-evolution-docs): every generated page starts with ***.

Fix

Move to @effect/docgen 4.x, which writes the frontmatter at the top of the file. It is now published from the Effect monorepo (packages/tools/docgen), not Effect-TS/docgen.

The dependabot bump in #724 does not work as is: docgen 4 depends on effect 4, and without a root effect entry pnpm resolves @effect/vitest against effect 4.1.5, so every devnet test file fails to load (Cannot find module …/effect/dist/FastCheck.js).

Lenguaje dominante
TypeScript
Estrellas
22
Forks
34
Merge medio
16 h 53 min
PR fusionados (30 d)
10

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 IntersectMBO/evolution-sdk

Todos los issues de IntersectMBO/evolution-sdk

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.