You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "boluor (via GitHub)" <gi...@apache.org> on 2026/05/25 10:45:44 UTC

[PR] [doc] zh release-3.1.2: dedent body so headings render [doris-website]

boluor opened a new pull request, #3767:
URL: https://github.com/apache/doris-website/pull/3767

   ## Summary
   
   The zh \`release-3.1.2.md\` page had every line below the first heading prefixed with two leading spaces. In CommonMark/Docusaurus, that turns headings like \`### Storage and Compression\` / \`## Optimizations\` / \`## Bug Fixes\` (and 12 other section headings) into plain text inside an indented block rather than proper headings. The rendered page therefore showed only \`## 新功能\` followed by a long run of indented text — making the page look almost untranslated.
   
   The translation itself was already complete and accurate; only the leading whitespace was wrong. This PR strips the two-space prefix from every line after the frontmatter so the existing translation renders as intended.
   
   Before: 1 heading recognised by markdown.
   After: all 15 headings recognised, matching the EN structure exactly:
   
   - \`## 新功能\` → \`### 存储与压缩\` / \`### 云与对象存储\` / \`### 数据湖(Datalake)\` / \`### 功能增强\`
   - \`## 优化\` → \`### 查询执行与优化器\` / \`### 存储层\` / \`### 数据湖\`
   - \`## 缺陷修复\` → \`### 数据湖\` / \`### 查询执行与 SQL 引擎\` / \`### 存储与导入\` / \`### 云与回收机制\` / \`### 系统及其他\`
   
   ## Test plan
   
   - [x] \`grep '^#' zh/release-3.1.2.md\` returns 15 headings matching the EN structure
   - [x] No content changes — diff is purely whitespace (55 ins / 55 dels, equal counts)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [doc] zh release-3.1.2: dedent body so headings render [doris-website]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #3767:
URL: https://github.com/apache/doris-website/pull/3767


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org