Skip to content

Commit 404d09a

Browse files
committed
Use a boring old table for documentation links
Cards were getting big. Even nicer might be a tree like arrangement with quickstarts/guides/other grouped together. Signed-off-by: Robert Young <[email protected]>
1 parent 3451f7b commit 404d09a

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

_layouts/released-documentation.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ <h1 id="page-title" class="fs-3">{{ version }} Documentation</h1>
3535
</div>
3636
</div>
3737
<div class="col-lg-6" role="main">
38-
<div class="row row-cols-1 row-cols-md-2 g-4">
38+
<div class="row">
39+
<table class="table">
40+
<thead>
41+
<tr><th class="col-lg-2">Document</th><th class="col-lg-4">Description</th></tr>
42+
</thead>
43+
<tbody>
3944
{%- assign docs_for_release = site.data.documentation[underscored_version].docs | sort: "rank" -%}
4045
{%- for doc in docs_for_release -%}
4146
{%- assign first1 = doc.path | slice: 0, 1 -%}
@@ -48,18 +53,17 @@ <h1 id="page-title" class="fs-3">{{ version }} Documentation</h1>
4853
{%- else -%}
4954
{%- assign linkTemplate = "/documentation/" | append: version | append: "/" | append: doc.path | absolute_url -%}
5055
{%- endif -%}
51-
<div class="col">
52-
<div class="card shadow mb-2 h-100 mx-2 {%- for tag in doc.tags %} doctag-{{tag}}{%- endfor -%}">
53-
<div class="card-header">
54-
<h2 class="card-title fs-4"><a href='{{ linkTemplate | replace: "$(VERSION)", version}}'>{{ doc.title }}</a></h2>
55-
</div>
56-
<div class="card-body mx-3 my-2">
56+
<tr>
57+
<td>
58+
<a href='{{ linkTemplate | replace: "$(VERSION)", version}}'>{{ doc.title }}</a>
59+
</td>
60+
<td>
5761
{{ doc.description }}
58-
</div>
59-
</div>
60-
</div>
62+
</td>
63+
</tr>
6164
{%- endfor -%}
62-
</div>
65+
</tbody>
66+
</table>
6367
</div>
6468
</div>
6569

0 commit comments

Comments
 (0)