Lines Matching full:os
8 import os
17 kern_doc_dir = os.path.dirname(os.path.abspath(__file__))
20 sys.path.insert(0, os.path.join(kern_doc_dir, "sphinx"))
23 sys.path.append(os.path.join(kern_doc_dir, "..", "tools"))
24 sys.path.append(os.path.join(kern_doc_dir, "..", "scripts"))
78 full = os.path.join(kern_doc_dir, p)
80 rel_path = os.path.relpath(full, start=app.srcdir)
88 full = os.path.join(kern_doc_dir, p)
90 rel_path = os.path.relpath(full, start=app.srcdir)
100 if not os.path.samefile(kern_doc_dir, app.srcdir):
105 doc = os.path.basename(app.srcdir)
107 if os.path.exists(os.path.join(app.srcdir, fname + ".rst")):
116 for doc in os.listdir(app.srcdir):
117 fname = os.path.join(doc, "index")
118 if not os.path.exists(os.path.join(app.srcdir, fname + ".rst")):
242 if "SPHINX_IMGMATH" in os.environ:
243 env_sphinx_imgmath = os.environ["SPHINX_IMGMATH"]
380 if "DOCS_THEME" in os.environ:
381 html_theme = os.environ["DOCS_THEME"]
417 if "DOCS_CSS" in os.environ:
418 css = os.environ["DOCS_CSS"].split(" ")
598 rel = os.path.relpath(app.srcdir, start=kern_doc_dir).split('/')
607 rel = os.path.relpath(os.path.join(kern_doc_dir, 'sphinx-includes/subproject-index.rst'),