X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=theme%2Fmkdocs_windmill%2Farticle-nav.html;fp=theme%2Fmkdocs_windmill%2Farticle-nav.html;h=3f21b96aad3fcc368d2fcb043a688dab6b3bb031;hb=4aad369c9728061c97b3de792286e743ee884b09;hp=0000000000000000000000000000000000000000;hpb=619a7e48085be1538c3b01eb93dcb9dc95bf0436;p=AGL%2Fdocumentation.git diff --git a/theme/mkdocs_windmill/article-nav.html b/theme/mkdocs_windmill/article-nav.html new file mode 100644 index 0000000..3f21b96 --- /dev/null +++ b/theme/mkdocs_windmill/article-nav.html @@ -0,0 +1,37 @@ +{% block article_nav %} + {%- if page and (page.next_page or page.previous_page) %} + + {# Workaround to keep mkdocs 0.17 working for now, which has no 'url' filter. #} + {% if mkdocs_version >= "1" %} + {% from "page-nav-urls.html" import next_page, prev_page with context %} + {% else %} + {% set next_page = page.next_page.url %} + {% set prev_page = page.previous_page.url %} + {% endif %} + + + + {%- endif %} +{% endblock %}