Skip to content

feat: launch OpenEPD 4.7 documentation website - #1

Merged
Hailaylin merged 3 commits into
mainfrom
codex/website-mvp
Jul 29, 2026
Merged

Hailaylin merged 3 commits into
mainfrom
codex/website-mvp

Conversation

@Hailaylin

Copy link
Copy Markdown
Contributor

Summary / 概要

  • 建立纸张/墨水风格的 OpenEPD 4.7 首页、Starlight 中文文档与项目展示
  • 建立含授权状态、SHA-256 和来源标注的资料中心,GT911 数据手册仅保留外链
  • 增加 GitHub Issue Form、网站 CI 与 GitHub Pages 自动部署
  • 修复 Git 换行归一化导致的参考资料字节变更,保证 108 份导入文件哈希一致

Verification / 验证

  • bun run check:通过
  • bun run test:unit:5/5 通过
  • bun run test:e2e:13/13 通过
  • bun run build:13 个静态页面构建成功
  • Invoke-Pester scripts/tests/prepare-materials.Tests.ps1:6/6 通过
  • Invoke-Pester scripts/tests/repository-integrity.Tests.ps1:1/1 通过

@Hailaylin
Hailaylin merged commit e1fd16f into main Jul 29, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b6d6cfb22c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +28 to +29
repository: 'https://github.com/exomind-team/openepd-47/tree/main/driver/reference',
status: '可运行',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove the nonexistent runnable driver entry

This entry is shown to users as “可运行”, but its repository URL points to driver/reference, which does not exist anywhere in the repository; the only imported ebook firmware is under materials/reference-firmware/ebook/, and it explicitly lacks the GT911 integration claimed in the summary. The project card therefore sends users to a 404 while falsely presenting unfinished reference material as a working driver.

AGENTS.md reference: AGENTS.md:L7-L12

Useful? React with 👍 / 👎.

Comment on lines +44 to +46
if (!redistribution) errors.push(`${id}: redistribution 不能为空`);

if (sourceType === 'external-link') {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject unknown provenance and authorization values

When a resource contains a typo or unsupported value such as sourceType: external_link or redistribution: authorzied, this validator accepts it as long as the field is nonempty. Because the YAML is only type-cast later, such records pass CI and are then classified by the catalog's fallback branches, potentially presenting an external document as a local mirror or displaying the wrong authorization status; validate both fields against their closed sets.

AGENTS.md reference: AGENTS.md:L35-L36

Useful? React with 👍 / 👎.

Comment thread website/package.json
Comment on lines +8 to +10
"build": "astro check && astro build",
"preview": "astro preview",
"check": "astro check && bun run validate:resources",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Run resource validation in the production build

When bun run build is invoked directly—including by the Pages build in .github/workflows/pages.yml—it runs only Astro checks and compilation, while file existence and SHA-256 validation live in the separate check script. A direct push or manual Pages dispatch can therefore successfully deploy entries whose downloads are missing or corrupted; make the production build invoke validate:resources rather than relying solely on the pull-request workflow.

AGENTS.md reference: AGENTS.md:L32-L36

Useful? React with 👍 / 👎.

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