Scrapy, a fast high-level web crawling & scraping framework for Python.
moved parents on top of prev/next links
Ismael Carnales58ce43c14e5c
diff --git a/sites/scrapy.org/templates/docs/doc.html b/sites/scrapy.org/templates/docs/doc.htmlindex c9cd071b3..70aa38630 100644--- a/sites/scrapy.org/templates/docs/doc.html+++ b/sites/scrapy.org/templates/docs/doc.html@@ -13,17 +13,6 @@{{ doc.toc|safe }}{% endif %}-<h3>Browse</h3>-<ul>- {% if doc.prev %}- <li>Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a></li>- {% endif %}- {% if doc.next %}- <li>Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a></li>- {% endif %}-</ul>--{% if doc.parents %}{% for p in doc.parents %}<ul><li><a href="{{ p.link }}">{{ p.title|safe }}</a>@@ -34,4 +23,14 @@</ul>{% endif %}+<h3>Browse</h3>+<ul>+ {% if doc.prev %}+ <li>Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a></li>+ {% endif %}+ {% if doc.next %}+ <li>Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a></li>+ {% endif %}+</ul>+{% endblock %}