diff --git a/gidocgen/templates/basic/function.html b/gidocgen/templates/basic/function.html index 15dae655a409f90f0c45b961bbd6f8364bec224d..22aef7560f129d2becc8eb30894d2191d66bc59b 100644 --- a/gidocgen/templates/basic/function.html +++ b/gidocgen/templates/basic/function.html @@ -87,6 +87,12 @@ SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later {% if not func.introspectable %} <tr><td>This function is not directly available to language bindings</td></tr> {% endif %} + {% if func.shadows %} + <tr><td>This function is renamed to <a href="func.{{func.shadows}}.html"><code>{{func.shadows_symbol}}()</code></a> in language bindings</td></tr> + {% endif %} + {% if func.shadowed_by %} + <tr><td>The implementation of this function is provided by <a href="func.{{func.shadowed_by}}.html"><code>{{func.shadowed_by_symbol}}()</code></a> in language bindings</td></tr> + {% endif %} </table> </div> diff --git a/gidocgen/templates/basic/method.html b/gidocgen/templates/basic/method.html index 6f7c1772251642d43101bda7e58832333e01863e..401ffa4fd25d2363251845a5bd416a24f3763cf4 100644 --- a/gidocgen/templates/basic/method.html +++ b/gidocgen/templates/basic/method.html @@ -82,6 +82,12 @@ SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later {% if not method.introspectable %} <tr><td>This method is not directly available to language bindings.</td></tr> {% endif %} + {% if method.shadows %} + <tr><td>This method is renamed to <a href="method.{{class.name}}.{{method.shadows}}.html"><code>{{method.shadows_symbol}}()</code></a> in language bindings</td></tr> + {% endif %} + {% if method.shadowed_by %} + <tr><td>The implementation of this method is provided by <a href="method.{{class.name}}.{{method.shadowed_by}}.html"><code>{{method.shadowed_by_symbol}}()</code></a> in language bindings</td></tr> + {% endif %} </table> </div>