Skip to content

Commit e2bdbcc

Browse files
authored
Merge pull request #38 from Art4/fix_docs
Fix tables in docs
2 parents f2ff761 + 3d76cfc commit e2bdbcc

19 files changed

+102
-102
lines changed

docs/objects-attributes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
* | `string` | `mixed` |
18-
! | type | | already used in [Resource Item object](objects-resource-item.md) |
19-
! | id | | already used in [Resource Item object](objects-resource-item.md) |
20-
! | relationships | | reserved by spec for future use |
21-
! | links | | reserved by spec for future use |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| * | `string` | `mixed` | |
18+
| ! | type | | already used in [Resource Item object](objects-resource-item.md) |
19+
| ! | id | | already used in [Resource Item object](objects-resource-item.md) |
20+
| ! | relationships | | reserved by spec for future use |
21+
| ! | links | | reserved by spec for future use |

docs/objects-document-link.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
? | self | `string` |
18-
? | related | - `string`<br />- [Link object](objects-link.md) |
19-
? | first | - `null`<br />- `string` |
20-
? | last | - `null`<br />- `string` |
21-
? | prev | - `null`<br />- `string` |
22-
? | next | - `null`<br />- `string` |
23-
* | `string` | - `string`<br />- [Link object](objects-link.md) |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| ? | self | `string` |
18+
| ? | related | - `string`<br />- [Link object](objects-link.md) |
19+
| ? | first | - `null`<br />- `string` |
20+
| ? | last | - `null`<br />- `string` |
21+
| ? | prev | - `null`<br />- `string` |
22+
| ? | next | - `null`<br />- `string` |
23+
| * | `string` | - `string`<br />- [Link object](objects-link.md) |

docs/objects-document.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Property of: _none_
1111

1212
_[Symbols definition](objects-introduction.md#symbols)_
1313

14-
| Key | Value | Note
15-
--- | ---- | ----- | ----
16-
# | data | - [Resource Null object](objects-resource-null.md)<br />- [Resource Identifier object](objects-resource-identifier.md)<br />- [Resource Item object](objects-resource-item.md)<br />- [Resource Collection object](objects-resource-collection.md) | not allowed, if 'errors' exists
17-
# | errors | [Error Collection object](objects-error-collection.md) | not allowed, if 'data' exists
18-
# | meta | [Meta object](objects-meta.md) |
19-
? | jsonapi | [Jsonapi object](objects-jsonapi.md) |
20-
? | links | [Document Link object](objects-document-link.md) |
21-
? | included | [Resource Collection object](objects-resource-collection.md) | not allowed, if 'data' doesn't exist
14+
| | Key | Value | Note |
15+
| --- | --- | ----- | ---- |
16+
| # | data | - [Resource Null object](objects-resource-null.md)<br />- [Resource Identifier object](objects-resource-identifier.md)<br />- [Resource Item object](objects-resource-item.md)<br />- [Resource Collection object](objects-resource-collection.md) | not allowed, if 'errors' exists |
17+
| # | errors | [Error Collection object](objects-error-collection.md) | not allowed, if 'data' exists |
18+
| # | meta | [Meta object](objects-meta.md) | |
19+
| ? | jsonapi | [Jsonapi object](objects-jsonapi.md) | |
20+
| ? | links | [Document Link object](objects-document-link.md) | |
21+
| ? | included | [Resource Collection object](objects-resource-collection.md) | not allowed, if 'data' doesn't exist |
2222

2323
## Usage
2424

docs/objects-error-collection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
+ | `integer` | [Error object](objects-error.md) |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| + | `integer` | [Error object](objects-error.md) | |

docs/objects-error-link.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
1 | about | - `string`<br />- [Link object](objects-link.md) |
18-
* | `string` | - `string`<br />- [Link object](objects-link.md) |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| 1 | about | - `string`<br />- [Link object](objects-link.md) | |
18+
| * | `string` | - `string`<br />- [Link object](objects-link.md) | |

docs/objects-error-source.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
? | pointer | `string` |
18-
? | parameter | `string` |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| ? | pointer | `string` | |
18+
| ? | parameter | `string` | |

docs/objects-error.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
? | id | `string` |
18-
? | links | [Error Link object](objects-error-link.md) |
19-
? | status | `string` |
20-
? | code | `string` |
21-
? | title | `string` |
22-
? | detail | `string` |
23-
? | source | [Error Source object](objects-error-source.md) |
24-
? | meta | [Meta object](objects-meta.md) |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| ? | id | `string` | |
18+
| ? | links | [Error Link object](objects-error-link.md) | |
19+
| ? | status | `string` | |
20+
| ? | code | `string` | |
21+
| ? | title | `string` | |
22+
| ? | detail | `string` | |
23+
| ? | source | [Error Source object](objects-error-source.md) | |
24+
| ? | meta | [Meta object](objects-meta.md) | |

docs/objects-jsonapi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Property of:
1212

1313
_[Symbols definition](objects-introduction.md#symbols)_
1414

15-
| Key | Value | Note
16-
--- | ---- | ----- | ----
17-
? | version | `string` | Default: `"1.0"`
18-
? | meta | [Meta object](objects-meta.md) |
15+
| | Key | Value | Note |
16+
| --- | --- | ----- | ---- |
17+
| ? | version | `string` | Default: `"1.0"` |
18+
| ? | meta | [Meta object](objects-meta.md) | |

docs/objects-link.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Property of:
1515

1616
_[Symbols definition](objects-introduction.md#symbols)_
1717

18-
| Key | Value | Note
19-
--- | ---- | ----- | ----
20-
1 | href | `string` |
21-
? | meta | [Meta object](objects-meta.md) |
18+
| | Key | Value | Note |
19+
| --- | --- | ----- | ---- |
20+
| 1 | href | `string` | |
21+
| ? | meta | [Meta object](objects-meta.md) | |

docs/objects-meta.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Property of:
1717

1818
_[Symbols definition](objects-introduction.md#symbols)_
1919

20-
| Key | Value | Note
21-
--- | ---- | ----- | ----
22-
* | `string` | `mixed` |
20+
| | Key | Value | Note |
21+
| --- | --- | ----- | ---- |
22+
| * | `string` | `mixed` | |

0 commit comments

Comments
 (0)