-
Notifications
You must be signed in to change notification settings - Fork 12k
fix(@angular/cli): Adding more details to documentation #4960
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
Conversation
ccd7ddd
to
cffb06c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two little changes please. Awesome work getting all these detailed!
docs/documentation/e2e.md
Outdated
@@ -14,16 +14,72 @@ ng e2e | |||
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/). | |||
|
|||
## Options | |||
`--aot` Build using Ahead of Time compilation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2e inherits options from serve, can you list just the e2e specific options (the ones in the command file) and refer to the serve command for the rest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
docs/documentation/serve.md
Outdated
@@ -6,54 +6,62 @@ | |||
`ng serve` builds the application and starts a web server | |||
|
|||
## Options | |||
`--watch` (`-w`) rebuild when files change | |||
`--aot` Build using Ahead of Time compilation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
serve inherits options from build, can you list just the serve specific options and refer to the build command for the rest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
cffb06c
to
0bd4662
Compare
docs/documentation/e2e.md
Outdated
@@ -16,14 +16,10 @@ End-to-end tests are run via [Protractor](https://angular.github.io/protractor/) | |||
## Options | |||
`--config` (`-c`) use a specific config file. Defaults to the protractor config file in `.angular-cli.json`. | |||
|
|||
`--specs` (`-sp`) override specs in the protractor config. | |||
Can send in multiple specs by repeating flag (`ng e2e --specs=spec1.ts --specs=spec2.ts`). | |||
`--proxy-config` (`-pc`) Proxy configuration file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is part of the serve options, it doesn't need to be here.
docs/documentation/e2e.md
Outdated
|
||
`--element-explorer` (`-ee`) start Protractor's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be listed.
docs/documentation/e2e.md
Outdated
`--element-explorer` (`-ee`) start Protractor's | ||
[Element Explorer](https://github.com/angular/protractor/blob/master/docs/debugging.md#testing-out-protractor-interactively) | ||
for debugging. | ||
`--serve` Compile and Serve the app. All non-reload related serve options are also available (e.g. --port=4400). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The live-reload options are still available, it's just that it defaults to false.
docs/documentation/serve.md
Outdated
`--output-hashing` define the output filename cache-busting hashing mode | ||
|
||
`--poll` enable and define the file watching poll time period (milliseconds) | ||
`--ssl-key` SSL key to use for serving HTTPS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you mention that all the build options are still here, except for stats-json?
0bd4662
to
8a01dd9
Compare
docs/documentation/config.md
Outdated
# ng set | ||
|
||
## Overview | ||
`ng set [key]` Set a value in the configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this show the value too?
ng set [key] [value]
d8e690f
to
2bc8565
Compare
2bc8565
to
8f78b03
Compare
8f78b03
to
1c5192f
Compare
@hansl @filipesilva This can be merged to master unless there are more changes needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just this more change please!
docs/documentation/e2e.md
Outdated
`--element-explorer` (`-ee`) start Protractor's | ||
[Element Explorer](https://github.com/angular/protractor/blob/master/docs/debugging.md#testing-out-protractor-interactively) | ||
for debugging. | ||
`--serve` Compile and Serve the app. All non-reload related serve options are also available (e.g. --port=4400). The live-reload option defaults to false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to:
`--serve` 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
1c5192f
to
ca3dfa2
Compare
ca3dfa2
to
8e1973a
Compare
Thanks for all the work in this Pr @sumitarora! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
.md
files now both are similar onng help
and docs.