Skip to content

WHATWG specifications get significant different output through spec-generator compared to local bikeshed #765

@annevk

Description

@annevk

For instance whatwg/fetch#1922 passes our own CI just fine and all we do is

bikeshed spec "$INPUT_FILE" \
              "$WEB_ROOT/index.html" \
              --md-Text-Macro="COMMIT-SHA $SHA"

as far as I can tell. But when run through PR Preview which uses spec-generator we get a long list of errors:

[
    {
        "lineNum": "492:34",
        "messageType": "link",
        "text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n<a bs-line-number=\"492:34\" data-link-type=\"dfn\" data-lt=\"code point\">code point</a>"
    },
    {
        "lineNum": "507:50",
        "messageType": "link",
        "text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n<a bs-line-number=\"507:50\" data-link-type=\"dfn\" data-lt=\"code point\">code point</a>"
    },
    {
        "lineNum": "519:24",
        "messageType": "link",
        "text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n<a bs-line-number=\"519:24\" data-link-type=\"dfn\" data-lt=\"code point\">code point</a>"
    },
    ...
]

Does anyone here know why that might be the case?

Metadata

Metadata

Assignees

No one assigned

    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