linkchecker/doc/rest2htmlnav
2005-01-24 20:29:55 +00:00

25 lines
643 B
Python
Executable file

#!/usr/bin/env python2.4
# Author: David Goodger
# Contact: goodger@users.sourceforge.net
# Revision: $Revision$
# Date: $Date$
# 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)