updated the contribution guidelines with extended children functionality

pull/46/head
Scott Anderson 2019-02-06 09:09:22 -07:00
parent 8d5a7f3bee
commit 9ffd486b72
1 changed files with 17 additions and 0 deletions

View File

@ -250,6 +250,23 @@ To automate the listing of articles in a section, use the `{{< children >}}` sho
{{< children >}}
```
The children shortcode can also be used to list only "section" articles (those with their own children),
or only "page" articles (those with no children) using the `show` argument:
```md
{{< children show="sections" >}}
<!-- OR -->
{{< children show="pages" >}}
```
_By default, it displays both sections and pages._
There is also a special use-case designed for listing Flux functions using the `type` argument:
```md
{{< children type="functions" >}}
```
### Reference content
The InfluxDB documentation is "task-based," meaning content primarily focuses on
what a user is **doing**, not what they are **using**.