Skip to content

docs: terminology, link, and markdown-lint cleanup across nav docs#344

Open
abn2357 wants to merge 12 commits into
tronprotocol:masterfrom
abn2357:global_fix
Open

docs: terminology, link, and markdown-lint cleanup across nav docs#344
abn2357 wants to merge 12 commits into
tronprotocol:masterfrom
abn2357:global_fix

Conversation

@abn2357

@abn2357 abn2357 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Documentation consistency pass across nav docs.

Terminology unification

  • 通证/代币 → token
  • 见证人/witness → 超级代表
  • 动态参数/动态网络参数 → 网络参数 (wording smoothed to avoid "网络…网络" repetition)
  • 提议 → 提案

Links

  • Point interface references and the v4.4.0 JSON-RPC reference from external developers.tron.network pages to local API docs; the parameter-ID mapping link is redirected to the java-tron ProposalType enum source.

Formatting / markdownlint

  • Remove leading $ shell prompts from command examples so they can be copied and run directly
  • MD007: normalize list indentation to 4-space nesting (dictated by MkDocs Material / python-markdown tab_length=4; repo ships no markdownlint config)
  • MD022: blank lines around headings
  • MD040: add language tags to fenced code blocks
  • MD031/MD032/MD058: blank lines around code blocks, lists, and tables
  • Normalize TRC10/TRC20 spellings to TRC-10/TRC-20 (code identifiers such as ALLOW_TVM_TRANSFER_TRC10 and ShieldedTRC20Parameters left untouched)

All terminology/link/TRC edits are content-preserving except for the intended substitutions; all formatting edits are whitespace- or fence-tag-only.

Scope

Changes are limited to files referenced in mkdocs.yml nav. Two files are deliberately excluded:

Test plan

  • Each commit reviewed individually for scope and correctness
  • markdownlint MD007 (indent=4) / MD022 / MD031 / MD032 / MD040 / MD058 report 0 errors on touched files
  • All local link targets resolve to existing files
  • dex.md and wallet-cli.md untouched; all edited files present in mkdocs.yml nav

abn2357 added 12 commits June 14, 2026 09:21
Strip the leading '$ ' prompt from shell command examples across the
docs so commands can be copied and run directly. Indentation, inline
$VAR references, and line continuations are left untouched.
Replace Chinese terms 通证/代币 with lowercase token in documents
referenced by the mkdocs.yml nav, applying CJK-Latin spacing.

The dex and wallet-cli docs, although present in the nav, are
excluded from this change.
Replace the Chinese term 见证人 and prose English witness with
超级代表 in documents referenced by the mkdocs.yml nav. Code
identifiers, API paths, CLI flags, proto fields, error strings and
the owner/witness/active permission names are left unchanged.

The dex and wallet-cli docs, although present in the nav, are
excluded from this change.
Replace developers.tron.network/reference links with local relative
paths for interfaces that now have local pages. The proposal序号
mapping link in private_network.md is redirected to the java-tron
ProposalType enum source instead. Tutorial /docs/ links without a
local counterpart are left unchanged.
Replace the developers.tron.network JSON-RPC reference link with the
local json-rpc overview page.
Replace 动态参数 and 动态网络参数 with 网络参数 across nav docs, and
smooth wording where the literal replacement produced 网络...网络参数
repetition.
Replace the governance-proposal noun 提议 with 提案 across nav docs.
The verb usage in demo.md (提议给 = "propose to") is left unchanged.
De-indent top-level list items that were offset by 1-2 spaces and
normalize nested items to 4-space indentation. The repo ships no
markdownlint or editorconfig config, so list indentation is dictated by
the renderer: MkDocs Material uses python-markdown with the default
tab_length=4, which requires 4-space nesting (markdownlint's CommonMark
default of 2 does not apply here). Whitespace only; no content changes.
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.

1 participant