Skip to content

Commit

Permalink
Add API link to user help
Browse files Browse the repository at this point in the history
Ref: pypi#1323.
  • Loading branch information
brainwane committed Mar 8, 2018
1 parent 57bc22a commit a266dda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions warehouse/templates/pages/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{% macro private_indices() %}How can I publish my private packages to PyPI?{% endmacro %}
{% macro admin_intervention() %}Why did my package or user registration get blocked?{% endmacro %}
{% macro file_name_reuse() %}Why am I getting "File already exists" error?{% endmacro %}
{% macro APIs() %}Does PyPI have APIs I can use?{% endmacro %}
{% block title %}Help{% endblock %}

{% block content %}
Expand All @@ -64,6 +65,7 @@ <h1 class="page-title">Common Questions</h1>
<li><a href="#private-indices">{{ private_indices() }}</a></li>
<li><a href="#admin-intervention">{{ admin_intervention() }}</a></li>
<li><a href="#file-name-reuse">{{ file_name_reuse() }}</a></li>
<li><a href="#APIs">{{ APIs() }}</a></li>
</ul>

<section id="packages" class="common-question">
Expand Down Expand Up @@ -285,6 +287,12 @@ <h2>{{ file_name_reuse() }}</h2>
To avoid this situation, <a href="https://packaging.python.org/guides/using-testpypi/">use Test PyPI to perform and check your upload first</a>, before uploading to <a href="https://pypi.org">pypi.org</a>.
</p>
</section>
<section id="APIs" class="common-question">
<h2>{{ APIs() }}</h2>
<p>
Yes, including RSS feeds of new packages and new releases. <a href="https://warehouse.readthedocs.io/api-reference/">Please see the API reference.</a>
</p>
</section>
</div>
</section>

Expand Down

0 comments on commit a266dda

Please sign in to comment.