Skip to content

chore: update dde content#24

Merged
mhduiy merged 1 commit intolinuxdeepin:masterfrom
mhduiy:update
Jul 18, 2025
Merged

chore: update dde content#24
mhduiy merged 1 commit intolinuxdeepin:masterfrom
mhduiy:update

Conversation

@mhduiy
Copy link
Contributor

@mhduiy mhduiy commented Jul 18, 2025

  1. 只保留专业版和社区版的文档
  2. 区分专业版和社区版
  3. 修复部分裂图

pms: BUG-324751

Summary by Sourcery

Update DDE documentation by keeping only professional and community editions, distinguishing between them, rebranding from Deepin to Uniontech OS (UOS), and fixing split images.

Enhancements:

  • Rename brand references from Deepin to Uniontech OS (UOS) across all locales
  • Separate and retain only professional and community edition guides
  • Remove obsolete documentation files

Documentation:

  • Revise zh_TW, zh_HK and en_US content to reflect updated branding and terminology
  • Fix split images and layout issues throughout the DDE documentation

1. 只保留专业版和社区版的文档
2. 区分专业版和社区版
3. 修复部分裂图

pms: BUG-324751
@sourcery-ai
Copy link

sourcery-ai bot commented Jul 18, 2025

Reviewer's Guide

This PR streamlines the desktop environment documentation by removing non-professional/community edition pages, rebranding Deepin references to Uniontech OS (UOS) across Chinese and English locales, and correcting image links and figure paths. Changes include filtering edition files, updating text via search-and-replace, separating edition-specific content, and repairing image references.

Flow diagram for documentation update process (filtering, rebranding, fixing images)

flowchart TD
    Start([Start])
    Filter[Filter out non-Professional/Community edition docs]
    Rebrand[Replace Deepin with UOS in all locales]
    Separate[Differentiate content for Professional and Community editions]
    FixImages[Fix image/figure paths and references]
    End([End])

    Start --> Filter --> Rebrand --> Separate --> FixImages --> End
Loading

File-Level Changes

Change Details Files
Prune unsupported edition docs
  • Deleted ‘e_dde.md’ and ‘eu_dde.md’ from all locales
  • Removed sidebar links to deprecated editions
*/*/e_dde.md
*/*/eu_dde.md
Rebrand Deepin to Uniontech OS (UOS)
  • Search-replace product name in headings and body text
  • Updated local abbreviations and glossaries in zh_TW, zh_HK, en_US
src/assets/dde/zh_TW/p_dde.md
src/assets/dde/zh_HK/p_dde.md
src/assets/dde/en_US/p_dde.md
Differentiate Professional vs Community edition content
  • Adjusted per-edition identifiers in pro/community docs
  • Removed or rewrote generic references to target each edition
src/assets/dde/**/p_dde.md
src/assets/dde/**/c_dde.md
Fix image and split-screen figure references
  • Corrected figure path prefixes in markdown links
  • Updated split-screen image file names to match actual assets
src/assets/dde/*/p_dde.md
src/assets/dde/en_US/p_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

@mhduiy mhduiy requested a review from 18202781743 July 18, 2025 06:50
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

@mhduiy mhduiy merged commit 0249e83 into linuxdeepin:master Jul 18, 2025
13 checks passed
Copy link

@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 @mhduiy - I've reviewed your changes - here's some feedback:

  • Consider factoring these huge locale files into smaller, reusable includes or partials (e.g., shared UI sections vs. edition‐specific content) to reduce duplication between Professional and Community versions.
  • After renaming Deepin to Uniontech OS, run a link/anchor validation pass to ensure that every updated heading (e.g. #display-settings) still matches its cross-reference and that no broken links remain.
  • The markdown tables vary in syntax and alignment across locales—standardize the table formatting (consistent pipes, separators) to improve readability and cut down on diff noise in future edits.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider factoring these huge locale files into smaller, reusable includes or partials (e.g., shared UI sections vs. edition‐specific content) to reduce duplication between Professional and Community versions.
- After renaming Deepin to Uniontech OS, run a link/anchor validation pass to ensure that every updated heading (e.g. #display-settings) still matches its cross-reference and that no broken links remain.
- The markdown tables vary in syntax and alignment across locales—standardize the table formatting (consistent pipes, separators) to improve readability and cut down on diff noise in future edits.

## Individual Comments

### Comment 1
<location> `src/assets/dde/zh_CN/p_dde.md:1109` </location>
<code_context>
+1. 四指向上:默认为显示多任务视图,可调整设置为隐藏多任务视图、切换至前一个桌面、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
+2.  四指向下:默认为隐藏多任务视图,可调整设置为显示多任务视图、切换至前一个桌面、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
+3. 四指向左:默认为切换至前一个桌面,可调整设置为显示多任务视图、隐藏多任务视图、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
+4.  四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视、图隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。
+5.  四指点击:默认为打开/关闭启动器,可调整设置为打开/关闭全局搜索、打开/关闭剪贴板、打开/关闭通知中心或禁用。
+
</code_context>

<issue_to_address>
Possible typo: extra comma in '显示多任务视、图隐藏多任务视图'

The phrase should read '显示多任务视图、隐藏多任务视图' without the comma between '视' and '图'.
</issue_to_address>

<suggested_fix>
<<<<<<< SEARCH
4.  四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视、图隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。
=======
4.  四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视图、隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。
>>>>>>> REPLACE

</suggested_fix>

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.

1. 四指向上:默认为显示多任务视图,可调整设置为隐藏多任务视图、切换至前一个桌面、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
2. 四指向下:默认为隐藏多任务视图,可调整设置为显示多任务视图、切换至前一个桌面、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
3. 四指向左:默认为切换至前一个桌面,可调整设置为显示多任务视图、隐藏多任务视图、切换至后一个桌面、显示桌面、隐藏桌面或禁用。
4. 四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视、图隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。
Copy link

Choose a reason for hiding this comment

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

issue (typo): Possible typo: extra comma in '显示多任务视、图隐藏多任务视图'

The phrase should read '显示多任务视图、隐藏多任务视图' without the comma between '视' and '图'.

Suggested change
4. 四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视、图隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。
4. 四指向右:默认为切换至后一个桌面,可调整设置为显示多任务视图、隐藏多任务视图、切换至前一个桌面、显示桌面、隐藏桌面或禁用。

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