地月空间入门指南地月空间入门指南
  • 卫星轨道仿真教学平台
  • 史学思辨
地月空间术语词典
资源与工具
Space News
AI问答
论坛
首页
Gitee
GitHub
  • 简体中文
  • English
  • 卫星轨道仿真教学平台
  • 史学思辨
地月空间术语词典
资源与工具
Space News
AI问答
论坛
首页
Gitee
GitHub
  • 简体中文
  • English
  • 全站导览

    • 首页(知识总览)
    • 地月空间是什么
    • 飞行器运行轨道
    • 科研方向与机构
    • 术语 · 定义与概念
    • 数据与代码
    • 航天新闻归档

CONTEXT — Web (VuePress)

This file captures the web context domain vocabulary for VuePress configuration, theme, plugins, and build tooling.

Glossary

VuePress

The static site generator used to build this knowledge base. VuePress 2 + Vue 3 + Vite. See web/.vuepress/config.ts for the main configuration.

Theme

The custom theme extends @vuepress/theme-default at web/.vuepress/theme2/. It overrides Layout.vue and VPSidebar.vue via alias, and provides custom layouts for Space News, AI Chat, and Dialectic surfaces.

Sidebar

The sidebar configuration is generated from multiple sources:

  • Manual section definitions in web/.vuepress/sidebar/data.ts
  • Auto-generated JSON artifacts: sidebar.auto.json, sidebar-glossary.auto.json
  • Runtime construction in web/.vuepress/sidebar/config.ts

Taxonomy Module

The unified taxonomy module at web/.vuepress/taxonomy/ owns all taxonomy data and exposes typed views consumed by every site surface. See ADR-0001.

Generators

Build-time generators in web/.vuepress/generators/ produce JSON artifacts:

  • space-news.ts — Space News sidebar, articles, and sidebar data
  • ai-chat.ts — AI Chat context and index
  • glossary.ts — Glossary sidebar and translation gaps
  • bibliography.ts — Bibliography from ref.bib

Intakes

Build-time data collection in web/.vuepress/intakes/:

  • glossary-intake.ts — scans glossary markdown files
  • chat-index-intake.ts — builds AI chat index from taxonomy
  • translation-gap-intake.ts — identifies missing glossary translations

Content Families

The site has four content families:

  1. Knowledge-base sections — web/what-is-cislunarspace/, web/cislunar-orbits/, etc.
  2. Glossary — web/glossary/, web/en/glossary/
  3. Space News — web/space-news/YYYY/MM/, web/en/space-news/YYYY/MM/
  4. Special surfaces — web/ai-chat.md, web/dialectic.md, web/forum.md

Build Pipeline

npm run docs:build runs three steps:

  1. generate.ts (npm run gen-sidebar) — generates all JSON artifacts
  2. vuepress build — builds static site
  3. sync-figures.js (npm run sync-figures) — copies figures/ dirs into dist/

Deployment

Nginx serves from web/.vuepress/dist/ with SPA fallback. Config at web/deploy/nginx-ai-proxy.conf. The /api/ai/ path proxies to DeepSeek API.

完善页面
最近更新: 2026/7/26 15:32
Contributors: ouyangjiahong
地月空间入门指南
地月空间入门指南探索地月空间知识
在 GitHub 查看

导航

  • 首页
  • 关于本站
  • 航天动态
  • 术语表

内容

  • 地月轨道
  • 研究前沿
  • 资源工具

English

  • Home
  • About
  • Space News
  • Glossary

关注我们

© 2026 地月空间入门指南  |  湘ICP备2026006405号-1
友情链接:智慧学习助手 UStudy航天任务工具箱 ATK
微信公众号
欢迎关注天疆说扫码关注,手机获取航天资讯