added view all flux functions doc
parent
c6ea4639fa
commit
cb71fe1699
|
@ -8,4 +8,6 @@ menu:
|
||||||
weight: 299
|
weight: 299
|
||||||
---
|
---
|
||||||
|
|
||||||
|
This list below contains all documented Flux functions:
|
||||||
|
|
||||||
{{< list-all-functions >}}
|
{{< list-all-functions >}}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $pages.ByWeight }}
|
{{ range $pages.ByWeight }}
|
||||||
{{ $title := replaceRE `\(\)\ function` "" .Title }}
|
{{ $title := replaceRE `\ function` "" .Title }}
|
||||||
<li><a href="{{ .RelPermalink }}">{{ $title }}</a></li>
|
<li><a href="{{ .RelPermalink }}">{{ $title }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
{{ $currentVersion := (index (findRE "[^/]+.*?" .Page.URL) 0) }}
|
{{ $currentVersion := (index (findRE "[^/]+.*?" .Page.URL) 0) }}
|
||||||
{{ $menuID := print (replaceRE `\.` "_" $currentVersion) "_ref" }}
|
|
||||||
{{ $functionsPath := print "/" $currentVersion "/reference/flux/functions" }}
|
{{ $functionsPath := print "/" $currentVersion "/reference/flux/functions" }}
|
||||||
|
|
||||||
{{ $currentVersion}}
|
<ul>
|
||||||
{{ $menuID }}
|
{{ range where $.Site.RegularPages.ByTitle "Section" $currentVersion }}
|
||||||
{{ $functionsPath }}
|
{{ if in .Title "() function" }}
|
||||||
|
{{ $title := replaceRE `\ function` "" .Title }}
|
||||||
|
<li>
|
||||||
|
<a href="{{ .URL }}">{{ $title }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue