extended the children shortcode so it will generate the client library list

pull/819/head
Scott Anderson 2020-03-11 10:00:14 -06:00
parent d628fc312d
commit e4416d7cdb
9 changed files with 12 additions and 10 deletions

View File

@ -21,12 +21,4 @@ These client libraries are in active development and may not be feature-complete
This list will continue to grow as more client libraries are released.
{{% /note %}}
- [Arduino](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino)
_(contributed by [tobiasschuerg](https://github.com/tobiasschuerg))_
- [C#](https://github.com/influxdata/influxdb-client-csharp)
- [Go](https://github.com/influxdata/influxdb-client-go)
- [Java](https://github.com/influxdata/influxdb-client-java)
- [JavaScript](https://github.com/influxdata/influxdb-client-js)
- [PHP](https://github.com/influxdata/influxdb-client-php)
- [Python](/v2.0/reference/api/client-libraries/python/)
- [Ruby](https://github.com/influxdata/influxdb-client-ruby)
{{< children type="functions" >}}

View File

@ -2,6 +2,8 @@
title: InfluxDB Arduino client library
list_title: Arduino
description: Use the Arduino client library to interact with InfluxDB.
external_url: https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
list_note: _(contributed by [tobiasschuerg](https://github.com/tobiasschuerg))_
menu:
v2_0_ref:
name: Arduino

View File

@ -2,6 +2,7 @@
title: InfluxDB C# client library
list_title: C#
description: Use the C# client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-csharp
menu:
v2_0_ref:
name: C#

View File

@ -2,6 +2,7 @@
title: InfluxDB Go client library
list_title: Go
description: Use the Go client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-go
menu:
v2_0_ref:
name: Go

View File

@ -2,6 +2,7 @@
title: InfluxDB Java client library
list_title: Java
description: Use the Java client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-java
menu:
v2_0_ref:
name: Java

View File

@ -2,6 +2,7 @@
title: InfluxDB JavaScript client library
list_title: JavaScript
description: Use the JavaScript client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-js
menu:
v2_0_ref:
name: JavaScript

View File

@ -2,6 +2,7 @@
title: InfluxDB PHP client library
list_title: PHP
description: Use the PHP client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-php
menu:
v2_0_ref:
name: PHP

View File

@ -2,6 +2,7 @@
title: InfluxDB Ruby client library
list_title: Ruby
description: Use the Ruby client library to interact with InfluxDB.
external_url: https://github.com/influxdata/influxdb-client-ruby
menu:
v2_0_ref:
name: Ruby

View File

@ -38,8 +38,10 @@
<ul>
{{ range $pages.ByWeight }}
{{ $url := cond ( isset .Params "external_url" ) .Params.external_url .RelPermalink }}
{{ $note := cond ( isset .Params "list_note" ) .Params.list_note "" }}
{{ $title := replaceRE `\ function` "" .Title }}
<li><a href="{{ .RelPermalink }}">{{ if .Params.list_title }}{{ .Params.list_title }}{{ else }}{{ $title }}{{ end }}</a></li>
<li><a href="{{ $url }}">{{ if .Params.list_title }}{{ .Params.list_title }}{{ else }}{{ $title }}{{ end }}</a> {{ $note | markdownify }}</li>
{{ end }}
<ul>