Fix a broken link
authorAndrew Zheng <hamxiaoz@users.noreply.github.com>
Mon, 18 Jan 2016 21:50:33 +0000 (13:50 -0800)
committerAndrew Zheng <hamxiaoz@users.noreply.github.com>
Mon, 18 Jan 2016 21:50:33 +0000 (13:50 -0800)
The reference-style link uses a relative path, which doesn't work well on the main site http://electron.atom.io/.

docs/api/synopsis.md

index 6886c6d..d14d52a 100644 (file)
@@ -11,7 +11,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][main-process] scripts to be
+the concept of [main process vs. renderer process](../tutorial/quick-start.md#the-main-process) scripts to be
 able to use those modules.
 
 The main process script is just like a normal Node.js script:
@@ -79,6 +79,5 @@ require('electron').hideInternalModules()
 ```
 
 [gui]: https://en.wikipedia.org/wiki/Graphical_user_interface
-[main-process]: ../tutorial/quick-start.md#the-main-process
 [desctructuring-assignment]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
 [issue-387]: https://github.com/atom/electron/issues/387