Skip to content

Commit 4c27026

Browse files
Initial
1 parent cd1e158 commit 4c27026

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

metadata.html.jinja

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
</tbody>
3838
</table>
3939
<p>* number of Sphinx build process warnings</p>
40-
<p>For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a>.</p>
41-
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
40+
<footer>
41+
<hr>
42+
<p>You can find the scripts used to generate this page <a href="https://github.com/python-docs-translations/dashboard">here</a>.</p>
43+
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
44+
</footer>
4245
</body>
4346
</html>

style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ th, td {
1313
th {
1414
background-color: #f4f4f4;
1515
}
16+
hr {
17+
color: #f4f4f4;
18+
}
1619
.progress-bar {
1720
display: inline-block;
1821
color: white;

template.html.jinja

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,17 @@ main | <a href="metadata.html" target="_self">meta</a>
5353
</tbody>
5454
</table>
5555
<p>* the number in parentheses shows change in the last 30 days, included in the total completion</p>
56-
<p>The Python documentation currently has a word count of {{ '{:,}'.format(word_count) }}.</p>
57-
<p>For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a>.</p>
58-
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
56+
<h3>Python Documentation</h3>
57+
<p>
58+
Currently being translated into <strong>{{ completion_progress|length }}</strong> languages.
59+
The documentation has a word count of {{ '{:,}'.format(word_count) }}.
60+
For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a> and <a href="https://peps.python.org/pep-0545/">PEP 545</a>.
61+
</p>
62+
<footer>
63+
<hr>
64+
<p>You can download the data on this page in <code>.json</code> format <a href="https://github.com/python-docs-translations/dashboard/blob/gh-pages/index.json">here</a>, and you can also find the scripts used to generate this page <a href="https://github.com/python-docs-translations/dashboard">here</a>.
65+
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
66+
</footer>
5967
</body>
6068
<script>
6169
function updateProgressBarVisibility() {

0 commit comments

Comments
 (0)