( options: WeeklyOptions, range: string, commits: WeeklyCommit[], highlights: WeeklyCommit[], )
| 286 | } |
| 287 | |
| 288 | function renderDocsUpdate( |
| 289 | options: WeeklyOptions, |
| 290 | range: string, |
| 291 | commits: WeeklyCommit[], |
| 292 | highlights: WeeklyCommit[], |
| 293 | ) { |
| 294 | const alsoNotable = selectAlsoNotable(commits, highlights); |
| 295 | |
| 296 | return [ |
| 297 | "<Update", |
| 298 | ` label="${weeklyLabel(options.from)}"`, |
| 299 | ` description="Weekly digest - ${range}"`, |
| 300 | ` tags={["Weekly update", "Highlights"]}`, |
| 301 | ">", |
| 302 | WEEKLY_REVIEW_TODO, |
| 303 | "", |
| 304 | "A curated summary of the most important HyperFrames changes this week.", |
| 305 | "", |
| 306 | renderHighlights(highlights, renderMdxWeeklyBullet), |
| 307 | "", |
| 308 | renderAlsoNotable(alsoNotable, renderMdxWeeklyBullet), |
| 309 | "", |
| 310 | "For exact versioned release notes, see the [Changelog](/changelog).", |
| 311 | "</Update>", |
| 312 | ].join("\n"); |
| 313 | } |
| 314 | |
| 315 | function renderWeeklyNotes( |
| 316 | options: WeeklyOptions, |
no test coverage detected