Skip to content

Commit 0b9a31f

Browse files
committed
Include build column with either 'in switcher' (linked to docs) or ✗
1 parent 8a6f51c commit 0b9a31f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

generate.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<thead>
6565
<tr>
6666
<th>language</th>
67+
<th>build</th>
6768
<th><a href="https://plausible.io/data-policy#how-we-count-unique-users-without-cookies">visitors<a/></th>
6869
<th>translators</th>
6970
<th>completion</th>
@@ -75,9 +76,15 @@
7576
{% if repo %}
7677
<td data-label="language">
7778
<a href="https://github.com/{{ repo }}" target="_blank">
78-
{{ language -}}
79+
{{ language }}
7980
</a>
80-
{{- "*" if in_switcher else "" }}
81+
</td>
82+
<td data-label="build">
83+
{% if in_switcher %}
84+
<a href="https://docs.python.org/{{ language }}/">in switcher</a>
85+
{% else %}
86+
87+
{% endif %}
8188
</td>
8289
<td data-label="visitors">
8390
<a href="https://plausible.io/docs.python.org?filters=((contains,page,(/{{ language }}/)))" target="_blank">
@@ -97,7 +104,6 @@
97104
{% endfor %}
98105
</tbody>
99106
</table>
100-
<p>* Language is in the <a href="https://docs.python.org">docs.python.org</a> switcher.</p>
101107
<p>Last updated at {{ generation_time.strftime('%A, %d %B %Y, %X %Z') }}.</p>
102108
</body>
103109
</html>

0 commit comments

Comments
 (0)