docs: spelling (#24383)

* Docs: spelling

* Docs: spelling (contribute/ directory)

* Drop whats-new-in changes
This commit is contained in:
Josh Soref
2020-06-30 17:42:50 -04:00
committed by GitHub
parent e07d0ae452
commit 686149966a
8 changed files with 23 additions and 23 deletions

View File

@ -225,7 +225,7 @@ For some people, typically using the bash shell, ulimit fails with an error simi
ulimit: open files: cannot modify limit: Operation not permitted ulimit: open files: cannot modify limit: Operation not permitted
``` ```
If that happens to you, chances are you've already set a lower limit and your shell won't let you set a higher one. Try looking in your shell initalization files (~/.bashrc typically), if there's already a ulimit command that you can tweak. If that happens to you, chances are you've already set a lower limit and your shell won't let you set a higher one. Try looking in your shell initialization files (~/.bashrc typically), if there's already a ulimit command that you can tweak.
## Next steps ## Next steps

View File

@ -25,7 +25,7 @@ All `exported` apis from the package should have a release tag to indicate its s
- [`@alpha`](https://api-extractor.com/pages/tsdoc/tag_alpha/) - early draft of api and will probably change. - [`@alpha`](https://api-extractor.com/pages/tsdoc/tag_alpha/) - early draft of api and will probably change.
- [`@beta`](https://api-extractor.com/pages/tsdoc/tag_beta/) - close to being stable but might change. - [`@beta`](https://api-extractor.com/pages/tsdoc/tag_beta/) - close to being stable but might change.
- [`@public`](https://api-extractor.com/pages/tsdoc/tag_public/) - ready for useage in production. - [`@public`](https://api-extractor.com/pages/tsdoc/tag_public/) - ready for usage in production.
- [`@internal`](https://api-extractor.com/pages/tsdoc/tag_internal/) - for internal use only. - [`@internal`](https://api-extractor.com/pages/tsdoc/tag_internal/) - for internal use only.
### Main stability of APIs ### Main stability of APIs
@ -139,7 +139,7 @@ This attribute can be skipped if the type provided by `typescript` and the funct
```typescript ```typescript
/** /**
* Will help to create a resource resovler depending * Will help to create a resource resolver depending
* on the current execution context. * on the current execution context.
* *
* @param context - The current execution context. * @param context - The current execution context.
@ -179,7 +179,7 @@ This attribute can be skipped if the type provided by `typescript` and the funct
```typescript ```typescript
/** /**
* Will help to create a resource resovler depending * Will help to create a resource resolver depending
* on the current execution context. * on the current execution context.
* *
* @param context - The current execution context. * @param context - The current execution context.
@ -206,4 +206,4 @@ export const factory = (context: Context): IResolver => {
export const isEqual = (x: number, y: number): boolean => { export const isEqual = (x: number, y: number): boolean => {
return x === y; return x === y;
} }
``` ```

View File

@ -109,7 +109,7 @@ class DateCalculator {
} }
class DateCalculator { class DateCalculator {
// bad // bad
calculate_timee_range () {...} calculate_time_range () {...}
} }
class DateCalculator { class DateCalculator {
@ -149,7 +149,7 @@ interface ModalState {
```typescript ```typescript
const getStyles = = () => ({ const getStyles = = () => ({
// bad // bad
ElementWraper: css`...`, ElementWrapper: css`...`,
// bad // bad
["element-wrapper"]: css`...`, ["element-wrapper"]: css`...`,

View File

@ -76,7 +76,7 @@ describe('MyComponent', () => {
restoreThemeContext(); restoreThemeContext();
}); });
it('renders correctyl', () => { it('renders correctly', () => {
const wrapper = mount(<MyComponent />) const wrapper = mount(<MyComponent />)
expect(wrapper).toMatchSnapshot(); expect(wrapper).toMatchSnapshot();
}); });

View File

@ -366,7 +366,7 @@ Example connstr: `addr=127.0.0.1:6379,pool_size=100,db=0,ssl=false`
- `addr` is the host `:` port of the redis server. - `addr` is the host `:` port of the redis server.
- `pool_size` (optional) is the number of underlying connections that can be made to redis. - `pool_size` (optional) is the number of underlying connections that can be made to redis.
- `db` (optional) is the number indentifer of the redis database you want to use. - `db` (optional) is the number identifier of the redis database you want to use.
- `ssl` (optional) is if SSL should be used to connect to redis server. The value may be `true`, `false`, or `insecure`. Setting the value to `insecure` skips verification of the certificate chain and hostname when making the connection. - `ssl` (optional) is if SSL should be used to connect to redis server. The value may be `true`, `false`, or `insecure`. Setting the value to `insecure` skips verification of the certificate chain and hostname when making the connection.
#### memcache #### memcache

View File

@ -156,7 +156,7 @@ allowed_organizations =
enabled = true enabled = true
allow_sign_up = true allow_sign_up = true
client_id = <OpenID Connect Client ID from Centrify> client_id = <OpenID Connect Client ID from Centrify>
client_secret = <your generated OpenID Connect Client Sercret" client_secret = <your generated OpenID Connect Client Secret"
scopes = openid profile email scopes = openid profile email
auth_url = https://<your domain>.my.centrify.com/OAuth2/Authorize/<Application ID> auth_url = https://<your domain>.my.centrify.com/OAuth2/Authorize/<Application ID>
token_url = https://<your domain>.my.centrify.com/OAuth2/Token/<Application ID> token_url = https://<your domain>.my.centrify.com/OAuth2/Token/<Application ID>

View File

@ -5,7 +5,7 @@ keywords = ["grafana", "configuration", "documentation", "oauth"]
type = "docs" type = "docs"
[menu.docs] [menu.docs]
name = "Google" name = "Google"
identifier = "ggogle_oauth2" identifier = "google_oauth2"
parent = "authentication" parent = "authentication"
weight = 3 weight = 3
+++ +++

View File

@ -76,7 +76,7 @@ Content-Type: application/json
**Example Response**: **Example Response**:
```http ```http
HTTP/1.1 200 HTTP/1.1 200
Content-Type: application/json Content-Type: application/json
[ [
``` ```
@ -84,7 +84,7 @@ Content-Type: application/json
## Get Playlist dashboards ## Get Playlist dashboards
`GET /api/playlists/:id/dashboards` `GET /api/playlists/:id/dashboards`
**Example Request**: **Example Request**:
```http ```http
@ -114,7 +114,7 @@ Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{ {
"name": "my playlist", "name": "my playlist",
"interval": "5m", "interval": "5m",
"items": [ "items": [
{ {
"type": "dashboard_by_id", "type": "dashboard_by_id",
@ -122,7 +122,7 @@ Content-Type: application/json
"order": 1, "order": 1,
"title":"my third dashboard" "title":"my third dashboard"
}, },
{ {
"type": "dashboard_by_tag", "type": "dashboard_by_tag",
"value": "myTag", "value": "myTag",
"order": 2, "order": 2,
@ -147,12 +147,12 @@ Content-Type: application/json
## Update a playlist ## Update a playlist
`PUT /api/playlists/:id` `PUT /api/playlists/:id`
**Example Request**: **Example Request**:
```http ```http
PUT /api/playlists/1 HTTP/1.1 PUT /api/playlists/1 HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{ {
@ -178,13 +178,13 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
``` ```
**Example Response**: **Example Response**:
```http ```http
HTTP/1.1 200 HTTP/1.1 200
Content-Type: application/json Content-Type: application/json
{ {
``` ```
## Delete a playlist ## Delete a playlist
`DELETE /api/playlists/:id` `DELETE /api/playlists/:id`
@ -222,14 +222,14 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
"type": "dashboard_by_id", "type": "dashboard_by_id",
"value": "3", "value": "3",
"order": 1, "order": 1,
"title":"my third dasboard" "title":"my third dashboard"
}, },
{ {
"playlistId": 1, "playlistId": 1,
"type": "dashboard_by_tag", "type": "dashboard_by_tag",
"value": "myTag", "value": "myTag",
"order": 2, "order": 2,
"title":"my other dasboard" "title":"my other dashboard"
} }
] ]
} }
@ -252,7 +252,7 @@ Content-Type: application/json
"type": "dashboard_by_id", "type": "dashboard_by_id",
"value": "3", "value": "3",
"order": 1, "order": 1,
"title":"my third dasboard" "title":"my third dashboard"
}, },
{ {
"id": 2, "id": 2,
@ -260,7 +260,7 @@ Content-Type: application/json
"type": "dashboard_by_tag", "type": "dashboard_by_tag",
"value": "myTag", "value": "myTag",
"order": 2, "order": 2,
"title":"my other dasboard" "title":"my other dashboard"
} }
] ]
} }