Fix broken links (#12232)

* Update system-preferences.md

* Fix broken documentation links.
This commit is contained in:
Vanessa Yuen 2018-03-14 00:07:36 +01:00 committed by Shelley Vohr
parent 5a81cfbbc6
commit 48dd8f96b7
3 changed files with 3 additions and 2 deletions

View file

@ -133,7 +133,7 @@ Some popular `key` and `type`s are:
### `systemPreferences.setUserDefault(key, type, value)` _macOS_
* `key` String
* `type` String - See [`getUserDefault`][#systempreferencesgetuserdefaultkey-type-macos].
* `type` String - See [`getUserDefault`](#systempreferencesgetuserdefaultkey-type-macos).
* `value` String
Set the value of `key` in `NSUserDefaults`.

View file

@ -8,7 +8,7 @@ all ship apps with fewer bugs.
This repository comes with linting rules for both JavaScript and C++
as well as unit and integration tests. To learn more about Electron's
coding style, please see the [coding-style(coding-style.md) document.
coding style, please see the [coding-style](coding-style.md) document.
## Linting
To ensure that your JavaScript is in compliance with the Electron coding

View file

@ -46,3 +46,4 @@ of `app` module will be emitted for it.
[dock-menu-image]: https://cloud.githubusercontent.com/assets/639601/5069610/2aa80758-6e97-11e4-8cfb-c1a414a10774.png
[addrecentdocument]: ../api/app.md#appaddrecentdocumentpath-macos-windows
[clearrecentdocuments]: ../api/app.md#appclearrecentdocuments-macos-windows
[app-registration]: https://msdn.microsoft.com/en-us/library/cc144104(VS.85).aspx