Skip to content

Updated settings.html #13310

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

Merged
merged 2 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion warehouse/locale/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5625,7 +5625,7 @@ msgstr ""
msgid ""
"To set the '%(project_name)s' description, author, links, classifiers, "
"and other details for your next release, use the <a "
"href=\"%(setup_args_href)s\" rel=\"noopener\" "
"href=\"%(pyproject_args_href)s\" rel=\"noopener\" "
"target=\"_blank\"><code>setup()</code> arguments in your "
"<code>setup.py</code> file</a>. Updating these fields will not change the"
" metadata for past releases. Additionally, you <strong>must</strong> use "
Expand Down
4 changes: 2 additions & 2 deletions warehouse/templates/manage/project/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ <h3>{% trans %}<abbr title="two factor authentication">2FA</abbr> requirement{%
<div class="callout-block" data-controller="dismissable" data-dismissable-identifier="settings">
<h3>{% trans %}Project description and sidebar{% endtrans %}</h3>
<p>
{% trans project_name=project.name, setup_args_href='https://packaging.python.org/tutorials/distributing-packages/#setup-args', twine_docs_href='https://twine.readthedocs.io/en/latest/', distribution_href='https://packaging.python.org/tutorials/distributing-packages/' %}
To set the '{{ project_name }}' description, author, links, classifiers, and other details for your next release, use the <a href="{{ setup_args_href }}" rel="noopener" target="_blank"><code>setup()</code> arguments in your <code>setup.py</code> file</a>.
{% trans project_name=project.name, pyproject_args_href='https://packaging.python.org/en/latest/tutorials/packaging-projects/#creating-pyproject-toml', twine_docs_href='https://twine.readthedocs.io/en/latest/', distribution_href='https://packaging.python.org/tutorials/distributing-packages/' %}
To set the '{{ project_name }}' description, author, links, classifiers, and other details for your next release, use the <a href="{{ pyproject_args_href }}" rel="noopener" target="_blank"><code>setup()</code> arguments in your <code>setup.py</code> file</a>.
Updating these fields will not change the metadata for past releases.
Additionally, you <strong>must</strong> use <a href="{{ twine_docs_href }}" rel="noopener" target="_blank">Twine</a> to upload your files in order to get full support for these fields.
See <a href="{{ distribution_href }}" rel="noopener" target="_blank">the Python Packaging User Guide</a> for more help.
Expand Down