module

RDoc::Generator::HTML::Common

ruby latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

The templates require further refactoring. In particular,

  • Some kind of HTML generation library should be used.

Also, all of the templates require some TLC from a designer.

Right now, this file contains some constants that are used by all of the templates.

Constants

HTML_ELEMENT = <<-EOF\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\nEOF

XHTML_FRAME_PREAMBLE = <<-EOF\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">\nEOF

XHTML_STRICT_PREAMBLE = <<-EOF\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\nEOF

Files

  • lib/rdoc/generator/html/common.rb