Skip to content

chore: 双协议 — 代码 Apache-2.0 + 文档内容 CC BY-NC-SA 4.0#368

Merged
longsizhuo merged 2 commits into
mainfrom
chore/dual-license
Jul 18, 2026
Merged

chore: 双协议 — 代码 Apache-2.0 + 文档内容 CC BY-NC-SA 4.0#368
longsizhuo merged 2 commits into
mainfrom
chore/dual-license

Conversation

@longsizhuo

Copy link
Copy Markdown
Member

动机

主仓库此前整体用 CC BY-NC-SA 4.0,GitHub 因 NonCommercial 无法识别为标准开源协议(显示 NOASSERTION)。拆成双协议:软件代码走 OSI 开源,文档内容保留非商业保护

改动

部分 协议 文件
代码(app/ / lib/ / 组件 / 脚本 / 配置) Apache License 2.0 LICENSE
文档内容(content/docs/ CC BY-NC-SA 4.0 LICENSE-CONTENT
  • LICENSE 从 CC BY-NC-SA 换成 Apache-2.0(版权 InvolutionHell Organization and contributors)→ GitHub 徽章识别为开源
  • CC BY-NC-SA 全文迁到根 LICENSE-CONTENT放根目录,不藏进子目录,防只扫根目录的工具漏看 NC 限制),并在 content/docs/LICENSE 再放一份声明作用域
  • README / README.en.md 顶部写清分层
  • 内容侧 NC 保护不变;投稿内容仍默认 CC BY-NC-SA(CONTRIBUTING 无需改)

验证

  • pnpm build 通过,首页仍 ● /[locale] SSG;content/docs/LICENSE(无扩展名)不被 fumadocs 当页面扫入
  • pre-commit 52 vitest / 图片 / lockfile / frontmatter 检查全过

🤖 Generated with Claude Code

https://claude.ai/code/session_01USN2Liwrjd9TKVFJo5Za51

github-actions Bot added 2 commits July 18, 2026 17:49
代码走 Apache-2.0(OSI 开源,GitHub 徽章识别,满足 Claude for OSS);
content/docs/ 下的文档内容保留 CC BY-NC-SA 4.0(非商业保护不丢)。
NC 许可同时放在根目录 LICENSE-CONTENT 和 content/docs/LICENSE,
不藏进子目录,防只扫根目录的工具漏看。README 顶部写清分层。

原根 LICENSE(CC BY-NC-SA 全文)迁到 LICENSE-CONTENT;根 LICENSE 换成
Apache-2.0(版权 InvolutionHell Organization and contributors)。
Copilot AI review requested due to automatic review settings July 18, 2026 17:50
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
involutionhell-github-io Ready Ready Preview, Comment Jul 18, 2026 6:10pm
website-preview Ready Ready Preview, Comment Jul 18, 2026 6:10pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@longsizhuo
longsizhuo merged commit a051f04 into main Jul 18, 2026
7 of 9 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.

2 participants