|
|
@ -36,12 +36,13 @@ class DotNetSphinxMapper(SphinxMapperBase):
|
|
|
|
all_files.add(_file)
|
|
|
|
all_files.add(_file)
|
|
|
|
if all_files:
|
|
|
|
if all_files:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
command = ['bash', 'docfx', 'metadata', '--raw', '--force']
|
|
|
|
command = ['docfx', 'metadata', '--raw', '--force']
|
|
|
|
command.extend(all_files)
|
|
|
|
command.extend(all_files)
|
|
|
|
proc = subprocess.Popen(
|
|
|
|
proc = subprocess.Popen(
|
|
|
|
command,
|
|
|
|
command,
|
|
|
|
stdout=subprocess.PIPE,
|
|
|
|
stdout=subprocess.PIPE,
|
|
|
|
stderr=subprocess.PIPE,
|
|
|
|
stderr=subprocess.PIPE,
|
|
|
|
|
|
|
|
shell=True,
|
|
|
|
env=dict((key, os.environ[key])
|
|
|
|
env=dict((key, os.environ[key])
|
|
|
|
for key in ['PATH', 'DNX_PATH', 'HOME']
|
|
|
|
for key in ['PATH', 'DNX_PATH', 'HOME']
|
|
|
|
if key in os.environ),
|
|
|
|
if key in os.environ),
|
|
|
|