posener / goreadme

Generate readme file from Go doc. Now available as a Github action!
MIT License
213 stars 31 forks source link

Allow customizing GoDoc URL and update godoc badge image #130

Closed alexandregv closed 3 months ago

alexandregv commented 3 months ago

With this PR the GoDoc URL (default https://pkg.go.dev) can now be customized, useful when you host your own instance of pkgsite.

I also updated the GoDoc badge image with a up-to-date one (godoc.org -> pkg.go.dev).

alexandregv commented 3 months ago

I fixed a bug (missing default value for godoc_url) and added a test (pkg14) to test custom godoc_url. The CI tests are still failing but it seems its related to my previous PR #127, for which I didn't fixed the tests... I will do it ASAP.