Skip to content

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

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

docs: terminology, link, and markdown-lint cleanup across nav docs#624
abn2357 wants to merge 8 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

  • dynamic parameter / dynamic network parameter → network parameter

Links

  • Point interface references from external developers.tron.network pages to local API docs.

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 8 commits June 14, 2026 09:22
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 developers.tron.network/reference links with local relative
paths for interfaces that now have local pages. The parameter-ID
mapping link in private_network.md is redirected to the java-tron
ProposalType enum source, and the v4.4.0 JSON-RPC reference is pointed
to the local json-rpc overview. Tutorial /docs/ links without a local
counterpart are left unchanged.
Replace "dynamic parameter" and "dynamic network parameter" with
"network parameter" across nav docs, smoothing wording where the
literal replacement produced "network ... network" repetition.
De-indent top-level list items that were offset by 1-3 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