def find_include_doc(self, d, name):
from metatab import parse_app_url<EOL>include_ref = name.strip('<STR_LIT:/>')<EOL>if include_ref.startswith('<STR_LIT:http>'):<EOL><INDENT>path = include_ref<EOL><DEDENT>else:<EOL><INDENT>if not d:<EOL><INDENT>raise IncludeError("<STR_LIT>"<EOL>.format(name))<EOL><DEDENT>path = join(d, include_ref)<EOL><DEDENT>return parse_app_url(path)<EOL>
Resolve a name or path for an include doc to a an absolute path or url
        :param name: