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