зеркало из https://github.com/github/docs.git
Update markup for HTML tables (#35993)
This commit is contained in:
Родитель
ff3fde4258
Коммит
f62263c1b3
|
@ -49,16 +49,6 @@ topics:
|
|||
|
||||
{% data reusables.actions.note-understanding-example %}
|
||||
|
||||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:100%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```yaml{:copy}
|
||||
name: Node.js Tests
|
||||
|
||||
|
@ -208,10 +198,6 @@ jobs:
|
|||
CHANGELOG_CACHE_FILE_PATH: tests/fixtures/changelog-feed.json
|
||||
run: npm test -- {% raw %}tests/${{ matrix.test-group }}/{% endraw %}
|
||||
```
|
||||
</tr>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Understanding the example
|
||||
|
||||
|
@ -220,8 +206,8 @@ jobs:
|
|||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:60%"><b>Code</b></th>
|
||||
<th style="width:40%"><b>Explanation</b></th>
|
||||
<th scope="col" style="width:60%"><b>Code</b></th>
|
||||
<th scope="col" style="width:40%"><b>Explanation</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -45,16 +45,6 @@ topics:
|
|||
|
||||
{% data reusables.actions.note-understanding-example %}
|
||||
|
||||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:100%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```yaml{:copy}
|
||||
name: 'Link Checker: All English'
|
||||
|
||||
|
@ -124,10 +114,6 @@ jobs:
|
|||
--check-images \
|
||||
--level critical
|
||||
```
|
||||
</tr>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Understanding the example
|
||||
|
||||
|
@ -136,8 +122,8 @@ jobs:
|
|||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:60%"><b>Code</b></th>
|
||||
<th style="width:40%"><b>Explanation</b></th>
|
||||
<th scope="col" style="width:60%"><b>Code</b></th>
|
||||
<th scope="col" style="width:40%"><b>Explanation</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -47,16 +47,6 @@ topics:
|
|||
|
||||
{% data reusables.actions.note-understanding-example %}
|
||||
|
||||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:70%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```yaml{:copy}
|
||||
name: Check all English links
|
||||
|
||||
|
@ -173,11 +163,6 @@ jobs:
|
|||
fi
|
||||
done
|
||||
```
|
||||
</tr>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Understanding the example
|
||||
|
||||
{% data reusables.actions.example-explanation-table-intro %}
|
||||
|
@ -185,8 +170,8 @@ jobs:
|
|||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:60%"><b>Code</b></th>
|
||||
<th style="width:40%"><b>Explanation</b></th>
|
||||
<th scope="col" style="width:60%"><b>Code</b></th>
|
||||
<th scope="col" style="width:40%"><b>Explanation</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -142,35 +142,35 @@ For some migration paths, we offer specialist tools that allow you to migrate so
|
|||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th colspan="2" style="text-align: center"><b>Destination</b></th>
|
||||
<th scope="colgroup" colspan="2" style="text-align: center"><b>Destination</b></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Origin</b></th>
|
||||
<th><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
|
||||
<th><b>{% data variables.product.prodname_ghe_server %}</b></th>
|
||||
<th scope="col"><b>Origin</b></th>
|
||||
<th scope="col"><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
|
||||
<th scope="col"><b>{% data variables.product.prodname_ghe_server %}</b></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Azure DevOps (Cloud only)</b></th>
|
||||
<th scope="row"><b>Azure DevOps (Cloud only)</b></th>
|
||||
<td>{% data variables.product.prodname_importer_proper_name %}</td>
|
||||
<td>None</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Bitbucket Server</b></th>
|
||||
<th scope="row"><b>Bitbucket Server</b></th>
|
||||
<td><ul><li>bbs-exporter (expert-led migrations only)</li><li>{% data variables.product.prodname_importer_proper_name %} (private beta)</li></ul></td>
|
||||
<td>`bbs-exporter` (expert-led migrations only)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>GitLab (self-managed or SaaS)</b></th>
|
||||
<th scope="row"><b>GitLab (self-managed or SaaS)</b></th>
|
||||
<td>gl-exporter (expert-led migrations only)</td>
|
||||
<td>gl-exporter (expert-led migrations only)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
|
||||
<th scope="row"><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
|
||||
<td><ul><li>{% data variables.product.prodname_importer_proper_name %}</li><li>Enterprise Cloud Importer (expert-led migrations only)</li></ul></td>
|
||||
<td>ghe-migrator</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>{% data variables.product.prodname_ghe_server %}</b></th>
|
||||
<th scope="row"><b>{% data variables.product.prodname_ghe_server %}</b></th>
|
||||
<td><ul><li>{% data variables.product.prodname_importer_proper_name %}</li><li>Enterprise Cloud Importer (expert-led migrations only)</li></ul></td>
|
||||
<td>ghe-migrator</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<table style="width:100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:35%"><b>Runner image</b></th>
|
||||
<th style="width:25%"><b>YAML workflow label</b></th>
|
||||
<th style="width:40%"><b>Notes</b></th>
|
||||
<th scope="col" style="width:35%"><b>Runner image</b></th>
|
||||
<th scope="col" style="width:25%"><b>YAML workflow label</b></th>
|
||||
<th scope="col" style="width:40%"><b>Notes</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<table style="width:20%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:left">content</th>
|
||||
<th style="text-align:left">emoji</th>
|
||||
<th scope="col" style="text-align:left">Content</th>
|
||||
<th scope="col" style="text-align:left">Emoji</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
Загрузка…
Ссылка в новой задаче