diff --git a/docs/source/conf.py b/docs/source/conf.py index 1b103401d1279cf20174f2a9950e3f5b3f86c679..d0071ff6a203265a9be2c4362d9636f75c062419 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -2,7 +2,6 @@ import sys import os -import shutil # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -22,14 +21,6 @@ _sphinx_apidoc = path.find_command('sphinx-apidoc') _output_dir = os.path.join(root_path, 'docs', 'source', 'api') _api_dir = os.path.join(root_path, 'avocado') -if ON_RTD: - git = path.find_command('git', False) - if git is not False: - cmd = "%s clone git://github.com/avocado-framework/avocado-virt.git %s" - process.run(cmd % (git, os.path.join(root_path, 'avocado-virt'))) - shutil.move(os.path.join(root_path, 'avocado-virt', 'avocado', 'virt'), - _api_dir) - process.run("%s -o %s %s" % (_sphinx_apidoc, _output_dir, _api_dir)) extensions = ['sphinx.ext.autodoc',