This commit adds support to respond to `repository_dispatch` events
coming from `electron/electron-website-updater` that contain the
SHA of the new commit in `electron/electron` to pin to in
`package.json`.
More information about the architecture can be found in #19.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix#19Close#23
* feat: add `create-electron-documentation` package
Add the code for the package `create-electron-documentation` to help
writers of Electron documentation scaffold their examples faster and
following good patterns (using `sandbox` and `contextBridge`).
Once published the developers will use it by calling
```console
npm create electron-documentation
```
From a folder under the main Electron documentation folder.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix#12Close#13
The pre-build scripts does the following:
1. Downloads the documentation from electron/electron and data/blog
from electron/electronjs.org
2. Moves the files to the right folders based on the contents of
`docs-reorg.json`
3. Add frontmatter to each file
4. Fixes internal links and multiline image titles
5. Generates the sidebar using the folder structure
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix#6
Ref: Solves parts of #2