Skip to content

Bare #anchor links in SWML spec @doc text do not resolve on the REST reference #608

Description

@hey-august

SWML TypeSpec @doc strings reach customers on two surfaces: the hand-written SWML reference MDX
restates them, and the REST reference embeds them, because the REST TypeSpec imports
specs/swml/calling at source level (see #584).

Bare fragment links like #paramsemotion or #languagesauto_emotion resolve only on the SWML
reference page whose ParamField path values generate those anchors. On the REST reference pages that
render the same models, they point at anchors that do not exist there.

Most of ai_languages.tsp already uses full /docs/... paths, so the bare-fragment form is the
minority pattern. Pre-existing; the #578 review fixes added two more instances while correcting a dead
anchor, following the file's local convention rather than widening the change.

Done when: spec @doc links use full paths, or the fragments are confirmed to resolve on every
surface that renders them.

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