mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2189: previous sibling link has broken if the file was appeared twice or more
This commit is contained in:
parent
dd74537c62
commit
f85d1a0b99
1
CHANGES
1
CHANGES
@ -14,6 +14,7 @@ Bugs fixed
|
||||
* #2168: Fix raw directive does not work for text writer
|
||||
* #2171: Fix cannot linkcheck url with unicode
|
||||
* #2182: LaTeX: support image file names with more than 1 dots
|
||||
* #2189: Fix previous sibling link for first file in subdirectory uses last file, not intended previous from root toctree
|
||||
|
||||
|
||||
Release 1.3.3 (released Dec 2, 2015)
|
||||
|
@ -1958,6 +1958,8 @@ class BuildEnvironment:
|
||||
if docname in parents_set:
|
||||
# we will warn about this in resolve_toctree()
|
||||
return
|
||||
if docname in relations:
|
||||
return
|
||||
includes = getinc(docname)
|
||||
# previous
|
||||
if not previous:
|
||||
|
Loading…
Reference in New Issue
Block a user