-
Notifications
You must be signed in to change notification settings - Fork 5
Add links to source and download #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Currently being translated into <strong>{{ completion_progress|length }}</strong> languages. | ||
The documentation has a word count of {{ '{:,}'.format(word_count) }}. | ||
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>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awkward wording, any ideas on how to improve?
<p>The Python documentation currently has a word count of {{ '{:,}'.format(word_count) }}.</p> | ||
<p>For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a>.</p> | ||
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p> | ||
<h3>Python Documentation</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's no need to introduce heading and a separate footer. I'd keep the regular three paragraphs.
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p> | ||
<h3>Python Documentation</h3> | ||
<p> | ||
Currently being translated into <strong>{{ completion_progress|length }}</strong> languages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a matter of taste, in my opinion there's no need to emphasise the number (<strong>
).
<h3>Python Documentation</h3> | ||
<p> | ||
Currently being translated into <strong>{{ completion_progress|length }}</strong> languages. | ||
The documentation has a word count of {{ '{:,}'.format(word_count) }}. | ||
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>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP 545 is linked at the top of the linked chapter of the developer's guide, I'd keep one link in this sentence for simplicity.
</p> | ||
<footer> | ||
<hr> | ||
<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>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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>. | |
<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>. You can also find the scripts used to generate those pages or contribute <a href="https://github.com/python-docs-translations/dashboard">here</a>. |
<footer> | ||
<hr> | ||
<p>You can find the scripts used to generate this page <a href="https://github.com/python-docs-translations/dashboard">here</a>.</p> | ||
<p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p> | ||
</footer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave only "last updated" paragraph on the metadata page as a regular paragraph.
Also added translations count and split the footer from the informational text.
📊 Dashboard preview 📊: https://python-docs-translations.github.io/dashboard/83/merge/