view all functions list WIP
parent
d7f4cc6bcb
commit
c6ea4639fa
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
title: Complete list of Flux functions
|
||||||
|
description: View the full library of documented Flux functions.
|
||||||
|
menu:
|
||||||
|
v2_0_ref:
|
||||||
|
name: View all functions
|
||||||
|
parent: Flux functions
|
||||||
|
weight: 299
|
||||||
|
---
|
||||||
|
|
||||||
|
{{< list-all-functions >}}
|
|
@ -1,33 +0,0 @@
|
||||||
{{ $category := (.Get "category") }}
|
|
||||||
{{ $menu := (.Get "menu")}}
|
|
||||||
<ul>
|
|
||||||
{{ range (index .Site.Menus $menu) }}
|
|
||||||
{{ if .HasChildren}}
|
|
||||||
{{ range .Children }}
|
|
||||||
{{ if eq .Parent $category }}
|
|
||||||
{{ if not .HasChildren }}
|
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if .HasChildren}}
|
|
||||||
{{ range .Children }}
|
|
||||||
{{ if eq .Parent $category }}
|
|
||||||
{{ if not .HasChildren }}
|
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if .HasChildren}}
|
|
||||||
{{ range .Children }}
|
|
||||||
{{ if eq .Parent $category }}
|
|
||||||
{{ if not .HasChildren }}
|
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{ $currentVersion := (index (findRE "[^/]+.*?" .Page.URL) 0) }}
|
||||||
|
{{ $menuID := print (replaceRE `\.` "_" $currentVersion) "_ref" }}
|
||||||
|
{{ $functionsPath := print "/" $currentVersion "/reference/flux/functions" }}
|
||||||
|
|
||||||
|
{{ $currentVersion}}
|
||||||
|
{{ $menuID }}
|
||||||
|
{{ $functionsPath }}
|
Loading…
Reference in New Issue