Skip to content

Commit 5ab9e67

Browse files
Add links to source and download in index.html (#83)
1 parent 3b1efca commit 5ab9e67

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

metadata.html.jinja

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
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+
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
4241
</body>
4342
</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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,14 @@ 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>
56+
<p>
57+
Currently being translated into {{ completion_progress|length }} languages.
58+
The documentation has a total word count of {{ '{:,}'.format(word_count) }}.
59+
For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a>.
60+
</p>
61+
<hr>
62+
<p>You can download the data on this page in <a href="https://github.com/python-docs-translations/dashboard/blob/gh-pages/index.json">JSON format</a>.</p>
63+
<p>You can also find the scripts used to generate these pages <a href="https://github.com/python-docs-translations/dashboard">here</a>.</p>
5864
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p>
5965
</body>
6066
<script>

0 commit comments

Comments
 (0)