Skip to content

lint the source-location property #104

Description

@justinabrahms

Describe Request:

If the source-location property lacks a trailing slash, techdocs breaks rendering. This is the error from the build logs:

1info: Step 1 of 3: Preparing docs for entity component:default/auth-service {"timestamp":"2025-05-22T14:59:05.481Z"}
2debug: Reading files from https://github.com/ThriveMarket/
3error: Failed to build the docs page for entity component:default/auth-service: Request failed for https://api.github.com/repos/ThriveMarket

Examples:

BAD:

backstage.io/source-location: url:https://github.com/ThriveMarket/auth-service 

GOOD:

backstage.io/source-location: url:https://github.com/ThriveMarket/auth-service/

Supporting Documentation Links:

https://backstage.io/docs/features/software-catalog/well-known-annotations/#backstageiosource-location

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions