publish: 发布链路冒烟测试

This commit is contained in:
2026-08-29 15:12:00 +08:00
parent 38ab653512
commit 5d176ee794
2 changed files with 107 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# 发布链路冒烟测试
这是一篇用于验证「写作 → 发布 → 公开分享」链路的测试文章。
## 测试目标
- Markdown 原文落盘到 `content/`
- 自包含 HTML 阅读页生成到 `public/`
- 短链接在 `share.stoneji.cc` 原地返回 `200 text/html`,不跳转
- Gitea 自动渲染的 Markdown 页面作为备用入口
## 环境信息
| 项目 | 值 |
| --- | --- |
| 生成时间 | 2026-08-29 15:11UTC+8 |
| 目标仓库 | git.stoneji.cc/walter/share |
| 分支 | main |
## 判定标准
本页能正常打开、样式完整、链接可复制,即视为整条链路通畅。
---
_本文为自动化测试产出,无实际内容价值。_
+81
View File
@@ -0,0 +1,81 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="color-scheme" content="light dark">
<meta name="robots" content="noindex,nofollow">
<title>发布链路冒烟测试</title>
<style>
:root{--bg:#fff;--fg:#202124;--muted:#727780;--line:#e6e8eb;--code:#f5f6f8;--link:#315c9b;--warn:#8a5a00}
@media(prefers-color-scheme:dark){:root{--bg:#18191b;--fg:#e8eaed;--muted:#9aa0a6;--line:#303236;--code:#222428;--link:#8ab4f8;--warn:#f6c453}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.85;letter-spacing:.01em}
main{max-width:780px;margin:0 auto;padding:42px 22px 72px}
header{margin-bottom:30px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:14px}
.dot{opacity:.65}
.page-title{font-size:32px;line-height:1.3;margin:0 0 20px}
article{font-size:17px;word-break:break-word}
article h1{font-size:32px;line-height:1.3;margin:0 0 22px}article h2{font-size:23px;line-height:1.4;margin:36px 0 14px}article h3{font-size:19px;line-height:1.5;margin:28px 0 12px}
article p{margin:0 0 18px}article ul,article ol{padding-left:1.5em;margin:0 0 20px}article li{margin:6px 0}
article blockquote{margin:22px 0;padding:2px 0 2px 18px;border-left:3px solid var(--line);color:var(--muted)}
article a{color:var(--link);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--link) 35%,transparent)}
article img{display:block;max-width:100%;height:auto;margin:24px auto;border-radius:8px}
article pre{overflow-x:auto;margin:22px 0;padding:16px;border-radius:10px;background:var(--code);line-height:1.6;font-size:14px;-webkit-overflow-scrolling:touch}
article code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:.9em;background:var(--code);padding:.15em .35em;border-radius:4px}
article pre code{padding:0;background:transparent;font-size:inherit}
article table{display:block;width:100%;overflow-x:auto;border-collapse:collapse;margin:22px 0}article th,article td{border:1px solid var(--line);padding:8px 12px;text-align:left}
article hr{border:0;border-top:1px solid var(--line);margin:34px 0}
.fallback{white-space:pre-wrap;word-break:break-word}
.render-warning{color:var(--warn);font-size:14px}
footer{margin-top:48px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
@media(max-width:560px){main{padding:30px 18px 56px}article{font-size:16.5px}article h1{font-size:27px}article h2{font-size:21px}}
</style>
</head>
<body>
<main>
<header><div class="meta"><span>2026-08-29 15:12 +0800</span><span class="dot">·</span><span>文章</span></div></header>
<article><h1>发布链路冒烟测试</h1>
<p dir="auto">这是一篇用于验证「写作 → 发布 → 公开分享」链路的测试文章。</p>
<h2>测试目标</h2>
<ul dir="auto">
<li>Markdown 原文落盘到 <code>content/</code></li>
<li>自包含 HTML 阅读页生成到 <code>public/</code></li>
<li>短链接在 <code>share.stoneji.cc</code> 原地返回 <code>200 text/html</code>,不跳转</li>
<li>Gitea 自动渲染的 Markdown 页面作为备用入口</li>
</ul>
<h2>环境信息</h2>
<table>
<thead>
<tr>
<th>项目</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>生成时间</td>
<td>2026-08-29 15:11UTC+8</td>
</tr>
<tr>
<td>目标仓库</td>
<td>git.stoneji.cc/walter/share</td>
</tr>
<tr>
<td>分支</td>
<td>main</td>
</tr>
</tbody>
</table>
<h2>判定标准</h2>
<p dir="auto">本页能正常打开、样式完整、链接可复制,即视为整条链路通畅。</p>
<hr>
<p dir="auto"><em>本文为自动化测试产出,无实际内容价值。</em></p>
</article>
<footer>公开分享页面 · Markdown 与 HTML 均保存在版本化仓库</footer>
</main>
</body>
</html>