Fix links to provider docs on the website

This commit is contained in:
Jérôme TAMARELLE
2019-06-25 17:33:54 +02:00
committed by Jérôme TAMARELLE
parent f6be3ce713
commit 419494b4a0
3 changed files with 9 additions and 9 deletions

View File

@@ -25,7 +25,7 @@
<ul>
{{ range $providers }}
{{ $url := printf "https://github.com/virtual-kubelet/virtual-kubelet/tree/master/providers/%s" .tag }}
{{ $url := printf "https://github.com/virtual-kubelet/%s/blob/master/README.md#readme" .tag }}
<li class="has-bottom-spacing">
<a class="is-size-5 is-size-6-mobile has-text-grey-lighter has-text-weight-light" href="{{ $url }}" target="_blank">
{{ .name | markdownify }}

View File

@@ -3,8 +3,8 @@
<tbody>
{{ range $providers }}
{{ $name := .name | markdownify }}
{{ $pkgName := printf "github.com/virtual-kubelet/virtual-kubelet/providers/%s" .tag }}
{{ $pkgUrl := printf "https://github.com/virtual-kubelet/virtual-kubelet/tree/master/providers/%s" .tag }}
{{ $pkgName := printf "github.com/virtual-kubelet/%s" .tag }}
{{ $pkgUrl := printf "https://github.com/virtual-kubelet/%s/blob/master/README.md#readme" .tag }}
{{ $godocUrl := printf "https://godoc.org/%s" $pkgName }}
<tr>
<td>