cflmy e24314b77c
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
fix: one record per Tool in the download centre (marqdo#110)
Tools expose two archive formats for the same Linux x86_64 bundle, so the
platform table rendered one row per format and the standalone list repeated the
same tool. Each Tool now renders once: the platform row and the standalone entry
carry one download link per format (tar.gz / zip) and a single verification
disclosure covering both assets.
2026-12-03 11:26:10 +08:00

Marqdo 官网

迈启求道的品牌门户、文稿演示、下载中心与生态导航。站点由 Astro 静态生成,正式文档由 Gitea Wiki 维护——官网不再保存文档正文或站内搜索索引。

开发入口 · 基线与验收 · 运维 · 视觉重构工单 #84

npm ci
npm run check
npm test
npm run build     # astro build + scripts/verify-dist.mjs
npm run preview
npm run test:e2e  # 需要 Playwright Chromium

页面与视觉

  • 路由:/、/download/、/start/、/ecosystem/、/research/、/releases/、/feedback/、/about/、/privacy/,英文在 /en/ 下;/docs/ 与 /en/docs/ 是迁移页,直接指向 Wiki。
  • 设计规则集中在 src/styles/:tokens.css(语义颜色)、typography.css、layout.css(容器与节奏)、components.css(导航、页脚、按钮等)、home.css、demo.css。页面不得自行引入色值、字号或宽度。
  • 首页保留「从一篇文稿开始」的三栏演示(源码 / 知识阅读 / 交互计算)与四种查看模式;宽屏默认并排,窄屏默认单栏但保留全部模式。浏览器计算使用固定圆面积公式,与 CLI 实测证据分开陈述。
  • 页脚为双栏各自居中的结构:左栏项目与版权,右栏头像在上、姓名与联系方式纵向排列。

数据

构建只读消费主仓公开发行投影:npm run build:release 需要 MARQDO_DATA_ROOT_SHA、CI_COMMIT_SHA 与 MARQDO_DATA_RELEASE(根 Release 资产基址,缺省回退到生产源 /data/current.json),校验指针与不可变快照后随站点一起部署 /data/。缺少公开发行快照时,站点以明确的待核验状态与 noindex 发布,不伪造版本、资产或签名状态。

bash scripts/prepare-example.sh 在 Linux x86-64 核验固定 CLI / View 制品并生成示例静态导出;实测命令与结果记录在 docs/BASELINE.md。

部署

.woodpecker/ci.yml 负责 PR 与提交验收。.woodpecker/deploy-edgeone.yml 在受信 main 上构建并部署 EdgeOne Pages Preview 环境,用 scripts/verify-deploy.mjs 复核部署地址与关键页面;Production 发布仅在 manual 事件执行。源码不离开 Gitea,流水线只上传 dist/。

历史内容和页面保留在 legacy-source-v2.9.1 和 legacy-pages-v2.9.1。

S
Description
Official Marqdo website and versioned documentation distribution
Readme
3 MiB
0 Stars 1 Watchers 0 Forks
Languages
Astro 36.3%
JavaScript 20.9%
CSS 20.6%
Python 12.6%
TypeScript 9.2%
Other 0.4%