python-tldp/tldp/doctypes/asciidoc.py

31 lines
676 B
Python
Raw Normal View History

2016-02-12 21:25:19 +00:00
#! /usr/bin/python
2016-02-18 21:25:02 +00:00
# -*- coding: utf8 -*-
2016-02-12 21:25:19 +00:00
import logging
2016-02-12 21:25:19 +00:00
from tldp.doctypes.common import BaseDoctype
2016-02-12 21:25:19 +00:00
2016-02-26 19:56:28 +00:00
logger = logging.getLogger(__name__)
class Asciidoc(BaseDoctype):
2016-02-12 21:25:19 +00:00
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