diff --git a/public/icons/chevrons-left.svg b/public/icons/chevrons-left.svg deleted file mode 100644 index 97b25ba..0000000 --- a/public/icons/chevrons-left.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/components/widgets/docs/Sidebar.astro b/src/components/widgets/docs/Sidebar.astro index 15d8688..a8580bf 100644 --- a/src/components/widgets/docs/Sidebar.astro +++ b/src/components/widgets/docs/Sidebar.astro @@ -1,13 +1,9 @@ --- import type { MarkdownInstance } from "astro"; -import leftArrow from "/icons/chevrons-left.svg"; import rightArrow from "/icons/chevrons-right.svg"; const files = await Astro.glob("../../../pages/docs/items/**/*.md"); -for (let i = 0; i < 100; i++) { - files.push(files[0]); -} const sections = files.reduce((acc, file) => { const category: string = file.url!.split("/")[3]; @@ -22,7 +18,7 @@ const sections = files.reduce((acc, file) => { const categories = Object.keys(sections); --- -