Electron website
Перейти к файлу
Zeke Sikelianos 7b196f1cf0 Merge pull request #481 from electron/publishing-posts-doc
add blog posts section to contributing doc
2016-09-23 17:07:27 -07:00
_data Update apps.yml 2016-09-23 18:20:54 -04:00
_docs Update docs to latest 2016-09-22 09:26:25 -07:00
_drafts Add draft template for roundups 2016-08-04 14:44:54 -07:00
_includes Use repo if no website 2016-08-17 10:04:30 -07:00
_layouts electron-prebuilt → electron 2016-08-16 13:11:49 -07:00
_pages videos don't have a description 2016-09-09 14:58:43 -07:00
_posts fix internals post date 2016-09-20 14:09:24 -07:00
_sass Combine for much win 2016-08-23 15:16:24 -07:00
bower_components install basecoat using bower 2016-04-11 11:53:03 -07:00
css Prefix styles with basecoat- 2016-05-13 13:16:20 +09:00
images Add quickcalcicon 2016-09-23 15:47:21 -07:00
js Vendor ua-parser-js 2016-05-02 11:04:38 -07:00
lib Add note 2016-09-06 16:09:20 -07:00
script update awesome-electron to 2.0 2016-06-13 11:21:59 -07:00
spec update spec to allow 20 featured apps 2016-08-10 12:15:11 -07:00
.gitignore Add script to compress images 2016-05-17 10:21:16 -07:00
.node-version Add .node-version 2016-04-29 13:00:18 -07:00
.travis.yml Use node 4 2016-05-12 08:00:08 +02:00
CNAME Add back CNAME 2016-05-11 08:48:24 +02:00
CONTRIBUTING.md add blog posts section to contributing doc 2016-09-20 14:54:10 -07:00
Gemfile use jekyll-seo-tag and jekyll-feed 2016-05-11 10:33:09 -04:00
Gemfile.lock bundle update 2016-05-31 16:43:00 -04:00
Gruntfile.js 🎨 2016-05-06 13:38:46 -07:00
LICENSE.md Omit year entirely 2016-09-19 17:18:02 -07:00
README.md Update links 2016-09-20 02:36:56 +07:00
_config.yml Update versions to latest 2016-09-22 09:26:37 -07:00
package.json update awesome-electron dep and community page 2016-09-09 14:58:34 -07:00

README.md

electron.atom.io

The website for Electron: electron.atom.io.

Build

This is a Jekyll site hosted on GitHub Pages. To build a Jekyll site you'll need a few things on your system so double check the Jekyll requirements.

Follow these steps to copy this repository to your computer and build the site:

git clone https://github.com/electron/electron.atom.io.git
cd electron.atom.io
npm run bootstrap
npm start

CLI for Docs, Releases & Version Information

This site contains the latest version of Electron docs, recent release change logs and the current versions of Node.js, Chromium and V8 that are used in Electron.

Each of these are updated here when a new Electron is released. They're done so with the command line interface detailed below.

You'll need Node.js installed on your system in order to use the CLI. Then you can install the dependencies:

$ cd electron.atom.io
$ npm install

Documentation

Versions of Electron documentation are fetched from the electron/electron repository's docs directory. The site contains the latest version of docs and links to older versions of the docs in the repository.

To fetch documentation for a specific version:

$ script/docs <version> [options]
# Example:
$ script/docs v0.26.0 --latest

Options:

--latest Set this version as the latest version of Electron in _config.yml and replace the existing documentation.

Release Notes

The most recent release notes from the electron/electron repository are made available on the site and can be updated by running:

$ script/releases

Updating Node.js, Chromium and V8 Versions in use in Electron

To update the _config.yml in this site with the versions of Node.js, Chromium and V8 that the latest release of Electron is using run:

$ script/versions

Update all the Things at Once

The scripts above do each task separately but to run all the things at once:

$ npm run latest -- <version>
# Example:
$ npm run latest -- v0.36.0

Note This assumes version is the latest and sets it as such by default.

Testing

To test the documentation script:

$ npm test

Contributing

Thanks for contributing to the site! Checkout the contributing documentation for guidelines on pull requests.

License

MIT