Browse Source

bugfix sphinx GAttribute

miili 1 year ago
parent
commit
2dd740ad7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sphinx_sleekcat_theme/__init__.py

+ 1 - 1
src/sphinx_sleekcat_theme/__init__.py

@@ -10,7 +10,7 @@ class GAttributePyClassmember(pdom.PyClassmember):
 
 
 pdom.PythonDomain.object_types['gattribute'] = pdom.ObjType(
-    pdom.l_('gattribute'), 'gattr', 'obj')
+    GAttributePyClassmember)
 pdom.PythonDomain.directives['gattribute'] = GAttributePyClassmember
 pdom.PythonDomain.roles['gattr'] = pdom.PyXRefRole()