fix(docs): build the docs with chronicle 0.16.3 - #1957
Conversation
The docs build fails on every page with bold or italic text: mdast-util-to-markdown 2.1.3 serialises them through a handler property that the fumadocs-core pinned by chronicle 0.6.1 drops when it wraps handlers, so the two recurse until the stack overflows. bunx resolves the tree fresh on each build, so the new release reached the build without any change here. chronicle 0.16.3 pins fumadocs-core 16.15.15, which keeps the property.
Since 0.9.0 chronicle's default theme renders the frontmatter title as the page heading, so every page that also opened its body with an H1 showed its title twice. Remove the leading H1 from those pages. Where it differed from the frontmatter title, the H1 was the title the page stated for itself, so it becomes the frontmatter title and with it the sidebar label and browser tab.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: raystack/frontier/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (48)
💤 Files with no reviewable changes (43)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughDocumentation pages remove leading H1 headings, and four pages update their frontmatter titles. The Vercel build command updates its Chronicle package version from 0.6.1 to 0.16.3. ChangesDocumentation page titles
Vercel build command
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The docs remove duplicate headings and update the Vercel build tool. No concrete current build failure or user-facing documentation defect is established, so the demonstrated merge risk is minimal. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage Report for CI Build 36459388454Coverage remained the same at 52.385%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
Maximum call stack size exceeded).bunxresolves dependencies fresh on each build and pulled inmdast-util-to-markdown2.1.3, which thefumadocs-corepinned by chronicle 0.6.1 can't handle. That's whymainand unrelated PRs fail too.docs/vercel.jsonto chronicle 0.16.3, which pins the fixedfumadocs-core16.15.15 (fix: bump fumadocs-core to fix breaking build chronicle#186).titleas the page heading, so 47 pages showed their title twice. Removes the leading# …from those pages.title(authn/serviceuser,authn/user,deployment-guide,local-setup), the heading becomes thetitle, and with it the sidebar label and browser tab.