Lines Matching refs:path
34 import os.path
63 path = os.path.realpath(
64 os.path.expandvars(self.arguments[0]))
67 if path.startswith(os.sep + "etc"):
70 % (self.name, path))
72 self.arguments[0] = path
74 env.note_dependency(os.path.abspath(path))
91 source_dir = os.path.dirname(os.path.abspath(source))
92 path = directives.path(self.arguments[0])
93 if path.startswith('<') and path.endswith('>'):
94 path = os.path.join(self.standard_include_path, path[1:-1])
95 path = os.path.normpath(os.path.join(source_dir, path))
100 path = nodes.reprunicode(path)
107 self.state.document.settings.record_dependencies.add(path)
108 include_file = io.FileInput(source_path=path,
115 (self.name, SafeString(path)))
157 literal_block = nodes.literal_block(rawtext, source=path,
181 self.options['source'] = path
192 self.state_machine.insert_input(include_lines, path)