Skip to content

Conversation

@jcscottiii
Copy link
Collaborator

This commit introduces a more structured approach to handling documentation links within the email templates.

Previously, documentation links were represented by a DocLinks []DocLink slice, implicitly assuming all links were MDN. This limited the extensibility for future documentation sources.

This change refactors the DocLinks field in SummaryHighlight to Docs *Docs, where Docs is a new struct containing MDNDocs []DocLink. This allows for explicit categorization of documentation types in the next PR.

The toDocLinks function has been updated to construct and return the new *Docs struct.

@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt5 branch from cd1eb5b to fb75ef4 Compare January 14, 2026 02:19
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt6 branch from f1c14b8 to 8ec7a43 Compare January 14, 2026 02:22
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt5 branch from fb75ef4 to f392e33 Compare January 14, 2026 20:17
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt6 branch from 8ec7a43 to 1c99fbc Compare January 14, 2026 20:18
Base automatically changed from jcscottiii/email-worker-pt5 to main January 14, 2026 21:17
This commit introduces a more structured approach to handling documentation links within the email templates.

Previously, documentation links were represented by a `DocLinks []DocLink` slice, implicitly assuming all links were MDN. This limited the extensibility for future documentation sources.

This change refactors the `DocLinks` field in `SummaryHighlight` to `Docs *Docs`, where `Docs` is a new struct containing `MDNDocs []DocLink`. This allows for explicit categorization of documentation types in the next PR.

The `toDocLinks` function has been updated to construct and return the new `*Docs` struct.
@jcscottiii jcscottiii force-pushed the jcscottiii/email-worker-pt6 branch from 1c99fbc to 2ae9965 Compare January 14, 2026 21:24
@jcscottiii jcscottiii added this pull request to the merge queue Jan 15, 2026
Merged via the queue into main with commit 59b91c1 Jan 15, 2026
8 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/email-worker-pt6 branch January 15, 2026 01:02
@jstenback jstenback mentioned this pull request Jan 15, 2026
@DanielRyanSmith DanielRyanSmith mentioned this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants