This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Docutils Tiny HTML Writer

Docutils Tiny HTML Writer is another docutils html writer, with very light html output. It will create mainly for use in other project’s like doc generators or web publishers, which want to use their own html headers and footers.

One of possible use:

from docutils.core import publish_string, publish_parts
from docutils_tinyhtml import Writer
from sys import version_info

if version_info[0] < 3:
    from io import open

writer = Writer()
with open("README.rst", encoding="utf-8") as f:
    rst = f.read()

# store full html output to html variable
html = publish_string(source=rst,
                      writer=writer,
                      writer_name='html',
                      settings_overrides={'link': 'link', 'top': 'top'})

# disable system message in html, no in stderr
parts = publish_parts(source=rst,
                      writer=writer,
                      writer_name='html',
                      settings_overrides={'no_system_messages': True})

# store only html body
body = parts['html_title'] + parts['body'] + parts['html_line'] + \
    parts['html_footnotes'] + parts['html_citations'] + \
    parts['html_hyperlinks']

Or you can use rst2html-tiny command tool like standard rst2html:

~$ rst2html-tiny README.rst > README.html       # generate html from reStructured text
~$ rst2html-tiny -h                             # help output

If you have installed recommonmark from https://github.com/rtfd/recommonmark you can use md2html-tiny tool for MarkDown source codes.

Installation

~$ pip install docutils-tinyhtmlwriter
Release History

Release History

1.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
docutils_tinyhtmlwriter-1.2.0-py2-none-any.whl (11.0 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jun 27, 2016
docutils_tinyhtmlwriter-1.2.0-py3-none-any.whl (11.0 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jun 27, 2016
docutils-tinyhtmlwriter-1.2.0.tar.gz (9.3 kB) Copy SHA256 Checksum SHA256 Source Jun 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting