From 96cd514026fbaab9d2b954e211eb5990ba84fe8c Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Sun, 24 Oct 2021 14:27:59 -0500 Subject: [PATCH] Add initial function for Docs stats --- .../Education/UI/Function-Libraries/DocsStats.js | 14 ++++++++++++++ Projects/ProjectsSchema.json | 8 +++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Projects/Education/UI/Function-Libraries/DocsStats.js diff --git a/Projects/Education/UI/Function-Libraries/DocsStats.js b/Projects/Education/UI/Function-Libraries/DocsStats.js new file mode 100644 index 000000000..2c8760baf --- /dev/null +++ b/Projects/Education/UI/Function-Libraries/DocsStats.js @@ -0,0 +1,14 @@ +function newEducationFunctionLibraryDocsStats() { + let thisObject = { + printDocsStats: printDocsStats + } + + return thisObject + + function printDocsStats( + node, + rootNodes + ) { + console.log("this is our docs stats") + } +} diff --git a/Projects/ProjectsSchema.json b/Projects/ProjectsSchema.json index f016a2013..e280fe033 100644 --- a/Projects/ProjectsSchema.json +++ b/Projects/ProjectsSchema.json @@ -1084,7 +1084,13 @@ "functionName": "newEducationGlobalsDocs" } ], - "functionLibraries": [], + "functionLibraries": [ + { + "name": "Docs Statistics Functions", + "propertyName": "docsStatisticsFunctions", + "functionName": "newEducationFunctionLibraryDocsStats" + } + ], "utilities": [ { "name": "Languages",