diff options
Diffstat (limited to '')
-rw-r--r-- | alabaster/relations.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/alabaster/relations.html b/alabaster/relations.html new file mode 100644 index 0000000..770446c --- /dev/null +++ b/alabaster/relations.html @@ -0,0 +1,21 @@ +<div class="relations"> +<h3>Related Topics</h3> +<ul> + <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul> + {%- for parent in parents %} + <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul> + {%- endfor %} + {%- if prev %} + <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter') + }}">{{ prev.title }}</a></li> + {%- endif %} + {%- if next %} + <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter') + }}">{{ next.title }}</a></li> + {%- endif %} + {%- for parent in parents %} + </ul></li> + {%- endfor %} + </ul></li> +</ul> +</div> |