Skip to content

Commit b612ade

Browse files
committed
Fix accidental indentation changes
1 parent 5de2541 commit b612ade

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2663
-2663
lines changed

bin/templates/reference-parts/schema.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ <h2>Schema</h2>
55
<tr id="schema-{{ key }}">
66
<td>
77
<code>{{ key }}</code>
8-
</td>
9-
<td>
10-
<p>{{ property.description }}</p>
11-
<p class="type">
12-
JSON data type: {{ property.type | join(' or ') }}{% if property.format %},
13-
{% if property.format == 'date-time' %}
14-
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
15-
{% elseif property.format == 'uri' %}
16-
Format: uri
17-
{% else %}
18-
Format: {{ property.format }}
8+
</td>
9+
<td>
10+
<p>{{ property.description }}</p>
11+
<p class="type">
12+
JSON data type: {{ property.type | join(' or ') }}{% if property.format %},
13+
{% if property.format == 'date-time' %}
14+
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
15+
{% elseif property.format == 'uri' %}
16+
Format: uri
17+
{% else %}
18+
Format: {{ property.format }}
1919
{% endif %}{% endif %}
2020
</p>
2121
{% if property.readonly %}

reference/application-passwords.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<tr id="schema-uuid">
1212
<td>
1313
<code>uuid</code>
14-
</td>
15-
<td>
16-
<p>The unique identifier for the application password.</p>
17-
<p class="type">
18-
JSON data type: string,
19-
Format: uuid
14+
</td>
15+
<td>
16+
<p>The unique identifier for the application password.</p>
17+
<p class="type">
18+
JSON data type: string,
19+
Format: uuid
2020
</p>
2121
<p class="read-only">Read only</p>
2222
<p class="context">Context: <code>view</code>, <code>edit</code>, <code>embed</code></p>
@@ -25,76 +25,76 @@
2525
<tr id="schema-app_id">
2626
<td>
2727
<code>app_id</code>
28-
</td>
29-
<td>
30-
<p>A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.</p>
31-
<p class="type">
32-
JSON data type: string,
33-
Format: uuid
28+
</td>
29+
<td>
30+
<p>A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.</p>
31+
<p class="type">
32+
JSON data type: string,
33+
Format: uuid
3434
</p>
3535
<p class="context">Context: <code>view</code>, <code>edit</code>, <code>embed</code></p>
3636
</td>
3737
</tr>
3838
<tr id="schema-name">
3939
<td>
4040
<code>name</code>
41-
</td>
42-
<td>
43-
<p>The name of the application password.</p>
44-
<p class="type">
45-
JSON data type: string </p>
41+
</td>
42+
<td>
43+
<p>The name of the application password.</p>
44+
<p class="type">
45+
JSON data type: string </p>
4646
<p class="context">Context: <code>view</code>, <code>edit</code>, <code>embed</code></p>
4747
</td>
4848
</tr>
4949
<tr id="schema-password">
5050
<td>
5151
<code>password</code>
52-
</td>
53-
<td>
54-
<p>The generated password. Only available after adding an application.</p>
55-
<p class="type">
56-
JSON data type: string </p>
52+
</td>
53+
<td>
54+
<p>The generated password. Only available after adding an application.</p>
55+
<p class="type">
56+
JSON data type: string </p>
5757
<p class="read-only">Read only</p>
5858
<p class="context">Context: <code>edit</code></p>
5959
</td>
6060
</tr>
6161
<tr id="schema-created">
6262
<td>
6363
<code>created</code>
64-
</td>
65-
<td>
66-
<p>The GMT date the application password was created.</p>
67-
<p class="type">
68-
JSON data type: string,
69-
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
70-
</p>
64+
</td>
65+
<td>
66+
<p>The GMT date the application password was created.</p>
67+
<p class="type">
68+
JSON data type: string,
69+
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
70+
</p>
7171
<p class="read-only">Read only</p>
7272
<p class="context">Context: <code>view</code>, <code>edit</code></p>
7373
</td>
7474
</tr>
7575
<tr id="schema-last_used">
7676
<td>
7777
<code>last_used</code>
78-
</td>
79-
<td>
80-
<p>The GMT date the application password was last used.</p>
81-
<p class="type">
82-
JSON data type: string or null,
83-
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
84-
</p>
78+
</td>
79+
<td>
80+
<p>The GMT date the application password was last used.</p>
81+
<p class="type">
82+
JSON data type: string or null,
83+
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
84+
</p>
8585
<p class="read-only">Read only</p>
8686
<p class="context">Context: <code>view</code>, <code>edit</code></p>
8787
</td>
8888
</tr>
8989
<tr id="schema-last_ip">
9090
<td>
9191
<code>last_ip</code>
92-
</td>
93-
<td>
94-
<p>The IP address the application password was last used by.</p>
95-
<p class="type">
96-
JSON data type: string or null,
97-
Format: ip
92+
</td>
93+
<td>
94+
<p>The IP address the application password was last used by.</p>
95+
<p class="type">
96+
JSON data type: string or null,
97+
Format: ip
9898
</p>
9999
<p class="read-only">Read only</p>
100100
<p class="context">Context: <code>view</code>, <code>edit</code></p>

