|
3 years ago | |
---|---|---|
.. | ||
README.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
azure-vm-setup.md | 265474882c docs: Update Branch Name (#31106) | 3 years ago |
build-instructions-gn.md | 7acb513ba6 docs: update links to Chromium source (#33309) | 3 years ago |
build-instructions-linux.md | f3e0517b6e chore: bump chromium to 102.0.4999.0 (main) (#33731) | 3 years ago |
build-instructions-macos.md | c9fd255093 build: use python3 to lint (#33627) | 3 years ago |
build-instructions-windows.md | 962f4a6558 docs: remove pywin32 from Windows build instructions (#33402) | 3 years ago |
chromium-development.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
clang-tidy.md | 36bca3278d docs: fix typos in clang-tidy examples (#29327) | 3 years ago |
coding-style.md | c9fd255093 build: use python3 to lint (#33627) | 3 years ago |
creating-api.md | c4ea33d1bf chore: add ELECTRON_ prefix to C++ include guards (#31925) | 3 years ago |
debugging-on-macos.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
debugging-on-windows.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
debugging-with-symbol-server.md | 4903d47ef3 docs: fix broken images for symbol server setup (#32485) | 3 years ago |
debugging-with-xcode.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
debugging.md | bc8cfbac59 docs: add debug build (#31979) | 3 years ago |
goma.md | 771a8f70da docs: update development-related documentation (#31043) | 3 years ago |
issues.md | 1e50f7d2b6 docs: consolidate info docs (#32964) | 3 years ago |
patches.md | 43dbd1bdf8 chore: cleanup whitespace in docs (#26356) | 4 years ago |
pull-requests.md | 600c37160b docs: fix relative link in developer documentation (#32844) | 3 years ago |
source-code-directory-structure.md | 3879e9e065 build: remove the vendor directory (#28883) | 4 years ago |
testing.md | 30e0620ccc docs: fix wording on testing documentation (#32279) | 3 years ago |
v8-development.md | ecd23bb29b docs: tidy up links (#26292) | 4 years ago |
These guides are intended for people working on the Electron project itself. For guides on Electron app development, see /docs/README.md.
In order to contribute to Electron, the first thing you'll want to do is get the code.
Electron's build-tools
automate much of the setup for compiling Electron from source with different configurations and build targets.
If you would prefer to build Electron manually, see the build instructions.
Once you've checked out and built the code, you may want to take a look around the source tree to get a better idea of what each directory is responsible for. The source code directory structure gives a good overview of the purpose of each directory.
For any issue, there are generally three ways an individual can contribute:
electron/electron
issue tracker.electron/electron
in a concrete and reviewable manner.See issues for more information.
Most pull requests opened against the electron/electron
repository include
changes to either the C/C++ code in the shell/
folder,
the TypeScript code in the lib/
folder, the documentation in docs/
,
or tests in the spec/
and spec-main/
folders.
See pull requests for more information.
If you want to add a new API module to Electron, you'll want to look in creating API.
Electron has a fully-fledged governance system that oversees activity in Electron and whose working groups are responsible for areas like APIs, releases, and upgrades to Electron's dependencies including Chromium and Node.js. Depending on how frequently and to what end you want to contribute, you may want to consider joining a working group.
Details about each group and their reponsibilities can be found in the governance repo.
Electron is built on two major upstream projects: Chromium and Node.js. Each of these projects has several of their own dependencies, too. We try our best to use these dependencies exactly as they are but sometimes we can't achieve our goals without patching those upstream dependencies to fit our use cases.
As such, we maintain a collection of patches as part of our source tree. The process for adding or altering one of these patches to Electron's source tree via a pull request can be found in patches.
There are many different approaches to debugging issues and bugs in Electron, many of which are platform specific.
For an overview of information related to debugging Electron itself (and not an app built with Electron), see debugging.