Browse Source

Update url (#7598)

* Update EventEmitter URL

* Update EventEmitter URL

* Enable click

* Update EventEmitter URL

* Update EventEmitter URL

* Update URL

* Update URL

* Update EventEmitter URL

* Tweak sentence and add perios
Long Nhat Nguyen 8 years ago
parent
commit
c017a7a1c7

+ 2 - 4
docs/api/environment-variables.md

@@ -36,12 +36,10 @@ file, before opening any browser windows that will make geocoding requests:
 process.env.GOOGLE_API_KEY = 'YOUR_KEY_HERE'
 ```
 
-For instructions on how to acquire a Google API key, see
-https://www.chromium.org/developers/how-tos/api-keys
+For instructions on how to acquire a Google API key, visit [this page](https://www.chromium.org/developers/how-tos/api-keys).
 
 By default, a newly generated Google API key may not be allowed to make
-geocoding requests. To enable geocoding requests, visit this page:
-https://console.developers.google.com/apis/api/geolocation/overview
+geocoding requests. To enable geocoding requests, visit [this page](https://console.developers.google.com/apis/api/geolocation/overview).
 
 ### `ELECTRON_NO_ASAR`
 

+ 1 - 1
docs/api/ipc-main.md

@@ -3,7 +3,7 @@
 > Communicate asynchronously from the main process to renderer processes.
 
 The `ipcMain` module is an instance of the
-[EventEmitter](https://nodejs.org/api/events.html) class. When used in the main
+[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) class. When used in the main
 process, it handles asynchronous and synchronous messages sent from a renderer
 process (web page). Messages sent from a renderer will be emitted to this
 module.

+ 1 - 1
docs/api/ipc-renderer.md

@@ -3,7 +3,7 @@
 > Communicate asynchronously from a renderer process to the main process.
 
 The `ipcRenderer` module is an instance of the
-[EventEmitter](https://nodejs.org/api/events.html) class. It provides a few
+[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) class. It provides a few
 methods so you can send synchronous and asynchronous messages from the render
 process (web page) to the main process.  You can also receive replies from the
 main process.

+ 1 - 1
docs/api/remote.md

@@ -20,7 +20,7 @@ win.loadURL('https://github.com')
 ```
 
 **Note:** For the reverse (access the renderer process from the main process),
-you can use [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture-callback).
+you can use [webContents.executeJavascript](web-contents.md#contentsexecutejavascriptcode-usergesture-callback).
 
 ## Remote Objects
 

+ 1 - 1
docs/api/screen.md

@@ -5,7 +5,7 @@
 You cannot require or use this module until the `ready` event of the `app`
 module is emitted.
 
-`screen` is an [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
+`screen` is an [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
 
 **Note:** In the renderer / DevTools, `window.screen` is a reserved DOM
 property, so writing `let {screen} = require('electron')` will not work.

+ 2 - 2
docs/api/synopsis.md

@@ -2,7 +2,7 @@
 
 > How to use Node.js and Electron APIs.
 
-All of [Node.js's built-in modules](http://nodejs.org/api/) are available in
+All of [Node.js's built-in modules](https://nodejs.org/api/) are available in
 Electron and third-party node modules also fully supported as well (including
 the [native modules](../tutorial/using-native-node-modules.md)).
 
@@ -13,7 +13,7 @@ both processes.
 
 The basic rule is: if a module is [GUI][gui] or low-level system related, then
 it should be only available in the main process. You need to be familiar with
-the concept of [main process vs. renderer process](../tutorial/quick-start.md#the-main-process)
+the concept of [main process vs. renderer process](../tutorial/quick-start.md#main-process)
 scripts to be able to use those modules.
 
 The main process script is just like a normal Node.js script:

+ 1 - 1
docs/api/tray.md

@@ -239,4 +239,4 @@ The `bounds` of this tray icon as `Object`.
 
 Returns `Boolean` - Whether the tray icon is destroyed.
 
-[event-emitter]: http://nodejs.org/api/events.html#events_class_events_eventemitter
+[event-emitter]: https://nodejs.org/api/events.html#events_class_eventemitter

+ 1 - 1
docs/api/web-contents.md

@@ -3,7 +3,7 @@
 > Render and control web pages.
 
 `webContents` is an
-[EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
+[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
 It is responsible for rendering and controlling a web page and is a property of
 the [`BrowserWindow`](browser-window.md) object. An example of accessing the
 `webContents` object: