Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
txemavs committed Mar 28, 2018
1 parent f262982 commit f94d270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def run_apidoc():
cmd_path = 'sphinx-apidoc'
if hasattr(sys, 'real_prefix'): # Check to see if we are in a virtualenv
# If we are, assemble the path manually
cmd_path = os.path.abspath(os.path.join(sys.prefix, 'Scripts', 'sphinx-apidoc'))
cmd_path = os.path.abspath(os.path.join(sys.prefix, 'bin', 'sphinx-apidoc'))
subprocess.check_call([cmd_path, '-e', '-o', output_path, "..", '--force', '--separate'])

run_apidoc()

0 comments on commit f94d270

Please sign in to comment.