Skip to content

Commit

Permalink
Fix reversed breadcrumbs in rtd theme (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkozera committed Oct 27, 2020
1 parent b50f32f commit 2d00db9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/about/release-notes.md
Expand Up @@ -21,6 +21,11 @@ The current and past members of the MkDocs team.
* [@d0ugal](https://github.com/d0ugal/)
* [@waylan](https://github.com/waylan/)

## Version 1.1.3 (Under development)

* Bugfix: Output breadcrumbs in the `readthedocs` theme using correct
`root -> ... -> parent -> current page` order, instead of reversed (#2143).

## Version 1.1.2 (2020-05-14)

* Bugfix: Normalize IP addresses and change unsupported address error to a
Expand Down
2 changes: 1 addition & 1 deletion mkdocs/themes/readthedocs/breadcrumbs.html
Expand Up @@ -2,7 +2,7 @@
<ul class="wy-breadcrumbs">
<li><a href="{{ nav.homepage.url|url }}">Docs</a> &raquo;</li>
{% if page %}
{% for doc in page.ancestors %}
{% for doc in page.ancestors[::-1] %}
{% if doc.link %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% else %}
Expand Down

0 comments on commit 2d00db9

Please sign in to comment.