python-tldp/tldp/doctypes/example.py

27 lines
633 B
Python

#! /usr/bin/python
# -*- coding: utf8 -*-
from ..utils import logger
class Frobnitz(object):
formatname = 'Frobnitz'
extensions = ['.fb']
signatures = ['{{Frobnitz-Format 2.3}}']
tools = ['executablename', 'another']
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