goreadme icon indicating copy to clipboard operation
goreadme copied to clipboard

Badge Path of `.`

Open fosskers opened this issue 4 years ago • 1 comments

Hi there, thanks for a nice tool. I'm running it with:

goreadme --skip-examples --badge-godoc --badge-goreportcard

directly from the project, and I notice that even though the project name is detected correctly and displayed as the top-level markdown heading, it's not respected in the badge URLs:

[![GoDoc](https://img.shields.io/badge/pkg.go.dev-doc-blue)](http://pkg.go.dev/.)
[![Go Report Card](https://goreportcard.com/badge/.)](https://goreportcard.com/report/.)

fosskers avatar Aug 23 '20 20:08 fosskers

Right. Maybe there could be a more elegant solution for this, but you can currently use the import-path command line flag.

posener avatar Aug 27 '20 18:08 posener