Changeset 926


Ignore:
Timestamp:
Jun 13, 2012 5:44:13 PM (10 years ago)
Author:
jemian
Message:

prepare to restart the effort again, looking at the standard domains supplied with Sphinx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • specdomain/src/specdomain/sphinxcontrib/specdomain.py

    r920 r926  
    7272          ''', re.VERBOSE)
    7373
     74
     75spec_macroparamlist_re = re.compile(r'((\s+\S+)*)')  # split at whitespace
    7476
    7577spec_paramlist_re = re.compile(r'([\[\],])')  # split at '[', ']' and ','
     
    115117        return fullname
    116118
    117     def handle_signature(self, sig, signode):
     119    def handle_signature(self, sig, signode):   # TODO: this logic will have to be changed
    118120        if sig.startswith('#'):
    119121            return self._handle_record_signature(sig, signode)
     
    142144        #modname, name, arglist, retann = m.groups()
    143145        name, arglist, retann = m.groups()
    144         modname = 'spec:def:'         # FIXME:
     146        modname = signode.parent['desctype'] + ":"
    145147
    146148        fullname = self._resolve_module_name(signode, modname, name)
Note: See TracChangeset for help on using the changeset viewer.