All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Misc.htgen.JyLocalGenerator.py Maven / Gradle / Ivy

Go to download

Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

There is a newer version: 2.7.4
Show newest version
"""Generates the documentation for the Jython distribution"""

import JyGenerator


class JyLocalGenerator(JyGenerator.JyGenerator):

    sitelinks = [
        ('http://www.jython.org/',               'Home'),
        ('http://www.python.org/',                'www.python.org'),
        ('http://www.jython.org/download.html',  'Download'),
        ('%(rootdir)s/index.html',                'Documentation'),
        ]

    webmaster = 0
    
    def __init__(self, file, rootdir, relthis):
        if rootdir == '..':
            rootdir = '.'
        JyGenerator.JyGenerator.__init__(self, file, rootdir, relthis)

    def get_corner(self):
        # it is important not to have newlines between the img tag and the end
        # anchor and end center tags, otherwise layout gets messed up
        return '''
''' % \ self._d




© 2015 - 2024 Weber Informatics LLC | Privacy Policy