Docs deploy fails: generated module pages lose their frontmatter
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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).
- Ngôn ngữ chính
- TypeScript
- Star
- 22
- Fork
- 34
- Merge trung bình
- 16 giờ 53 phút
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IntersectMBO/evolution-sdk
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
IntersectMBO/evolution-sdk#696 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
IntersectMBO/evolution-sdk#694 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
IntersectMBO/evolution-sdk#559 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
IntersectMBO/evolution-sdk#557 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
RewardAccount: validate header type bits and bech32 prefixCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởenhancement external-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
IntersectMBO/evolution-sdk#456 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của IntersectMBO/evolution-sdk
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
triage: failed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
oxc-project/tsrs#1277 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ardia-browser/ardia#6798 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
novuhq/novu#13613 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nightly-labs/openbot#23943 ·
Maintainer thường phản hồi trong vòng 1 ngày