shithub: hugo

Download patch

ref: 23adc0c2d96d33b426836b09683d2440d6186728
parent: 461b0e066f8b7a38f8e69f118e8c020e20b09a13
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Wed Jul 24 05:39:12 EDT 2019

docs: Regenerate data helpers

--- a/docs/data/docs.json
+++ b/docs/data/docs.json
@@ -299,6 +299,13 @@
         ]
       },
       {
+        "Name": "D",
+        "Aliases": [
+          "d",
+          "di"
+        ]
+      },
+      {
         "Name": "DTD",
         "Aliases": [
           "dtd"
@@ -501,6 +508,12 @@
         ]
       },
       {
+        "Name": "HCL",
+        "Aliases": [
+          "hcl"
+        ]
+      },
+      {
         "Name": "HTML",
         "Aliases": [
           "htm",
@@ -579,13 +592,6 @@
         ]
       },
       {
-        "Name": "JSX",
-        "Aliases": [
-          "jsx",
-          "react"
-        ]
-      },
-      {
         "Name": "Java",
         "Aliases": [
           "java"
@@ -1299,6 +1305,13 @@
         ]
       },
       {
+        "Name": "react",
+        "Aliases": [
+          "jsx",
+          "react"
+        ]
+      },
+      {
         "Name": "reg",
         "Aliases": [
           "reg",
@@ -1319,6 +1332,13 @@
           "v",
           "verilog"
         ]
+      },
+      {
+        "Name": "vue",
+        "Aliases": [
+          "vue",
+          "vuejs"
+        ]
       }
     ]
   },
@@ -2557,6 +2577,26 @@
             "last"
           ],
           "Examples": []
+        },
+        "Merge": {
+          "Description": "Merge creates a copy of dst and merges src into it.\nCurrently only maps supported. Key handling is case insensitive.",
+          "Args": [
+            "src",
+            "dst"
+          ],
+          "Aliases": [
+            "merge"
+          ],
+          "Examples": [
+            [
+              "{{ dict \"title\" \"Hugo Rocks!\" | collections.Merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") | sort }}",
+              "[Yes, Hugo Rocks! Hugo Rocks!]"
+            ],
+            [
+              "{{  merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") | sort }}",
+              "[Yes, Hugo Rocks! Hugo Rocks!]"
+            ]
+          ]
         },
         "NewScratch": {
           "Description": "NewScratch creates a new Scratch which can be used to store values in a\nthread safe way.",