docs(ide): refresh TuyaOpen IDE tutorials — calibrated EN/ZH text, sp… - #250
Merged
Conversation
…lit locale screenshots, rendering fixes Re-align the IDE tutorial pages (docs/tutorials/_tuyaopen-ide-*.md and the zh/ mirrors) with the finalized 3.0 source docs and the actual IDE UI, in both English and 简体中文. Content (EN + ZH): - Install: add an "Install Git" section; rework the manual install to the official-site flow (Install Extension → Download .vsix); bump the .vsix version 0.1.1 → 0.1.5. - Practice 1–3: calibrate every IDE button/menu label against the IDE i18n source (en.ts / zh-CN.ts) so docs match the UI exactly — Boards, Compile / Firmware Operations, New Project with This Board, Demos, Cloud IoT/Agent Dev, Licenses / Key Management, Mini App Panel Dev, Build MiniApp, Upload to Cloud, Rebind MiniApp, Get 2 Free Licenses, etc. - Practice 3: add the DP-cooperation intro line; rewrite Step 3 to 4 steps; add a new Step 4 "Bind the mini-app to the product". - Practice 2: simplify the "Create project" flow (Step 5 = copy the PID). Screenshots: - English pages now use their own English-UI screenshots. - Chinese pages now use their own Chinese-UI screenshots (-zh set), sourced from the finalized Chinese doc. EN and ZH previously shared one image set. Shared TutorialShell rendering: - Markdown code blocks now render as native Docusaurus CodeBlocks (copy button + theme-adaptive + syntax highlighting) via an MDXProvider wrap. - Replace the hardcoded dark code/pre/figure backgrounds with theme-adaptive styles so light mode no longer shows dark blocks. - Center tutorial images; hide the redundant figcaption (alt stays on <img>). Nav: add zh entries for the new Install-Git and Practice-3 Step-4 sections. Verified: npm run build passes for both en and zh locales.
adwuard
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…lit locale screenshots, rendering fixes
Re-align the IDE tutorial pages (docs/tutorials/_tuyaopen-ide-*.md and the zh/ mirrors) with the finalized 3.0 source docs and the actual IDE UI, in both English and 简体中文.
Content (EN + ZH):
Screenshots:
Shared TutorialShell rendering:
Nav: add zh entries for the new Install-Git and Practice-3 Step-4 sections.
Verified: npm run build passes for both en and zh locales.