docs(dev): update dev-helpers installation (#7948)
This commit is contained in:
@@ -32,7 +32,7 @@ Current Node.js Maintenance LTS:
|
|||||||
|
|
||||||
### Using your own local api definition with local dev build
|
### Using your own local api definition with local dev build
|
||||||
|
|
||||||
You can specify a local file in `dev-helpers/index.html` by changing the `url` parameter. This local file MUST be located in the `dev-helpers` directory or a subdirectory. As a convenience and best practice, we recommend that you create a subdirectory, `dev-helpers/examples`, which is already specified in `.gitignore`.
|
You can specify a local file in `dev-helpers/swagger-initializer.js` by changing the `url` parameter. This local file MUST be located in the `dev-helpers` directory or a subdirectory. As a convenience and best practice, we recommend that you create a subdirectory, `dev-helpers/examples`, which is already specified in `.gitignore`.
|
||||||
|
|
||||||
replace
|
replace
|
||||||
```
|
```
|
||||||
@@ -44,7 +44,7 @@ with
|
|||||||
url: "./examples/your-local-api-definition.yaml",
|
url: "./examples/your-local-api-definition.yaml",
|
||||||
```
|
```
|
||||||
|
|
||||||
Files in `dev-helpers` should NOT be committed to git. The exception is if you are fixing something in `index.html` or `oauth2-redirect.html`, or introducing a new support file.
|
Files in `dev-helpers` should NOT be committed to git. The exception is if you are fixing something in `index.html`, `oauth2-redirect.html`, `swagger-initializer.js`, or introducing a new support file.
|
||||||
|
|
||||||
## Bonus points
|
## Bonus points
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user