module

RDoc::Generator::HTML::FRAMELESS

v1_9_1_378 - Show latest stable

CSS2 RDoc HTML template

This is a template for RDoc that uses XHTML 1.0 Strict and dictates a bit more of the appearance of the output to cascading stylesheets than the default. It was designed for clean inline code display, and uses DHTMl to toggle the visbility of each method’s source with each click on the ‘[source]’ link.

Frameless basically is the html template without frames.

Authors

Copyright © 2002, 2003 The FaerieMUD Consortium. Some rights reserved.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Constants

BODY = HEADER + %{\n\n<%= template_include %> <!-- banner header -->\n\n<div id="bodyContent">\n\n} + METHOD_LIST + %{\n\n</div>\n\n} + FOOTER

CLASS_INDEX = RDoc::Generator::HTML::HTML::CLASS_INDEX

CLASS_PAGE = RDoc::Generator::HTML::HTML::CLASS_PAGE

FILE_INDEX = RDoc::Generator::HTML::HTML::FILE_INDEX

FILE_PAGE = RDoc::Generator::HTML::HTML::FILE_PAGE

FONTS = RDoc::Generator::HTML::HTML::FONTS

FOOTER = <<-EOF\n<div id="popupmenu" class="index">\n<br />\n<h1 class="index-entries section-bar">Files</h1>\n<ul>\n<% values["file_list"].each do |file| %>\n<li><a href="<%= file["href"] %>"><%= file["name"] %></a></li>\n<% end %>\n</ul>\n\n<br />\n<h1 class="index-entries section-bar">Classes</h1>\n<ul>\n<% values["class_list"].each do |klass| %>\n<li><a href="<%= klass["href"] %>"><%= klass["name"] %></a></li>\n<% end %>\n</ul>\n\n<br />\n<h1 class="index-entries section-bar">Methods</h1>\n<ul>\n<% values["method_list"].each do |method| %>\n<li><a href="<%= method["href"] %>"><%= method["name"] %></a></li>\n<% end %>\n</ul>\n</div>\n</body>\n</html>\nEOF

FRAMELESS = true

FR_INDEX_BODY = RDoc::Generator::HTML::HTML::FR_INDEX_BODY

HEADER = RDoc::Generator::HTML::HTML::HEADER

METHOD_INDEX = RDoc::Generator::HTML::HTML::METHOD_INDEX

METHOD_LIST = RDoc::Generator::HTML::HTML::METHOD_LIST

SRC_PAGE = RDoc::Generator::HTML::HTML::SRC_PAGE

STYLE = RDoc::Generator::HTML::HTML::STYLE

Files

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