linkchecker/doc/rest2htmlnav
2007-11-13 12:38:35 +00:00

24 lines
634 B
Python
Executable file

#!/usr/bin/env python2.4
# -*- coding: iso-8859-1 -*-
# Author: David Goodger
# Contact: goodger@users.sourceforge.net
# Copyright: This module has been placed in the public domain.
"""
Produces custom HTML and machine-parseable navigation info
"""
try:
import locale
locale.setlocale(locale.LC_ALL, '')
except:
pass
from docutils.core import publish_cmdline, default_description
description = ('Generates (X)HTML documents and navigation information '
'from standalone reStructuredText sources. ' +
default_description)
publish_cmdline(writer_name='htmlnav', description=description)