删除多个完成报告文件,优化项目结构以提升可维护性。
This commit is contained in:
@@ -49,7 +49,7 @@ function pickRepresentativeReadIds(): { id: string; title: string; group: string
|
||||
export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
const pages: DocumentationPage[] = [
|
||||
{
|
||||
path: "/",
|
||||
path: "/view",
|
||||
title: "首页",
|
||||
subtitle: "应用主入口",
|
||||
caption:
|
||||
@@ -58,7 +58,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 1,
|
||||
},
|
||||
{
|
||||
path: "/chapters",
|
||||
path: "/view/chapters",
|
||||
title: "目录页",
|
||||
subtitle: "章节浏览与导航",
|
||||
caption:
|
||||
@@ -67,7 +67,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 2,
|
||||
},
|
||||
{
|
||||
path: "/about",
|
||||
path: "/view/about",
|
||||
title: "关于页面",
|
||||
subtitle: "作者与产品介绍",
|
||||
caption: "关于页面展示作者信息、产品理念、运营数据等,帮助用户建立对内容的信任和理解。",
|
||||
@@ -75,7 +75,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 3,
|
||||
},
|
||||
{
|
||||
path: "/my",
|
||||
path: "/view/my",
|
||||
title: "个人中心",
|
||||
subtitle: "用户账户入口",
|
||||
caption: "个人中心聚合用户的账户信息、购买记录、分销收益等功能入口,是用户管理个人信息的核心页面。",
|
||||
@@ -83,7 +83,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 4,
|
||||
},
|
||||
{
|
||||
path: "/my/purchases",
|
||||
path: "/view/my/purchases",
|
||||
title: "我的购买",
|
||||
subtitle: "已购内容管理",
|
||||
caption: "展示用户已购买的所有章节,包括购买时间、解锁进度,用户可快速跳转到已购内容继续阅读。",
|
||||
@@ -91,7 +91,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 5,
|
||||
},
|
||||
{
|
||||
path: "/my/settings",
|
||||
path: "/view/my/settings",
|
||||
title: "账户设置",
|
||||
subtitle: "个人信息配置",
|
||||
caption: "用户可在此页面管理个人基础信息、通知偏好、隐私设置等账户相关配置。",
|
||||
@@ -99,7 +99,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 6,
|
||||
},
|
||||
{
|
||||
path: "/my/referral",
|
||||
path: "/view/my/referral",
|
||||
title: "分销中心",
|
||||
subtitle: "邀请与收益管理",
|
||||
caption: "分销中心展示用户的专属邀请链接、邀请人数统计、收益明细,支持一键分享到朋友圈或Soul派对。",
|
||||
@@ -123,7 +123,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
order: 9,
|
||||
},
|
||||
{
|
||||
path: "/docs",
|
||||
path: "/view/docs",
|
||||
title: "开发文档",
|
||||
subtitle: "技术与配置说明",
|
||||
caption: "面向开发者和运营人员的技术文档,包含支付接口配置说明、分销规则详解、提现流程等内容。",
|
||||
@@ -136,7 +136,7 @@ export function getDocumentationCatalog(): DocumentationPage[] {
|
||||
for (let i = 0; i < readPicks.length; i++) {
|
||||
const pick = readPicks[i]
|
||||
pages.push({
|
||||
path: `/read/${encodeURIComponent(pick.id)}`,
|
||||
path: `/view/read/${encodeURIComponent(pick.id)}`,
|
||||
title: pick.title,
|
||||
subtitle: "章节阅读",
|
||||
caption: "阅读页面展示章节的完整内容,未购买用户可预览部分内容,付费墙引导购买解锁全文。",
|
||||
|
||||
@@ -33,7 +33,7 @@ export async function captureScreenshots(
|
||||
for (const pageInfo of pages) {
|
||||
const page = await browser.newPage({ viewport: options.viewport })
|
||||
try {
|
||||
const captureUrl = new URL("/documentation/capture", options.baseUrl)
|
||||
const captureUrl = new URL("/view/documentation/capture", options.baseUrl)
|
||||
captureUrl.searchParams.set("path", pageInfo.path)
|
||||
|
||||
console.log(`[Karuo] Capturing: ${pageInfo.path}`)
|
||||
|
||||
Reference in New Issue
Block a user