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

@@ -1,16 +1,16 @@
- name: Alibaba Cloud Elastic Container Instance (**ECI**) - name: Alibaba Cloud Elastic Container Instance (**ECI**)
tag: alibabacloud tag: alibabacloud-eci
- name: AWS Fargate - name: AWS Fargate
tag: aws tag: aws-fargate
- name: Azure Batch - name: Azure Batch
tag: azurebatch tag: azure-batch
- name: Azure Container Instances (**ACI**) - name: Azure Container Instances (**ACI**)
tag: azure tag: azure-aci
- name: Kubernetes Container Runtime Interface (**CRI**) - name: Kubernetes Container Runtime Interface (**CRI**)
tag: cri tag: cri
- name: Huawei Cloud Container Instance (**CCI**) - name: Huawei Cloud Container Instance (**CCI**)
tag: huawei tag: huawei-cci
- name: HashiCorp Nomad - name: HashiCorp Nomad
tag: nomad tag: nomad
- name: OpenStack Zun - name: OpenStack Zun
tag: openstack tag: openstack-zun

View File

@@ -25,7 +25,7 @@
<ul> <ul>
{{ range $providers }} {{ 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"> <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"> <a class="is-size-5 is-size-6-mobile has-text-grey-lighter has-text-weight-light" href="{{ $url }}" target="_blank">
{{ .name | markdownify }} {{ .name | markdownify }}

View File

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