reference/block-directory-items.md

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11,147 +11,147 @@
1111
<tr id="schema-name">
1212
<td>
1313
<code>name</code>
14-
</td>
15-
<td>
16-
<p>The block name, in namespace/block-name format.</p>
17-
<p class="type">
18-
JSON data type: string </p>
14+
</td>
15+
<td>
16+
<p>The block name, in namespace/block-name format.</p>
17+
<p class="type">
18+
JSON data type: string </p>
1919
<p class="context">Context: <code>view</code></p>
2020
</td>
2121
</tr>
2222
<tr id="schema-title">
2323
<td>
2424
<code>title</code>
25-
</td>
26-
<td>
27-
<p>The block title, in human readable format.</p>
28-
<p class="type">
29-
JSON data type: string </p>
25+
</td>
26+
<td>
27+
<p>The block title, in human readable format.</p>
28+
<p class="type">
29+
JSON data type: string </p>
3030
<p class="context">Context: <code>view</code></p>
3131
</td>
3232
</tr>
3333
<tr id="schema-description">
3434
<td>
3535
<code>description</code>
36-
</td>
37-
<td>
38-
<p>A short description of the block, in human readable format.</p>
39-
<p class="type">
40-
JSON data type: string </p>
36+
</td>
37+
<td>
38+
<p>A short description of the block, in human readable format.</p>
39+
<p class="type">
40+
JSON data type: string </p>
4141
<p class="context">Context: <code>view</code></p>
4242
</td>
4343
</tr>
4444
<tr id="schema-id">
4545
<td>
4646
<code>id</code>
47-
</td>
48-
<td>
49-
<p>The block slug.</p>
50-
<p class="type">
51-
JSON data type: string </p>
47+
</td>
48+
<td>
49+
<p>The block slug.</p>
50+
<p class="type">
51+
JSON data type: string </p>
5252
<p class="context">Context: <code>view</code></p>
5353
</td>
5454
</tr>
5555
<tr id="schema-rating">
5656
<td>
5757
<code>rating</code>
58-
</td>
59-
<td>
60-
<p>The star rating of the block.</p>
61-
<p class="type">
62-
JSON data type: number </p>
58+
</td>
59+
<td>
60+
<p>The star rating of the block.</p>
61+
<p class="type">
62+
JSON data type: number </p>
6363
<p class="context">Context: <code>view</code></p>
6464
</td>
6565
</tr>
6666
<tr id="schema-rating_count">
6767
<td>
6868
<code>rating_count</code>
69-
</td>
70-
<td>
71-
<p>The number of ratings.</p>
72-
<p class="type">
73-
JSON data type: integer </p>
69+
</td>
70+
<td>
71+
<p>The number of ratings.</p>
72+
<p class="type">
73+
JSON data type: integer </p>
7474
<p class="context">Context: <code>view</code></p>
7575
</td>
7676
</tr>
7777
<tr id="schema-active_installs">
7878
<td>
7979
<code>active_installs</code>
80-
</td>
81-
<td>
82-
<p>The number sites that have activated this block.</p>
83-
<p class="type">
84-
JSON data type: integer </p>
80+
</td>
81+
<td>
82+
<p>The number sites that have activated this block.</p>
83+
<p class="type">
84+
JSON data type: integer </p>
8585
<p class="context">Context: <code>view</code></p>
8686
</td>
8787
</tr>
8888
<tr id="schema-author_block_rating">
8989
<td>
9090
<code>author_block_rating</code>
91-
</td>
92-
<td>
93-
<p>The average rating of blocks published by the same author.</p>
94-
<p class="type">
95-
JSON data type: number </p>
91+
</td>
92+
<td>
93+
<p>The average rating of blocks published by the same author.</p>
94+
<p class="type">
95+
JSON data type: number </p>
9696
<p class="context">Context: <code>view</code></p>
9797
</td>
9898
</tr>
9999
<tr id="schema-author_block_count">
100100
<td>
101101
<code>author_block_count</code>
102-
</td>
103-
<td>
104-
<p>The number of blocks published by the same author.</p>
105-
<p class="type">
106-
JSON data type: integer </p>
102+
</td>
103+
<td>
104+
<p>The number of blocks published by the same author.</p>
105+
<p class="type">
106+
JSON data type: integer </p>
107107
<p class="context">Context: <code>view</code></p>
108108
</td>
109109
</tr>
110110
<tr id="schema-author">
111111
<td>
112112
<code>author</code>
113-
</td>
114-
<td>
115-
<p>The WordPress.org username of the block author.</p>
116-
<p class="type">
117-
JSON data type: string </p>
113+
</td>
114+
<td>
115+
<p>The WordPress.org username of the block author.</p>
116+
<p class="type">
117+
JSON data type: string </p>
118118
<p class="context">Context: <code>view</code></p>
119119
</td>
120120
</tr>
121121
<tr id="schema-icon">
122122
<td>
123123
<code>icon</code>
124-
</td>
125-
<td>
126-
<p>The block icon.</p>
127-
<p class="type">
128-
JSON data type: string,
129-
Format: uri
130-
</p>
124+
</td>
125+
<td>
126+
<p>The block icon.</p>
127+
<p class="type">
128+
JSON data type: string,
129+
Format: uri
130+
</p>
131131
<p class="context">Context: <code>view</code></p>
132132
</td>
133133
</tr>
134134
<tr id="schema-last_updated">
135135
<td>
136136
<code>last_updated</code>
137-
</td>
138-
<td>
139-
<p>The date when the block was last updated.</p>
140-
<p class="type">
141-
JSON data type: string,
142-
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
143-
</p>
137+
</td>
138+
<td>
139+
<p>The date when the block was last updated.</p>
140+
<p class="type">
141+
JSON data type: string,
142+
Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>)
143+
</p>
144144
<p class="context">Context: <code>view</code></p>
145145
</td>
146146
</tr>
147147
<tr id="schema-humanized_updated">
148148
<td>
149149
<code>humanized_updated</code>
150-
</td>
151-
<td>
152-
<p>The date when the block was last updated, in fuzzy human readable format.</p>
153-
<p class="type">
154-
JSON data type: string </p>
150+
</td>
151+
<td>
152+
<p>The date when the block was last updated, in fuzzy human readable format.</p>
153+
<p class="type">
154+
JSON data type: string </p>
155155
<p class="context">Context: <code>view</code></p>
156156
</td>
157157
</tr>

0 commit comments

Comments
 (0)