207b56bf69
feat: add headless mode support for electron
...
- Add --headless flag to run electron without GUI
- Add startup logging for debugging
- Improve headless mode exit handling (auto-exit after 5s)
- Refactor args variable to argsGlobal for clarity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 15:58:36 +08:00
2f24b0f522
feat: add HTTP server and port argument support for electron
2026-03-19 14:49:25 +08:00
7c7b9ea1c6
fix: persist docs config to localStorage
...
- Save docsPath, externalDocs, and selectedPath to localStorage
- Restore state when component mounts
- Fix data loss when switching pages
2026-03-19 12:46:46 +08:00
58a83f445a
fix: improve doc link navigation and tree display
...
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00
e003fe6513
Revert "fix: hide docs in leaf directories from tree display"
...
This reverts commit d95e6c11ec .
2026-03-18 20:30:47 +08:00
d95e6c11ec
fix: hide docs in leaf directories from tree display
2026-03-18 20:30:31 +08:00
c0e0f91aa4
Revert "fix: filter depth >= 3 from tree display"
...
This reverts commit 845c91f676 .
2026-03-18 20:27:56 +08:00
845c91f676
fix: filter depth >= 3 from tree display
2026-03-18 20:27:40 +08:00
66c3f8596d
fix: filter same-name docs from tree display, keep in externalDocs for folder click
2026-03-18 20:24:45 +08:00
86f84d4349
Revert "fix: only show docs with depth < 3 in tree, hide nested leaf docs"
...
This reverts commit 12c9947130 .
2026-03-18 20:23:11 +08:00
12c9947130
fix: only show docs with depth < 3 in tree, hide nested leaf docs
2026-03-18 20:22:39 +08:00
3e7ae05cfe
fix: strip api/ prefix from externalDocs, remove harmful filtering, fix nested folder click
2026-03-18 20:17:59 +08:00
753783ddd0
fix: handle nested folder click with endsWith match
2026-03-18 20:14:54 +08:00
8a7f9ad6e8
fix: folder click shows overview doc, add same-name filter, move + to header
2026-03-18 20:13:30 +08:00
c3ecebea89
style: add VS Code tree view for doc sidebar and improve typography
2026-03-18 19:26:46 +08:00
683b3d66ab
style: simplify doc content styling with minimal design
2026-03-18 18:54:44 +08:00
d66f5b09e6
feat: migrate to react-markdown for robust markdown rendering
...
- Replace custom markdown parser with react-markdown + remark-gfm
- Fix document link navigation (./ and ../ references)
- Simplify doc viewing flow (direct markdown content instead of parsed structure)
- Update electron main process to only use api folder for docs
- Add blueprint loading from docs/blueprint.md dynamically
- Fix sidebar file selection path matching
- Update preload scripts for new API structure
2026-03-18 18:50:26 +08:00
4898ee5434
fix: add null checks to parsers and fix docs path
2026-03-18 16:13:57 +08:00
ff48936402
fix: improve parser robustness
2026-03-18 15:46:44 +08:00
14fbd07462
fix: correct dist path for packaged electron app
2026-03-18 15:33:08 +08:00
53d4f2aa94
fix: use ESM imports instead of require in Electron main
2026-03-18 15:27:24 +08:00
b68f93329c
chore: add release to gitignore and remove from repo
2026-03-18 15:06:13 +08:00
3d703ba7ef
feat: add Electron support for headless exe service
...
- Add folder selection button in UI
- Add Electron main process with IPC handlers
- Support --port and --docs command line arguments
- Support --headless mode for headless service
- Add portable exe build configuration
2026-03-18 15:05:37 +08:00
5fd9274039
fix: use indent check to avoid parsing params as modules/subsystems
2026-03-18 14:49:49 +08:00
ace133f0b7
fix: rewrite parser to correctly parse parent_subsystem and module hierarchy
2026-03-18 14:46:40 +08:00
6c7ba142ba
fix: remove TASKS, CONSTRAINTS, EVOLUTION_PLAN from blueprint MD
2026-03-18 14:41:22 +08:00
ae044f61d2
feat: load 3D blueprint from MD file instead of hardcoded data
2026-03-18 14:37:55 +08:00
7139dee794
fix: revert nav label to API 文档
2026-03-18 14:28:06 +08:00
f80e8dade6
fix: change project title to XCSDD
2026-03-18 14:26:55 +08:00
2e23977669
fix: rename API Docs to XCSDD
2026-03-18 14:24:24 +08:00
49bc08b9f7
feat: merge XCBluePrint 3D visualization into project
2026-03-18 14:22:07 +08:00
5d52c2002e
Merge branch 'master' of http://146.56.248.142:8081/xuanchi/XCSDD
2026-03-18 14:09:29 +08:00
f2fa697c68
Initial commit: add project files and README
2026-03-18 14:09:06 +08:00
d5290c3cfc
fix: 修复相对路径 @see 链接跳转
2026-03-18 13:46:17 +08:00
c5649b3eba
refactor: 改为从 docs 目录动态读取 md 文件,支持目录层级
2026-03-18 13:43:45 +08:00
351557a19b
Initial commit: XCEngine API Docs Viewer
2026-03-18 13:09:14 +08:00