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:
parent
66f6a48210
commit
859a3d5784
|
@ -20,7 +20,7 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% for ancestor in doc.extendsClauses %}{% if ancestor.doc %}
|
{% 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) $}
|
{$ renderOptionsTable(ancestor.doc) $}
|
||||||
{% endif %}{% endfor %}
|
{% endif %}{% endfor %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
Loading…
Reference in New Issue