'Build PDF docs'

def build_docs_pdf(self):

    if (('pdf' not in self.config.formats) or (self.project.slug in HTML_ONLY) or (not self.project.is_type_sphinx)):
        return False
    return self.build_docs_class('sphinx_pdf')
