Skip to content

Commit

Permalink
DOCS: Updated write types.
Browse files Browse the repository at this point in the history
  • Loading branch information
cafferata committed Apr 3, 2024
1 parent 7536cf0 commit d7cac8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/generate/functionTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ var returnTypes = map[string]string{
}

var categories = map[string]string{
"domain": "domain-modifiers",
"global": "top-level-functions",
"record": "record-modifiers",
"domain-modifiers": "domain-modifiers",
"top-level-functions": "top-level-functions",
"record-modifiers": "record-modifiers",
}

var providerNames = map[string]string{
Expand All @@ -101,7 +101,7 @@ var providerNames = map[string]string{
func generateFunctionTypes() (string, error) {
funcs := []Function{}

srcRoot := join("documentation", "functions")
srcRoot := join("documentation", "language-reference")
types, err := os.ReadDir(srcRoot)
if err != nil {
return "", err
Expand Down

0 comments on commit d7cac8c

Please sign in to comment.