build(aio): fix decorator doc "inherited from" heading (#24000)

We should not include the package path in the inherited
from heading for decorator API docs

PR Close #24000
This commit is contained in:
Pete Bacon Darwin 2018-05-23 22:15:15 +01:00 committed by Miško Hevery
parent 66f6a48210
commit 859a3d5784
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
</table>
{% for ancestor in doc.extendsClauses %}{% if ancestor.doc %}
<h3>Inherited from <a class="code-anchor" href="{$ ancestor.doc.path $}">{$ ancestor.doc.id $}</a></h3>
<h3 class="no-toc">Inherited from <a class="code-anchor" href="{$ ancestor.doc.path $}">{$ ancestor.doc.name $}</a> decorator</h3>
{$ renderOptionsTable(ancestor.doc) $}
{% endif %}{% endfor %}
{% endmacro %}