Skip to content

fix: correct DDE help manual format for proper recognition#38

Merged
mhduiy merged 1 commit into
linuxdeepin:masterfrom
mhduiy:dde
Apr 8, 2026
Merged

fix: correct DDE help manual format for proper recognition#38
mhduiy merged 1 commit into
linuxdeepin:masterfrom
mhduiy:dde

Conversation

@mhduiy
Copy link
Copy Markdown
Contributor

@mhduiy mhduiy commented Apr 8, 2026

Changed the title format in both English and Traditional Chinese DDE help manual files from "Desktop Environment|DDE" to "Desktop Environment|dde|" and from "桌面環境|DDE|" to "桌面環境|dde|". The format needed to be corrected so that the help system can properly recognize it as a desktop environment manual. The key change was adding the missing trailing pipe character in the English version and ensuring consistent lowercase "dde" identifier in both versions.

Log: Fixed DDE help manual format for proper system recognition

fix: 修正 DDE 帮助手册格式以便正确识别

将英文和繁体中文 DDE 帮助手册文件中的标题格式从 "Desktop Environment|
DDE" 改为 "Desktop Environment|dde|",从 "桌面環境|DDE|" 改为 "桌面環境| dde|"。需要修正此格式以便帮助系统能够正确识别其为桌面环境手册。主要更改
是在英文版本中添加了缺失的尾部管道字符,并确保两个版本都使用一致的小写
"dde" 标识符。

Log: 修正了 DDE 帮助手册格式以便系统正确识别

PMS: BUG-355921

Summary by Sourcery

Documentation:

  • Update English and Traditional Chinese DDE help manual titles to use the correct lowercase dde identifier and required trailing separator for system recognition.

Changed the title format in both English and Traditional Chinese
DDE help manual files from "Desktop Environment|DDE" to "Desktop
Environment|dde|" and from "桌面環境|DDE|" to "桌面環境|dde|". The
format needed to be corrected so that the help system can properly
recognize it as a desktop environment manual. The key change was adding
the missing trailing pipe character in the English version and ensuring
consistent lowercase "dde" identifier in both versions.

Log: Fixed DDE help manual format for proper system recognition

fix: 修正 DDE 帮助手册格式以便正确识别

将英文和繁体中文 DDE 帮助手册文件中的标题格式从 "Desktop Environment|
DDE" 改为 "Desktop Environment|dde|",从 "桌面環境|DDE|" 改为 "桌面環境|
dde|"。需要修正此格式以便帮助系统能够正确识别其为桌面环境手册。主要更改
是在英文版本中添加了缺失的尾部管道字符,并确保两个版本都使用一致的小写
"dde" 标识符。

Log: 修正了 DDE 帮助手册格式以便系统正确识别

PMS: BUG-355921
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Apr 8, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the DDE help manual titles in English and Traditional Chinese to use the correctly formatted, lowercase "dde" identifier and ensure the trailing pipe is present so the help system recognizes them as desktop environment manuals.

Flow diagram for help system recognition of DDE manuals

flowchart TD
  A[Load help manual file] --> B[Read first heading line]
  B --> C[Parse title segments split by pipe]
  C --> D{Second segment equals dde?}
  D -->|No| E[Manual not tagged as desktop environment]
  D -->|Yes| F{Title ends with trailing pipe?}
  F -->|No| E
  F -->|Yes| G[Tag manual as desktop environment]
  G --> H[Expose in DDE desktop environment help category]

  %% Context for this PR
  subgraph Before_PR[Before this PR]
    C -.-> D_before{Second segment equals DDE}
    D_before -->|Case mismatch| E
  end

  subgraph After_PR[After this PR]
    C -.-> D_after{Second segment equals dde and trailing pipe present}
    D_after --> G
  end
Loading

File-Level Changes

Change Details Files
Normalize DDE help manual title format for system recognition.
  • Change English manual title from using "DDE" without trailing pipe to lowercase "dde" with a trailing pipe delimiter.
  • Change Traditional Chinese manual title from uppercase "DDE" with trailing pipe to lowercase "dde" with trailing pipe to match the expected identifier format.
src/assets/dde/en_US/d_dde.md
src/assets/dde/zh_TW/d_dde.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mhduiy, wjyrich

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@mhduiy mhduiy merged commit 5cca1a2 into linuxdeepin:master Apr 8, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants