<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sphinx_class(self):
 """Property class name formatted for Sphinx doc linking"""

        classdoc = ':class:`{cls} <{pref}.{cls}>`'
        if self.__module__.split('.')[0] == 'properties':
            pref = 'properties'
        else:
            pref = text_type(self.__module__)
        return classdoc.format(cls=self.__class__.__name__, pref=pref)