Skip to content

Decouple build artifact naming from RFC "seriesInfo" metadata #885

Open

Description

@sakimura

Problem

The FAPI build pipeline currently depends on the "seriesInfo.value" field to determine output filenames.

This dependency exists in two places:

  • "openid/fapi/build-all.py" extracts the output basename from a "value = "..."" line.
  • The "danielfett/markdown2rfc" container's "make.sh" entrypoint uses "grep -m1 value" for the same purpose.

This forces OpenID Foundation documents to include RFC-specific "seriesInfo" metadata solely to make the build succeed.

For example, FAPI 2.0 Implementation Advice currently declares "name = "Internet-Draft"", although it is not an IETF Internet-Draft.

Proposed changes

  1. Decouple output filename generation from "seriesInfo". Derive the document basename from the source filename and the draft revision from the document title or explicitly configured build metadata.
  2. Pass the output basename explicitly to the Markdown-to-HTML conversion pipeline, bypassing or updating the container entrypoint's reliance on "grep".
  3. Maintain backward compatibility for existing FAPI documents that currently use "seriesInfo.value".
  4. Ensure the generated HTML and XML do not incorrectly identify OIDF documents as IETF Internet-Drafts or Standards Track documents.
  5. Preserve the existing manifest, HTML filename normalization, and XML artifact generation.

Acceptance criteria

  • Existing FAPI documents continue to build without changing their published document identifiers.
  • A document without a "[seriesInfo]" block builds successfully.
  • The output filename follows the OIDF specification naming conventions.
  • The rendered HTML contains no unintended IETF Internet-Draft metadata or boilerplate.
  • The generated artifacts pass the "openid/publication" checks.

References

Activity

  1. self-assigned this
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions