[gi-docgen/filter-hidden: 1/11] template: Add more sections to the content navbar
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen/filter-hidden: 1/11] template: Add more sections to the content navbar
- Date: Thu, 10 Jun 2021 10:53:30 +0000 (UTC)
commit cbb78ac4317ed30628854ced11c55860547f4d14
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jun 8 13:34:47 2021 +0100
template: Add more sections to the content navbar
gidocgen/templates/basic/class.html | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gidocgen/templates/basic/class.html b/gidocgen/templates/basic/class.html
index 0a7bb7c..c8096cd 100644
--- a/gidocgen/templates/basic/class.html
+++ b/gidocgen/templates/basic/class.html
@@ -60,6 +60,12 @@ SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
{% if CONFIG.show_class_hierarchy and (class.ancestors or class.interfaces) %}
<li class="toc-list-item"><a href="#hierarchy"><span class="link-text">Hierarchy</span></a></li>
{% endif %}
+ {% if class.ancestors %}
+ <li class="toc-list-item"><a href="#ancestors"><span class="link-text">Ancestors</span></a></li>
+ {% endif %}
+ {% if class.interfaces %}
+ <li class="toc-list-item"><a href="#implements"><span class="link-text">Implements</span></a></li>
+ {% endif %}
{{ navbar_block(class.ctors, "Constructors", "#constructors") }}
{{ navbar_block(class.methods, "Methods", "#methods") }}
{{ navbar_block(class.properties, "Properties", "#properties") }}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]