Lines Matching refs:path
34 import os.path
62 path = os.path.realpath(
63 os.path.expandvars(self.arguments[0]))
66 if path.startswith(os.sep + "etc"):
69 % (self.name, path))
71 self.arguments[0] = path
88 source_dir = os.path.dirname(os.path.abspath(source))
89 path = directives.path(self.arguments[0])
90 if path.startswith('<') and path.endswith('>'):
91 path = os.path.join(self.standard_include_path, path[1:-1])
92 path = os.path.normpath(os.path.join(source_dir, path))
97 path = nodes.reprunicode(path)
104 self.state.document.settings.record_dependencies.add(path)
105 include_file = io.FileInput(source_path=path,
112 (self.name, SafeString(path)))
154 literal_block = nodes.literal_block(rawtext, source=path,
178 self.options['source'] = path
189 self.state_machine.insert_input(include_lines, path)