Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular/cli): fixing lint documentation #5633

Merged
merged 2 commits into from
Mar 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
44 changes: 22 additions & 22 deletions docs/documentation/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>aot</summary>
<p>
`--aot` _default: false_
<code>--aot</code> <em>default value: false</em>
</p>
<p>
Build using Ahead of Time compilation.
Expand All @@ -78,7 +78,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>app</summary>
<p>
`--app` (aliases: `-a`)
<code>--app</code> (aliases: <code>-a</code>)
</p>
<p>
Specifies app name or index to use.
Expand All @@ -88,7 +88,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>base-href</summary>
<p>
`--base-href` (aliases: `-bh`)
<code>--base-href</code> (aliases: <code>-bh</code>)
</p>
<p>
Base url for the application being built.
Expand All @@ -98,7 +98,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>deploy-url</summary>
<p>
`--deploy-url` (aliases: `-d`)
<code>--deploy-url</code> (aliases: <code>-d</code>)
</p>
<p>
URL where files will be deployed.
Expand All @@ -108,7 +108,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>output-path</summary>
<p>
`--output-path` (aliases: `-op`)
<code>--output-path</code> (aliases: <code>-op</code>)
</p>
<p>
Path where output will be placed
Expand All @@ -118,7 +118,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>environment</summary>
<p>
`--environment` (aliases: `-e`)
<code>--environment</code> (aliases: <code>-e</code>)
</p>
<p>
Defines the build environment.
Expand All @@ -128,7 +128,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>extract-css</summary>
<p>
`--extract-css` (aliases: `-ec`)
<code>--extract-css</code> (aliases: <code>-ec</code>)
</p>
<p>
Extract css from global styles onto css files instead of js ones.
Expand All @@ -138,7 +138,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>i18n-file</summary>
<p>
`--i18n-file`
<code>--i18n-file</code>
</p>
<p>
Localization file to use for i18n.
Expand All @@ -148,7 +148,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>i18n-format</summary>
<p>
`--i18n-format`
<code>--i18n-format</code>
</p>
<p>
Format of the localization file specified with --i18n-file.
Expand All @@ -158,7 +158,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>locale</summary>
<p>
`--locale`
<code>--locale</code>
</p>
<p>
Locale to use for i18n.
Expand All @@ -168,20 +168,20 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>output-hashing</summary>
<p>
`--output-hashing` (aliases: `-oh`)
<code>--output-hashing</code> (aliases: <code>-oh</code>)
</p>
<p>
Define the output filename cache-busting hashing mode.
</p>
<p>
Values: `none`, `all`, `media`, `bundles`
Values: <code>none</code>, <code>all</code>, <code>media</code>, <code>bundles</code>
</p>
</details>

<details>
<summary>output-path</summary>
<p>
`--output-path` (aliases: `-op`)
<code>--output-path</code> (aliases: <code>-op</code>)
</p>
<p>
Path where output will be placed.
Expand All @@ -191,7 +191,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>poll</summary>
<p>
`--poll`
<code>--poll</code>
</p>
<p>
Enable and define the file watching poll time period (milliseconds).
Expand All @@ -201,7 +201,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>progress</summary>
<p>
`--progress` (aliases: `-pr`) _default value: true_
<code>--progress</code> (aliases: <code>-pr</code>) <em>default value: true</<em>
</p>
<p>
Log progress to the console while building.
Expand All @@ -211,7 +211,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>sourcemap</summary>
<p>
`--sourcemap` (aliases: `-sm`, `sourcemaps`)
<code>--sourcemap</code> (aliases: <code>-sm</code>, <code>sourcemaps</code>)
</p>
<p>
Output sourcemaps.
Expand All @@ -221,17 +221,17 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>stats-json</summary>
<p>
`--stats-json` (aliases: `-`)
<code>--stats-json</code>
</p>
<p>
Generates a `stats.json` file which can be analyzed using tools such as: `webpack-bundle-analyzer` or https://webpack.github.io/analyse.
Generates a <code>stats.json</code> file which can be analyzed using tools such as: <code>webpack-bundle-analyzer</code> or https://webpack.github.io/analyse.
</p>
</details>

<details>
<summary>target</summary>
<p>
`--target` (aliases: `-t`, `-dev`, `-prod`) _default value: development_
<code>--target</code> (aliases: <code>-t</code>, <code>-dev</code>, <code>-prod</code>) <em>default value: development</em>
</p>
<p>
Defines the build target.
Expand All @@ -241,7 +241,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>vendor-chunk</summary>
<p>
`--vendor-chunk` (aliases: `-vc`) _default value: true_
<code>--vendor-chunk</code> (aliases: <code>-vc</code>) <em>default value: true</em>
</p>
<p>
Use a separate bundle containing only vendor libraries.
Expand All @@ -251,7 +251,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>verbose</summary>
<p>
`--verbose` (aliases: `-v`) _default value: false_
<code>--verbose</code> (aliases: <code>-v</code>) <em>default value: false</em>
</p>
<p>
Adds more details to output logging.
Expand All @@ -261,7 +261,7 @@ or `ng serve --prod` will also make use of uglifying and tree-shaking functional
<details>
<summary>watch</summary>
<p>
`--watch` (aliases: `-w`)
<code>--watch</code> (aliases: <code>-w</code>)
</p>
<p>
Run build when files change.
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<details>
<summary>global</summary>
<p>
`--global` _default value: false_
<code>--global</code> <em>default value: false</em>
</p>
<p>
Get the value in the global configuration (in your home directory).
Expand All @@ -26,7 +26,7 @@
<details>
<summary>global</summary>
<p>
`--global` _default value: false_
<code>--global</code> <em>default value: false</em>
</p>
<p>
Get the value in the global configuration (in your home directory).
Expand Down
10 changes: 5 additions & 5 deletions docs/documentation/e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
<details>
<summary>config</summary>
<p>
`--config` (alias: `-c`)
<code>--config</code> (aliases: <code>-c</code>)
</p>
<p>
Use a specific config file. Defaults to the protractor config file in `.angular-cli.json`.
Expand All @@ -27,7 +27,7 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
<details>
<summary>element-explorer</summary>
<p>
`--element-explorer` (alias: `-ee`) _default value: false_
<code>--element-explorer</code> (aliases: <code>-ee</code>) <em>default value: false</em>
</p>
<p>
Start Protractor's [Element Explorer](https://github.com/angular/protractor/blob/master/docs/debugging.md#testing-out-protractor-interactively) for debugging.
Expand All @@ -37,7 +37,7 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
<details>
<summary>serve</summary>
<p>
`--serve` (alias: `-s`) _default value: true_
<code>--serve</code> (aliases: <code>-s</code>) <em>default value: true</em>
</p>
<p>
Compile and Serve the app. All serve options are also available. The live-reload option defaults to false, and the default port will be random.
Expand All @@ -47,7 +47,7 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
<details>
<summary>specs</summary>
<p>
`--specs` (alias: `-sp`) _default value: []_
<code>--specs</code> (aliases: <code>-sp</code>) <em>default value: []</em>
</p>
<p>
Override specs in the protractor config. Can send in multiple specs by repeating flag (ng e2e --specs=spec1.ts --specs=spec2.ts).
Expand All @@ -57,7 +57,7 @@ End-to-end tests are run via [Protractor] (https://angular.github.io/protractor/
<details>
<summary>webdrive-update</summary>
<p>
`--webdrive-update` (alias: `-wu`) _default value: true_
<code>--webdrive-update</code> (aliases: <code>-wu</code>) <em>default value: true</em>
</p>
<p>
Try to update webdriver.
Expand Down