docs: document modernization initiative more clearly (#17376)

* docs: document modernization initiative more clearly
This commit is contained in:
Shelley Vohr 2019-03-19 10:31:45 -07:00 committed by GitHub
parent 53f4af7722
commit 879462af4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 102 additions and 34 deletions

View file

@ -980,7 +980,7 @@ contents.executeJavaScript('fetch("https://jsonplaceholder.typicode.com/users/1"
})
```
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `contents.executeJavaScript(code[, userGesture])`
@ -1179,7 +1179,7 @@ Captures a snapshot of the page within `rect`. Upon completion `callback` will
be called with `callback(image)`. The `image` is an instance of [NativeImage](native-image.md)
that stores data of the snapshot. Omitting `rect` will capture the whole visible page.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `contents.capturePage([rect])`
@ -1235,7 +1235,7 @@ settings.
The `callback` will be called with `callback(error, data)` on completion. The
`data` is a `Buffer` that contains the generated PDF data.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `contents.printToPDF(options)`