Docs deploy fails: generated module pages lose their frontmatter

Offen
#741 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@emmanuel-musau arbeitet bereits daran.

Seit 24.11.2026.

  • #742 von @emmanuel-musau — offen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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).

Vorherrschende Sprache
TypeScript
Sterne
22
Forks
34
Ø Merge
16 Std. 53 Min.
Gemergte PRs (30 T.)
10

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus IntersectMBO/evolution-sdk

Alle Issues in IntersectMBO/evolution-sdk

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.