Skip to content

docs: reorganize README and document missing commands#854

Merged
dsanders11 merged 2 commits intomainfrom
refresh-readme
Apr 30, 2026
Merged

docs: reorganize README and document missing commands#854
dsanders11 merged 2 commits intomainfrom
refresh-readme

Conversation

@codebytere
Copy link
Copy Markdown
Member

Restructure the README into logical command groups (core workflow, running Electron, inspecting state, working with code, managing configs, infrastructure) and add a table of contents for navigation.

Fill in documentation for commands that were undocumented or only briefly mentioned: worktree, pr open, pr download-dist, cherry-pick, rcv, backport, gh-auth, npm, load-macos-sdk, and the show subcommands depotdir / out --path. Expand option tables for init (sanitizers, mas, target-cpu, remote-build, use-https, fork), build (--gen, --no-remote), sync (--3), test, patches (--list-targets, --commit-updates, all), and open (--print).

Add a configuration file reference (schema fields, validation rules, extends inheritance) and an environment variables table covering EVM_, BUILD_TOOLS_SHA, GN_EXTRA_ARGS, ELECTRON_BUILD_TOOLS_ and the other internally-set variables. Point readers at the zsh completion script under tools/zsh/_e.

Restructure the README into logical command groups (core workflow,
running Electron, inspecting state, working with code, managing configs,
infrastructure) and add a table of contents for navigation.

Fill in documentation for commands that were undocumented or only
briefly mentioned: worktree, pr open, pr download-dist, cherry-pick,
rcv, backport, gh-auth, npm, load-macos-sdk, and the show subcommands
depotdir / out --path. Expand option tables for init (sanitizers, mas,
target-cpu, remote-build, use-https, fork), build (--gen, --no-remote),
sync (--3), test, patches (--list-targets, --commit-updates, all),
and open (--print).

Add a configuration file reference (schema fields, validation rules,
`extends` inheritance) and an environment variables table covering
EVM_*, BUILD_TOOLS_SHA, GN_EXTRA_ARGS, ELECTRON_BUILD_TOOLS_* and the
other internally-set variables. Point readers at the zsh completion
script under tools/zsh/_e.
@codebytere codebytere requested a review from dsanders11 April 24, 2026 07:56
@codebytere codebytere requested review from a team and ckerr as code owners April 24, 2026 07:56
Copy link
Copy Markdown
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

  • Linter is unhappy
  • I think the "Environment variables" section should only document ones we actually want to tell users about, right now it documented everything. This is non-exhaustive, but I'd definitely remove:
    • ELECTRON_OVERRIDE_DIST_PATH - implementation detail
    • ELECTRON_RUN_AS_NODE - implementation detail
    • CI - implementation detail - if we wanted this to be public API we should give it a proper name and default the value to CI.

@codebytere codebytere requested a review from dsanders11 April 28, 2026 14:27
@dsanders11 dsanders11 merged commit 67979ae into main Apr 30, 2026
12 checks passed
@dsanders11 dsanders11 deleted the refresh-readme branch April 30, 2026 00:58
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