Skip to content

Commit da92325

Browse files
authored
Remove custom potodo version and a note from template
1 parent 9aa8117 commit da92325

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

generate.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
# "potodo",
55
# "jinja2",
66
# ]
7-
#
8-
# [tool.uv.sources]
9-
# potodo = { git = "https://git.afpy.org/maciek/potodo", branch = "pot" }
107
# ///
118
from datetime import datetime, timezone
129
from pathlib import Path
@@ -42,7 +39,8 @@
4239
completion_progress.append((language, completion))
4340
print(completion_progress[-1])
4441

45-
template = Template("""<html lang="en">
42+
template = Template("""
43+
<html lang="en">
4644
<head>
4745
<title>Python Docs Translation Dashboard</title>
4846
<link rel="stylesheet" href="style.css">
@@ -69,9 +67,9 @@
6967
</tbody>
7068
</table>
7169
<p>Last updated at {{ generation_time.strftime('%A, %d %B %Y, %X %Z') }}.</p>
72-
<p>Note that the completion value is based on files available in language Git repository and <a href="https://github.com/m-aciek/pydocs-translation-dashboard/issues/2" target="_blank">may not include</a> e.g. resources which translation hasn't yet started.</p>
7370
</body>
74-
</html>""")
71+
</html>
72+
""")
7573

7674
output = template.render(completion_progress=completion_progress, generation_time=generation_time)
7775

0 commit comments

Comments
 (0)