summaryrefslogtreecommitdiff
path: root/docs/src/components/Examples/Functions/get-examples-headers.js
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-09-06 01:20:40 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-09-06 01:21:55 -0700
commit6dc05575a65bf6bdc6f52848d274b1f333a36076 (patch)
tree12ec4f4a8a469a7d92f2a127ed2e4d34013f6e7c /docs/src/components/Examples/Functions/get-examples-headers.js
parentd321d8366b597e46ff8e3fc63d17622a9297505c (diff)
downloadastro-6dc05575a65bf6bdc6f52848d274b1f333a36076.tar.gz
astro-6dc05575a65bf6bdc6f52848d274b1f333a36076.tar.zst
astro-6dc05575a65bf6bdc6f52848d274b1f333a36076.zip
scale back the examples page
Diffstat (limited to 'docs/src/components/Examples/Functions/get-examples-headers.js')
-rw-r--r--docs/src/components/Examples/Functions/get-examples-headers.js27
1 files changed, 0 insertions, 27 deletions
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