From 02219f7877912c6868808414146282641e3714eb Mon Sep 17 00:00:00 2001 From: SatowTakeshi Date: Sat, 29 Feb 2020 18:44:05 +0900 Subject: [PATCH] Add minify config Fixes #6750 Updates #6892 --- data/docs.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/data/docs.json b/data/docs.json index 942f04fb0..2af976318 100644 --- a/data/docs.json +++ b/data/docs.json @@ -1451,6 +1451,35 @@ "footnoteAnchorPrefix": "", "footnoteReturnLinkContents": "" } + }, + "minifiers": { + "tdewolff": { + "enableHtml": true, + "enableCss": true, + "enableJs": true, + "enableJson": true, + "enableSvg": true, + "enableXml": true, + "html": { + "keepConditionalComments": true, + "keepDefaultAttrVals": true, + "keepDocumentTags": true, + "keepEndTags": true, + "keepWhitespace": false + }, + "css": { + "decimals": -1, + "keepCSS2": true + }, + "js": {}, + "json": {}, + "svg": { + "decimals": -1 + }, + "xml": { + "keepWhitespace": false + } + } } }, "media": { @@ -3192,6 +3221,12 @@ "Aliases": null, "Examples": null }, + "IsProduction": { + "Description": "", + "Args": null, + "Aliases": null, + "Examples": null + }, "Version": { "Description": "", "Args": null, @@ -3544,6 +3579,19 @@ ] ] }, + "Sqrt": { + "Description": "Sqrt returns the square root of a number.\nNOTE: will return for NaN for negative values of a", + "Args": [ + "a" + ], + "Aliases": null, + "Examples": [ + [ + "{{math.Sqrt 81}}", + "9" + ] + ] + }, "Sub": { "Description": "Sub subtracts two numbers.", "Args": [