I'm using a template that builds a navbar with {{prev}} and {{next}} 
expansions to get links to the next item (or previous item) in the contents 
list for each page.

However, what I'm noticing is that the first page in the contents list of 
the master_doc page (let's call this page 'intro') has a {{prev}} link to 
the _last_ page in the contents list of the master_doc (let's call this 
page 'colophon').

What's odd is that 'colophon' page does _not_ have a {{next}} link to 
'intro'... (that is, the template evaluates {%- if next %} as 'false') so 
it doesn't even attempt to render {{next}} ).

Is this intentional behaviour? The Sphinx project docs don't seem to have 
this issue... the first page in the contents list of the master_doc page 
has a {{prev}} link to the master doc...

Can anyone shed light on this issue?

--
Viktor Haag

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/-g6-_3mreJ8J.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to