Skip to content

[clang-doc] The Mustache HTML output uses full file paths for links #160389

@ilovepi

Description

@ilovepi

These full paths break web pages if they're opened anywhere but the build machine, because the links are wrong. These should all be relative file paths.

Current HTML:

<a href="file:///usr/local/google/home/paulkirth/clang-doc-gen/@nonymous_record_00774ABA8C0A775DA34D65BFF8EE1967BE25FAE3.html">@nonymous_record_00774ABA8C0A775DA34D65BFF8EE1967BE25FAE3</a>

Corrected:

<a href="file:///@nonymous_record_00774ABA8C0A775DA34D65BFF8EE1967BE25FAE3.html">@nonymous_record_00774ABA8C0A775DA34D65BFF8EE1967BE25FAE3</a>

CC: @evelez7 I'm guessing this is somehow generated from the json paths. Do you know where in the JSONGenerator or the Mustache bits where the links are generated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions