Skip to content

Export local license paths #144

Closed
@dschmidt

Description

Hey

as mentioned in another ticket I'm creating a licenses page in my web app. I would like to link the licenses I dumped with the save command instead of relying on the online link.

For example I basically need to link to
webroot/licenses_backend/github.com/cpuguy83/go-md2man/v2/md2man/LICENSE.md
for
github.com/cpuguy83/go-md2man/v2/md2man,/~https://github.com/cpuguy83/go-md2man/blob/v2.0.2/LICENSE.md,MIT

I could now try to do some string magic and extract LICENSE.md from the URL and concatenate it with the package url, but that seems like a very brittle solution.
Could you make github.com/cpuguy83/go-md2man/v2/md2man/LICENSE.md to the templates?

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