You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
516 B

import os
from sphinx.domains import python as pdom
__version__ = "0.1.0"
class GAttributePyClassmember(pdom.PyClassmember):
def get_signature_prefix(self, sig):
return u'\u2666 '
pdom.PythonDomain.object_types['gattribute'] = pdom.ObjType(
GAttributePyClassmember)
pdom.PythonDomain.directives['gattribute'] = GAttributePyClassmember
pdom.PythonDomain.roles['gattr'] = pdom.PyXRefRole()
def get_html_theme_path():
return os.path.abspath(os.path.join(os.path.dirname(__file__), 'themes'))