Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

add version dropdown

+22
+5
docs/src/components/SocialIcons.astro
··· 2 2 3 3 import Default from '@astrojs/starlight/components/SocialIcons.astro'; 4 4 5 + import Versions from './Versions.astro'; 5 6 --- 7 + 8 + <Versions /> 6 9 7 10 <a href="/releases#bleeding-edge-den"><img src="https://img.shields.io/badge/main-HeadsUp-ff7600?logo=tip&logoColor=white" alt="Sponsor Den"/> 8 11 ··· 11 14 <a href="https://deepwiki.com/vic/den"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> 12 15 13 16 <Default /> 17 + 18 +
+16
docs/src/components/Versions.astro
··· 1 + --- 2 + import versions from './versions.json'; 3 + --- 4 + 5 + <select id="versions"> 6 + <option value="/">main</option> 7 + {versions.map(v => <option value={"/"+v.name.replace("docs-","")}>{v.name.replace("docs-","")}</option>)} 8 + </select> 9 + 10 + <script> 11 + const versions = document.getElementById("versions"); 12 + versions.addEventListener("change", _ => { document.location.pathname = versions.value; }); 13 + document.querySelectorAll("#versions options").map(opt => { 14 + if (document.location.pathname.startsWith(opt.value)) { opt.selected = "selected"; } 15 + }); 16 + </script>
+1
docs/src/components/versions.json
··· 1 + [ ]