diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css
index 36eb6c2..73d9e5d 100644
--- a/pagure/static/pagure.css
+++ b/pagure/static/pagure.css
@@ -384,3 +384,11 @@ color:#aaa;
background:#eee;
border:1px solid #ccc;
}
+
+.api code {
+ padding: 0rem 0.4rem;
+}
+
+.api h3 {
+ padding-left: 1em;
+}
diff --git a/pagure/templates/api.html b/pagure/templates/api.html
index 629e5c2..f7a8206 100644
--- a/pagure/templates/api.html
+++ b/pagure/templates/api.html
@@ -5,117 +5,134 @@
{% set tag = "index" %}
{% block content %}
-
-
Pagure API Reference
-This documentation describes the Pagure API v0.
-
-{{ api_doc |replace('h1', 'h2') }}
-
-List of the API endpoints:
-
-
- Projects
-
-
-
-
-
-{% for html in projects %}
-{{ html | InsertDiv | safe }}
-{% endfor %}
-
-
-{% if issues %}
-
- Issues
-
-
-
-
-
-{% for html in issues %}
-{{ html | InsertDiv | safe }}
-{% endfor %}
-
-{% endif %}
-
-
- Pull-requests
-
-
-
-
-
-{% for html in requests %}
-{{ html | InsertDiv | safe }}
-{% endfor %}
+
+
+
+
+
+
+ {{ api_doc |replace('h1', 'h2') }}
+
+
List of the API endpoints:
+
+
+ Projects
+
+
+
+
+
+ {% for html in projects %}
+ {{ html | InsertDiv | safe }}
+ {% endfor %}
+
+
+ {% if issues %}
+
+ Issues
+
+
+
+
+
+ {% for html in issues %}
+ {{ html | InsertDiv | safe }}
+ {% endfor %}
+
+ {% endif %}
+
+
+ Pull-requests
+
+
+
+
+
+ {% for html in requests %}
+ {{ html | InsertDiv | safe }}
+ {% endfor %}
+
+
+
+ Users
+
+
+
+
+
+ {% for html in users %}
+ {{ html | InsertDiv | safe }}
+ {% endfor %}
+
+
+
+ Extras
+
+
+
+
+
+
+ {% for html in extras %}
+ {{ html | InsertDiv |safe }}
+ {% endfor %}
+
+
+
+
+
-
-
- Users
-
-
-
-
-
-{% for html in users %}
-{{ html | InsertDiv | safe }}
-{% endfor %}
-
-
-
- Extras
-
-
-
-
-
-
-{% for html in extras %}
-{{ html | InsertDiv |safe }}
-{% endfor %}
-
-
{% endblock %}
{% block jscripts %}
{{ super() }}
{% endblock %}