@property<EOL><INDENT>def doc_dir(self):<DEDENT>
from os.path import abspath<EOL>if not self.ref:<EOL><INDENT>return None<EOL><DEDENT>u = parse_app_url(self.ref)<EOL>return abspath(dirname(u.path))<EOL>
The absolute directory of the document