Skip to content

修复:移除 README 中可见的 Jekyll 属性表 - #7

Merged
estelledc merged 1 commit into
masterfrom
codex/fix-readme-frontmatter
Jul 28, 2026
Merged

修复:移除 README 中可见的 Jekyll 属性表#7
estelledc merged 1 commit into
masterfrom
codex/fix-readme-frontmatter

Conversation

@estelledc

Copy link
Copy Markdown
Owner

问题

README.md 和生成的 labs/**/README.md 带有 Jekyll front matter。GitHub 仓库页会把它渲染成属性表,遮住正文开头。

修复

  • 所有 GitHub-facing README 改为纯 Markdown
  • Pages 继续通过 jekyll-readme-index 把 README 渲染为目录首页
  • 课程生成器不再向实验 README 写入 front matter
  • 站点检查新增回归规则:README 以 --- 开头时直接失败
  • Pages 不再复制原始 README 文件

验证

  • GitHub Markdown API:根 README 和实验 README 的首个元素均为 <h1>,无属性表
  • uv run agent-lab verify
    • 37/37 tests
    • coverage 91.26%
    • 18/18 fast eval case-runs
  • Jekyll production build
  • 43 HTML files / 67 internal links,HTML-Proofer 通过
  • 首页 title、description、OG image 保持不变

@estelledc
estelledc merged commit c8faf3f into master Jul 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant