From 6dc05575a65bf6bdc6f52848d274b1f333a36076 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 6 Sep 2021 01:20:40 -0700 Subject: scale back the examples page --- .../Examples/Functions/get-examples-headers.js | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 docs/src/components/Examples/Functions/get-examples-headers.js (limited to 'docs/src/components/Examples/Functions/get-examples-headers.js') diff --git a/docs/src/components/Examples/Functions/get-examples-headers.js b/docs/src/components/Examples/Functions/get-examples-headers.js deleted file mode 100644 index 9b75d2e5d..000000000 --- a/docs/src/components/Examples/Functions/get-examples-headers.js +++ /dev/null @@ -1,27 +0,0 @@ -// import {templatesList as data} from './templatesList.ts' -import templateData from './get-examples-data.js' -const data = await templateData() -console.log(data) - -// const examplesHeaders = data.map(section=>{ -// let arr = [] -// let obj = { -// depth:2, -// slug:section.title, -// text:section.title, -// } -// arr.push(obj) - -// section.children.map(example=>{ -// let obj={ -// depth:3, -// slug:example.text, -// text:example.text, -// } -// arr.push(obj) -// }) -// return [...arr] -// }).flat(2) - - -// export default examplesHeaders \ No newline at end of file -- cgit v1.2.3