python-tldp/tldp/doctypes/asciidoc.py

30 lines
667 B
Python

#! /usr/bin/python
# -*- coding: utf8 -*-
import logging
logger = logging.getLogger()
from tldp.doctypes.common import BaseDoctype
class Asciidoc(BaseDoctype):
formatname = 'AsciiDoc'
extensions = ['.txt']
signatures = []
tools = ['asciidoc', 'a2x']
def create_txt(self):
logger.info("Creating txt for %s", self.source.stem)
def create_pdf(self):
logger.info("Creating PDF for %s", self.source.stem)
def create_html(self):
logger.info("Creating chunked HTML for %s", self.source.stem)
def create_htmls(self):
logger.info("Creating single page HTML for %s", self.source.stem)
#
# -- end of file