[gi-docgen] template: Fix a copy-paste thinko



commit 3c17557ccf64244d119275bf65fc69a5ad9af150
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Sep 3 01:16:11 2021 +0100

    template: Fix a copy-paste thinko
    
    The enumeration types template uses `enum`, not `class`.

 gidocgen/templates/basic/enum.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gidocgen/templates/basic/enum.html b/gidocgen/templates/basic/enum.html
index 8c56170..b92b6f1 100644
--- a/gidocgen/templates/basic/enum.html
+++ b/gidocgen/templates/basic/enum.html
@@ -51,7 +51,7 @@ SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
     <p id="toc-title">Content</p>
     <ul class="toc-list">
       <li class="toc-list-item"><a href="#description"><span class="link-text">Description</span></a></li>
-      {{ navbar_block(class.type_funcs, "Functions", "#type-functions") }}
+      {{ navbar_block(enum.type_funcs, "Functions", "#type-functions") }}
     </ul>
   </nav>
 </div>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]