Skip to content

typst-docs resolves $math.arrow to a non-existent link #6908

@YDX-2147483647

Description

@YDX-2147483647

Description

#6867 added a link to $math.arrow. (Preview)
However, typst-docs resolves it to /reference/math/arrow/, which does not exist.
It should resolve to somewhere in https://typst.app/docs/reference/math/accent/.

The following test will pass, but it's not the desired behaviour.

#[test]
fn test_math_accent() {
    assert_eq!(
        resolve_definition("$math.arrow", "/"),
        Ok("/reference/math/arrow/".into()) // does not exist
    );
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions