diff --git a/readthedocs/doc_builder/backends/asciidoc.py b/readthedocs/doc_builder/backends/asciidoc.py deleted file mode 100644 index eac8de3e37c..00000000000 --- a/readthedocs/doc_builder/backends/asciidoc.py +++ /dev/null @@ -1,29 +0,0 @@ -import os -import logging - -from readthedocs.doc_builder.base import BaseBuilder, restoring_chdir -from readthedocs.projects.utils import run - -log = logging.getLogger(__name__) - -class Builder(BaseBuilder): - """ - Ascii Doctor builder - """ - type = 'asciidoc' - - def __init__(self, *args, **kwargs): - super(BaseBuilder, self).__init__(*args, **kwargs) - self.old_artifact_path = os.path.join(self.version.project.checkout_path(self.version.slug), 'site') - - @restoring_chdir - def build(self, **kwargs): - project = self.version.project - os.chdir(project.checkout_path(self.version.slug)) - results = {} - build_command = "%s build " % ( - project.venv_bin(version=self.version.slug, - bin='asciidoctor') - ) - results['html'] = run(build_command, shell=True) - return results