@@ -5,10 +5,44 @@ import mdx from "@astrojs/mdx";
55import tailwindcss from "@tailwindcss/vite" ;
66import pagefind from "astro-pagefind" ;
77import cxjs from "./src/integrations/cxjs" ;
8+ import astroLlmsTxt from "@4hse/astro-llms-txt" ;
89
910// https://astro.build/config
1011export default defineConfig ( {
11- integrations : [ cxjs ( ) , react ( ) , mdx ( ) , pagefind ( ) ] ,
12+ site : "https://cxjs.io" ,
13+ integrations : [
14+ cxjs ( ) ,
15+ react ( ) ,
16+ mdx ( ) ,
17+ pagefind ( ) ,
18+ astroLlmsTxt ( {
19+ title : "CxJS" ,
20+ description :
21+ "CxJS is a feature-rich JavaScript framework for building complex web front-ends, such as BI tools, dashboards and admin apps." ,
22+ details :
23+ "CxJS offers declarative data binding, comprehensive widget library, advanced charting capabilities, and flexible theming system." ,
24+ notes :
25+ "- This content is auto-generated from the official CxJS documentation." ,
26+ docSet : [
27+ {
28+ title : "Complete Documentation" ,
29+ description : "Full CxJS documentation including all guides and API references" ,
30+ url : "/llms-full.txt" ,
31+ include : [ "docs/" , "docs/**" ] ,
32+ promote : [ "docs/intro/what-is-cxjs" , "docs/intro/installation" ] ,
33+ } ,
34+ {
35+ title : "Documentation Structure" ,
36+ description : "Index of key documentation pages and sections" ,
37+ url : "/llms-small.txt" ,
38+ include : [ "docs/" , "docs/**" ] ,
39+ onlyStructure : true ,
40+ promote : [ "docs/intro/what-is-cxjs" ] ,
41+ } ,
42+ ] ,
43+ pageSeparator : "\n\n---\n\n" ,
44+ } ) ,
45+ ] ,
1246 build : {
1347 format : "directory" ,
1448 } ,
0 commit comments