diff options
author | 2021-09-06 01:20:40 -0700 | |
---|---|---|
committer | 2021-09-06 01:21:55 -0700 | |
commit | 6dc05575a65bf6bdc6f52848d274b1f333a36076 (patch) | |
tree | 12ec4f4a8a469a7d92f2a127ed2e4d34013f6e7c /docs/src/components/Examples/Functions/get-examples-headers.js | |
parent | d321d8366b597e46ff8e3fc63d17622a9297505c (diff) | |
download | astro-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.js | 27 |
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 |