-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
docs(getting-started): update readme.md and bootstrap.md files #3933
Conversation
fix button_page_spec to run test |
Codecov Report
@@ Coverage Diff @@
## development #3933 +/- ##
===============================================
- Coverage 72.23% 72.17% -0.07%
===============================================
Files 253 253
Lines 8238 8238
Branches 1565 1565
===============================================
- Hits 5951 5946 -5
- Misses 1866 1868 +2
- Partials 421 424 +3
Continue to review full report at Codecov.
|
README.md
Outdated
```bash | ||
npm install ngx-bootstrap --save | ||
``` | ||
|
||
You will need bootstrap styles (Bootstrap 3) | ||
Add needed package to AppModule imports: |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -66,67 +66,68 @@ describe('Buttons page test suite', () => { | |||
buttons.clickByText(buttonDemos[2], buttonNames[1]); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/getting-started/bootstrap.md
Outdated
- Open the file .angular-cli.json from the root of your project. | ||
- Under the property apps the first item in that array is the default application. | ||
- There is a property styles which allows external global styles to be applied to your application. | ||
Now that the project is set up it must be configured to include the Bootstrap CSS. You have two choices: |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/getting-started/bootstrap.md
Outdated
"component": {} | ||
} | ||
"styles": [ | ||
"styles.scss" <-- rename this from .css to .scss |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/getting-started/bootstrap.md
Outdated
. | ||
. | ||
"defaults": { | ||
"styleExt": "scss", <-- set this to default to .scss |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/getting-started/bootstrap.md
Outdated
. | ||
"defaults": { | ||
"styleExt": "scss", <-- set this to default to .scss | ||
"component": {} |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Please, update PR and task names, cause now it looks like two features in one PR. |
@YevheniiaMazur fixed |
@svetoldo4444ka , should I directly read these files, or they affected demo or other structure objects? Is these files are content of Getting started page? |
Several fixes/clarifyings needed:
|
… into docs-change-documentation
@YevheniiaMazur @EvilAlexei @v1ktoryy
according to 1 comment: |
…/ngx-bootstrap into docs-change-documentation
README.md
Outdated
```bash | ||
npm install ngx-bootstrap --save | ||
npm install ngx-bootstrap --save-dev |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
README.md
Outdated
## How to use it with: | ||
- `angular-cli` please refer to [getting-started-with-ng-cli](https://github.com/valor-software/ngx-bootstrap/tree/development/docs/getting-started/ng-cli.md) | ||
### How to use it with: | ||
- `Bootstrap 3 or 4 and angular-cli` please refer to [using-with-bootstrap-and-angular-cli](https://github.com/valor-software/ngx-bootstrap/tree/development/docs/getting-started/bootstrap.md) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/getting-started/bootstrap.md
Outdated
- install `ngx-bootstrap` and `Bootstrap` | ||
|
||
```bash | ||
npm install ngx-bootstrap bootstrap --save-dev |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@svetoldo4444ka apply code review comments |
@valorkin @EvilAlexei fixed according to the comments( commit - docs(getting-started): update readme.md and bootstrap.md files according to the comments) |
@YevheniiaMazur @EvilAlexei |
README.md
Outdated
- `git pull upstream development` | ||
- `rm -rf node_modules` | ||
- `npm install` | ||
- `npm run test` _*// it will build the lib, create a link in node_modules and run package's "test" script*_ | ||
|
||
To run bootstrap 3 and 4 demo: |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
It was done in readme.md:
Installation instructions
(add info about adding packages and how to add component in html)
How to build lib for development
(add 'Keeping a fork up to date' section)
(for semantics, first heading is h1, other - h2 and below )
Table of contents
list but add it to the end of the page(agreed at the meeting - as usual licence is added at the end of the readme page)
angular-cli
andBootstrap 4 and angular-cli
sections toBootstrap 3 or 4 and angular-cli
in theHow to use it with
section(because they has similar structure and goals)
Also was decided ( at the meeting ) to update bootstrap.md files:
(this name is more logic, because this section doesn't describe how to add tests)
(for better understanding how user can add css styles)
(because this file not only for bootstrap 4, it's an instruction how to use bootstrap 3 and bootstrap 4 with angular-cli)
closes #3934