2016-02-11 03:22:23 +00:00
|
|
|
#! /usr/bin/python
|
2016-02-18 21:25:02 +00:00
|
|
|
# -*- coding: utf8 -*-
|
2016-02-11 03:22:23 +00:00
|
|
|
|
|
|
|
from ..utils import logger
|
|
|
|
|
|
|
|
|
|
|
|
class RestructuredText(object):
|
2016-02-12 20:43:45 +00:00
|
|
|
formatname = 'reStructuredText'
|
2016-02-11 03:22:23 +00:00
|
|
|
extensions = ['.rst']
|
|
|
|
signatures = []
|
2016-02-12 20:43:45 +00:00
|
|
|
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)
|
2016-02-11 03:22:23 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# -- end of file
|