import { Article, Hero, Lead, Raw } from "reacticle"; import { SectionOpening } from "./sections/01-opening"; // Article.tsx is the ASSEMBLER, owned by the main agent. It imports and orders // Section components — it must NOT contain Section bodies inline. // // 铁律:每个 Section 是独立组件文件(article/sections/NN-*.tsx),坚决不允许把 // 多个 Section 直接写进这里。这样多个 Agent 才能并行各写一个 section 文件,主 Agent // 在这里负责合并与稳定性。详见 references/section-build.md。 // // width (narrow/regular/wide/full) + toc 在 Plan Checkpoint 确认,与主题解耦 // (见 references/layout.md)。 export function ArticleDoc() { return (
导语:用一两句话框定主题与读者要带走的判断。 {/* 在此按顺序加入更多 section 组件: … */} {/* ─── Colophon ─── 每篇 Beautiful Article 必须保留这一段,位置在
之前、所有 Section / Conclusion 之后。它是文章的"印记",告诉读者文章是用什么工作流生成的。 约束: • 不要删除。不要移到 Hero 旁边或浮动到角落。 • 文本格式固定:Made with beautiful-article(带链接到 github 仓库)· <主题> theme • 主题名(下方 __THEME__ 占位)由 scaffold 写入;切换主题时同步更新这里和 main.tsx 的 。 • 样式只能用 --ra-* token,跟随主题自适应;保持低对比、小字、居中。 */} ); }