jnizet 6ca6a5e92b fix(@angular/cli): fix doc command to work with new angular.io
- change the URL for the API search
- use google search when --search option is true, since angular.io doesn't have a search page anymore
- improve the help and doc of the doc command
2017-07-19 15:57:15 -04:00

19 lines
545 B
Markdown

<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
# ng doc
## Overview
`ng doc [search term]` Opens the official Angular API documentation for a given keyword on [angular.io](https://angular.io).
## Options
<details>
<summary>search</summary>
<p>
<code>--search</code> (alias: <code>-s</code>) <em>default value: false</em>
</p>
<p>
Search for the keyword in the whole [angular.io](https://angular.io) documentation instead of just the API.
</p>
</details>