Skip to content

Commit 184deb5

Browse files
authored
docs(site): make tutorial links visible and preserve archive coverage
Underline links in the bilingual beginner article. Retain native documentation coverage through the archive and add beginner readability checks. Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
1 parent 40a7abe commit 184deb5

5 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎web-pages/product-site/content/legacy-manifest.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"blog/self-hosted-openai-whisper-api-alternative.html": "f75f4b2fad03f6d1215347fbc98c71de1a59ff3c97cecc4aaf19bbb94e8eb777",
4343
"blog/sensevoice-deployment-guide.html": "61c34fb7626444a0f1b5c93013dd95c10c576333791eaca1ab819baf0a8cdad6",
4444
"blog/sensevoice-emotion-language-detection.html": "2451769a28af67788456aa02dad5201d218ac53fb84764cd7fbc32f991c953f8",
45-
"blog/speech-to-text-python-transcribe-audio.html": "56953cd45455163d4031e20e96fdef772a055e910c31edf3a52de546212f8f45",
45+
"blog/speech-to-text-python-transcribe-audio.html": "df01419d4fffe32f867f406d9783568a68e3d12db8e5bdb1bcb68d21cefa1c7e",
4646
"blog/speech-to-text-timestamps-python.html": "78364db117dfbce45b03739679764cec7ab1d0a860f321c67154f33392fc6b8d",
4747
"blog/subtitle-edit-fun-asr-sensevoice-local-subtitles.html": "f8d5870b6cf9dbdfd4e943fdccb7ae8f091472f1dcbd46bd7db90bd36e3e7846",
4848
"blog/transcript-audit.py": "1b77ee66d8e2ef734277a13689aa225598020c23193391a0a3eff598148f43c2",
@@ -85,7 +85,7 @@
8585
"en/blog/self-hosted-openai-whisper-api-alternative.html": "a95bde0e83ebea941144e5a4bd339ea866feee099f047d4b4fb01072c293cb70",
8686
"en/blog/sensevoice-deployment-guide.html": "8882912c6a84ec0a0e025d0eff8fcfa74bf76324bd4c9cae862c43c87c6e10b3",
8787
"en/blog/sensevoice-emotion-language-detection.html": "8f1432a4c07dab895dfda144d4fe1f64a487c72922febb6a379a15b7215e42a3",
88-
"en/blog/speech-to-text-python-transcribe-audio.html": "7c01fc06712b0969f764e0603bea83e56eb00845dbf0ac4cb9e1a5ea8a4b630b",
88+
"en/blog/speech-to-text-python-transcribe-audio.html": "3bb6c61f3263938b44f8638040b985a396a93bd0bcfa24b00b12fb115138ae4a",
8989
"en/blog/speech-to-text-timestamps-python.html": "6a7f8368f757c9ea50e287db6db3191ebcbbfc914f9a869b9515648b2d69790b",
9090
"en/blog/subtitle-edit-fun-asr-sensevoice-local-subtitles.html": "7c65a73bab1ff481d9b398476ea6440926546ba7122cc2cb64f5bda81fc039a2",
9191
"en/blog/voice-activity-detection-python.html": "d12f5d0f4ae07c3434f6188d12f5603b8abb9578413b79133668638d1c5e18a7",

‎web-pages/product-site/legacy/blog/speech-to-text-python-transcribe-audio.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*{margin:0;padding:0;box-sizing:border-box}
1212
body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.7}
1313
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
14+
article p a,article li a{text-decoration:underline;text-underline-offset:0.18em}
1415
.container{max-width:800px;margin:0 auto;padding:0 24px}
1516
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:14px 0}
1617
.nav .container{max-width:1120px;display:flex;align-items:center;gap:24px}

‎web-pages/product-site/legacy/en/blog/speech-to-text-python-transcribe-audio.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*{margin:0;padding:0;box-sizing:border-box}
1212
body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.7}
1313
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
14+
article p a,article li a{text-decoration:underline;text-underline-offset:0.18em}
1415
.container{max-width:800px;margin:0 auto;padding:0 24px}
1516
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:14px 0}
1617
.nav .container{max-width:1120px;display:flex;align-items:center;gap:24px}

‎web-pages/product-site/tests/browser/blog-editorial.spec.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ for (const prefix of ['', 'en/']) {
99
test(`selected article text contrast ${prefix || 'zh'} at ${width}px`, async ({ page }, testInfo) => {
1010
await page.setViewportSize({ width, height: 900 });
1111
for (const slug of ['funclip-v2-2-0-moss-speaker-clipping', 'meeting-transcript-acceptance',
12-
'fun-asr-nano-transformers', 'self-hosted-openai-whisper-api-alternative', 'funasr-transcribe-long-audio']) {
12+
'fun-asr-nano-transformers', 'speech-to-text-python-transcribe-audio',
13+
'self-hosted-openai-whisper-api-alternative', 'funasr-transcribe-long-audio']) {
1314
await page.goto(`/${prefix}blog/${slug}.html`);
1415
const ratios = await page.locator('article p, article li').evaluateAll(nodes => {
1516
const luminance = (color: string) => {

‎web-pages/product-site/tests/browser/native-transformers.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ for (const prefix of ['', 'en/']) {
55
test(`native Transformers article and guide ${prefix || 'zh'} ${width}`, async ({ page }, testInfo) => {
66
await page.setViewportSize({ width, height: 900 });
77
const route = `/${prefix}blog/fun-asr-nano-transformers.html`;
8-
await page.goto(`/${prefix}blog/`);
8+
await page.goto(`/${prefix}blog/archive/`);
99
await page.locator(`a.post-card[href="${route}"]`).click();
1010
await expect(page).toHaveURL(new RegExp(route.replaceAll('.', '\\.')));
1111
const layout = await page.evaluate(() => ({

0 commit comments

Comments
 (0)