Skip to content

Add intent field and always quote title in front matter#10

Open
gregjkal wants to merge 2 commits intomasterfrom
intent-field-and-title-quoting
Open

Add intent field and always quote title in front matter#10
gregjkal wants to merge 2 commits intomasterfrom
intent-field-and-title-quoting

Conversation

@gregjkal
Copy link
Copy Markdown
Collaborator

@gregjkal gregjkal commented Apr 23, 2026

Summary

  • Replaces paper-type: informational with a canonical intent field. WG21 paper type values are normalized to short forms: Informational -> info, Direction/Ask/Request/Poll -> ask

  • Adds recognition of Type, Intent, Paper Type, and Status fields in all HTML extractor paths (mpark, bikeshed, wg21, hand-written) and the PDF metadata zone scanner

  • Inserts intent between date and audience in FRONT_MATTER_ORDER

  • Title is now always double-quoted in YAML front matter (e.g. title: "any_view")

  • TODO: Manually verify a paper with Type: Informational in HTML produces intent: info in front matter

Replaces ad-hoc paper-type metadata with a canonical intent field
that maps WG21 paper type values to short normalized forms: Informational
-> info, Direction/Ask/Request/Poll -> ask. Adds recognition of Type/Intent/
Paper Type/Status fields in all HTML extractor paths and the PDF metadata
zone scanner. Inserts intent between date and audience in FRONT_MATTER_ORDER.

Title is now always double-quoted in YAML front matter regardless of whether
it contains special characters, matching the desired output format.
Preserves direction, poll, request, and other source values instead of
collapsing them all to "ask". Only the shortening Vinnie explicitly
called out (informational -> info) is applied; everything else passes
through lowercased.
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.

1 participant