Fix #3004: Invalid link types "top" and "up" are used

This commit is contained in:
Takeshi KOMIYA 2016-10-06 22:50:49 +09:00
parent b48cba900e
commit d43259f5f7
2 changed files with 1 additions and 4 deletions

View File

@ -20,6 +20,7 @@ Bugs fixed
* #2988: linkcheck: retry with GET request if denied HEAD request
* #2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" error
if linkcheck_anchors enabled
* #3004: Invalid link types "top" and "up" are used
Documentation

View File

@ -140,10 +140,6 @@
{%- if hasdoc('copyright') %}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
{%- endif %}
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto(master_doc) }}" />
{%- if parents %}
<link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" />
{%- endif %}
{%- if next %}
<link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" />
{%- endif %}