mirror of https://github.com/tLDP/python-tldp
33 lines
751 B
Python
33 lines
751 B
Python
#! /usr/bin/python
|
|
# -*- coding: utf8 -*-
|
|
|
|
from __future__ import absolute_import, division, print_function
|
|
|
|
import logging
|
|
|
|
from tldp.doctypes.common import BaseDoctype
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class RestructuredText(BaseDoctype):
|
|
formatname = 'reStructuredText'
|
|
extensions = ['.rst']
|
|
signatures = []
|
|
tools = ['rst2html']
|
|
|
|
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
|