Import all nix files in a directory tree. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic inputs
at main 81 lines 2.1 kB view raw
1// @ts-check 2import { defineConfig, fontProviders } from 'astro/config'; 3import starlight from '@astrojs/starlight'; 4 5import mermaid from 'astro-mermaid'; 6import catppuccin from "@catppuccin/starlight"; 7 8// https://astro.build/config 9export default defineConfig({ 10 experimental: { 11 fonts: [ 12 { 13 provider: fontProviders.google(), 14 name: "Victor Mono", 15 cssVariable: "--sl-font", 16 }, 17 ], 18 }, 19 integrations: [ 20 mermaid({ 21 theme: 'forest', 22 autoTheme: true 23 }), 24 starlight({ 25 title: 'import-tree', 26 sidebar: [ 27 { 28 label: 'import-tree', 29 items: [ 30 { label: 'Overview', slug: 'overview' }, 31 { label: 'Motivation', slug: 'motivation' }, 32 { label: 'Community', slug: 'community' }, 33 { label: 'Contributing', slug: 'contributing' }, 34 { label: 'Sponsor', slug: 'sponsor' }, 35 ], 36 }, 37 { 38 label: 'Getting Started', 39 items: [ 40 { label: 'Quick Start', slug: 'getting-started/quick-start' }, 41 ], 42 }, 43 { 44 label: 'Guides', 45 items: [ 46 { label: 'Filtering Files', slug: 'guides/filtering' }, 47 { label: 'Transforming Paths', slug: 'guides/mapping' }, 48 { label: 'Custom API', slug: 'guides/custom-api' }, 49 { label: 'Outside Modules', slug: 'guides/outside-modules' }, 50 { label: 'Dendritic Pattern', slug: 'guides/dendritic' }, 51 ], 52 }, 53 { 54 label: 'Reference', 55 items: [ 56 { label: 'API Reference', slug: 'reference/api' }, 57 { label: 'Examples', slug: 'reference/examples' }, 58 ], 59 }, 60 ], 61 components: { 62 Sidebar: './src/components/Sidebar.astro', 63 Footer: './src/components/Footer.astro', 64 SocialIcons: './src/components/SocialIcons.astro', 65 PageSidebar: './src/components/PageSidebar.astro', 66 }, 67 plugins: [ 68 catppuccin({ 69 dark: { flavor: "macchiato", accent: "mauve" }, 70 light: { flavor: "latte", accent: "mauve" }, 71 }), 72 ], 73 editLink: { 74 baseUrl: 'https://github.com/vic/import-tree/edit/main/docs/', 75 }, 76 customCss: [ 77 './src/styles/custom.css' 78 ], 79 }), 80 ], 81});