完整目录结构
CODEtext
ictstu/├── astro.config.mjs # Astro 配置文件├── package.json # 项目依赖与脚本├── tailwind.config.js # Tailwind CSS 配置├── tsconfig.json # TypeScript 配置├── public/ # 静态资源(直接复制到 dist/)│ ├── favicon.ico│ ├── robots.txt│ ├── search-index.json│ └── *.woff / *.woff2 # 字体文件├── scripts/ # 构建与工具脚本│ ├── build.js # 构建包装脚本│ └── generate-search-index.js # 搜索索引生成├── src/ # 源代码│ ├── content.config.ts # 内容集合定义│ ├── components/ # Astro 组件│ │ ├── AuthorCard.astro│ │ ├── BilibiliPlayer.astro│ │ ├── Callout.astro│ │ ├── CodeBlock.astro│ │ ├── CodeBlock.types.ts│ │ ├── ComparisonTable.astro│ │ ├── Copyright.astro│ │ ├── DownloadCard.astro│ │ ├── FAQ.astro│ │ ├── LinkButton.astro│ │ ├── References.astro│ │ ├── StepCard.astro│ │ └── Timeline.astro│ ├── config/ # 站点配置│ │ ├── sections.json # 栏目与路由配置│ │ ├── navigation.json # 导航菜单配置│ │ ├── site.config.json # 站点全局配置│ │ ├── announcements.json # 公告配置│ │ ├── categories.json # 分类配置│ │ ├── footer.json # 页脚配置│ │ └── ads.json # 广告位配置│ ├── content/ # 内容集合(MDX 文章)│ │ ├── cloud/ # 云计算│ │ │ ├── Ansible/│ │ │ ├── FusionCompute/│ │ │ ├── Kubernetes/│ │ │ ├── OpenStack/│ │ │ └── container/│ │ ├── network/ # 网络技术│ │ │ ├── build-netlab/│ │ │ └── basic-labs/│ │ ├── os/ # 操作系统│ │ │ ├── openeuler/│ │ │ ├── openeuler-labs/│ │ │ └── windows/│ │ ├── tech/ # 技术文章│ │ ├── eve-ng/ # EVE-NG 手册│ │ ├── eid/ # EID 手册│ │ └── project-manual/ # 项目手册│ ├── layouts/ # 页面布局组件│ │ ├── BaseLayout.astro # 全局基础布局│ │ ├── ArticleLayout.astro # 文章详情页布局│ │ ├── SectionIndexLayout.astro # 栏目首页布局│ │ ├── SubSectionLayout.astro # 子栏目布局│ │ └── TechIndexLayout.astro # 技术文章首页布局│ ├── pages/ # 页面路由│ │ ├── index.astro # 首页│ │ ├── 404.astro # 404 页面│ │ ├── [section]/ # 栏目首页路由│ │ ├── [section]/[subsection]/[slug].astro # 通用文章路由│ │ ├── tech/[slug].astro # 技术文章路由│ │ ├── eid/index.astro # EID 宣传页│ │ ├── components.astro # 组件展示页│ │ ├── codeblock-demo.astro # CodeBlock 演示页│ │ ├── manuals/ # 手册独立路由│ │ │ ├── eve-ng/[slug].astro│ │ │ ├── ictstu/[slug].astro│ │ │ └── eid/[slug].astro│ │ ├── rss.xml.ts # RSS Feed│ │ └── sitemap.xml.ts # 站点地图│ ├── styles/ # 全局样式│ │ ├── global.css│ │ ├── theme-colors.css│ │ └── code-blocks.css│ └── utils/ # 工具函数│ ├── content.ts # 内容集合工具│ ├── remark-callout.js│ ├── rehype-callout.js│ ├── remark-markdown-in-text.js│ ├── remark-fix-links.js│ ├── rehype-decode-urls.js│ ├── rehype-fix-truncated-links.js│ └── rehype-add-img-alt.js└── dist/ # 构建输出(部署目录)