style(docs): prevent file tree wrapping and collapse by default

This commit is contained in:
2026-07-26 22:24:49 -04:00
parent 19e5225254
commit 5b43f3bbd3
3 changed files with 54 additions and 48 deletions
+6
View File
@@ -15,6 +15,12 @@ export default defineConfig({
href: 'https://git.rootiest.dev/rootiest/fish-config',
},
],
head: [
{
tag: 'script',
content: 'document.addEventListener("DOMContentLoaded", () => { document.querySelectorAll("starlight-file-tree details").forEach(d => d.removeAttribute("open")); });',
},
],
customCss: ['./src/styles/catppuccin.css'],
expressiveCode: {
// Shiki ships both Catppuccin flavours; Starlight picks by the