- Created package.json for Docus with necessary scripts and dependencies. - Implemented sync-docus-docs.mjs to automate the generation of documentation files from source markdown. - Defined mappings for generated pages and virtual routes to ensure proper linking in documentation. - Added static content files for the documentation structure, including navigation and index pages.
2 lines
790 B
JavaScript
2 lines
790 B
JavaScript
import{u as p,_}from"./n8vERajx.js";import{d as m,aO as d,aS as v,b5 as f,ba as g,s,a as b,f as y,b6 as C,b8 as h,c as I,o as w}from"./B3fabVUf.js";import"./BN_7HF1G.js";const N=m({__name:"landing",async setup(x){let a,t;const n=d(),{locale:u,isEnabled:c}=v(),o=I(()=>c.value?`landing_${u.value}`:"landing"),{data:e}=([a,t]=f(()=>C(o.value,()=>h(o.value).path(n.path).first(),"$KuVI-rcQns")),a=await a,t(),a);if(!e.value)throw g({statusCode:404,statusMessage:"Page not found",fatal:!0});const l=e.value.seo?.title||e.value.title,r=e.value.seo?.description||e.value.description;return p({title:l,description:r,type:"website",ogImage:e.value?.seo?.ogImage}),e.value?.seo?.ogImage,(k,A)=>{const i=_;return s(e)?(w(),b(i,{key:0,value:s(e)},null,8,["value"])):y("",!0)}}});export{N as default};
|