mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-17 06:20:27 +00:00
Removed old references of Python 2.4, together with compatibility hacks. git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3757 e7d03fd6-7b0d-0410-9947-9c21f3af8025
24 lines
641 B
Python
Executable file
24 lines
641 B
Python
Executable file
#!/usr/bin/env python
|
|
# -*- 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 Exception:
|
|
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)
|