Docs: document vg doctor checks and CI exit semantics

未关闭 适合新手
#262 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
80/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

阅读现有的 vg doctor、vg build 和 vg scan 文档,以及 issue #234 中跟踪的退出代码文档。添加对 runtime、grammars、graph cache 和 optional-module checks 的高层描述,并提供一个简短的 local-first 示例,以及有关 CI 通过和可采取行动的失败的指导。链接到 #234,而不是重复其完整的退出代码矩阵;当新人能够解读输出并决定后续步骤时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

documentation good first issue

Context

vg doctor is the natural “is this install healthy?” entry point for new users and CI images. Public docs should list what it checks, which exits mean “fix your environment,” and how it relates to vg build / vg scan without duplicating the full exit-code matrix already tracked elsewhere (#234).

What to do

  1. Document each doctor check category at a high level (runtime, grammars, graph cache, optional modules).
  2. Document exit code expectations for CI (pass vs actionable fail).
  3. Short vg doctor snippet; local-first; no secrets.

Acceptance

  • Newcomer can interpret doctor output and decide next steps
  • Cross-link exit-code docs (#234) rather than forking a second full matrix
  • DCO; prefer vg in examples
主要语言
TypeScript
星标
4
派生
3
平均合并
1 天 22 小时
30 天内合并 PR
76

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

vibgrate/cli 的其他 Issue

查看 vibgrate/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。