From 57e18459fe2e5e1a5c5700893e5ef22e194df481 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 20 Jan 2004 05:04:31 +0000 Subject: Document lib/English. Add top-level aliases to rdoc html output git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/generators/template/html/html.rb | 16 +++++++++- lib/rdoc/generators/template/html/old_html.rb | 44 ++------------------------- 2 files changed, 17 insertions(+), 43 deletions(-) (limited to 'lib/rdoc/generators/template') diff --git a/lib/rdoc/generators/template/html/html.rb b/lib/rdoc/generators/template/html/html.rb index 8ac631490..16955f550 100644 --- a/lib/rdoc/generators/template/html/html.rb +++ b/lib/rdoc/generators/template/html/html.rb @@ -324,9 +324,21 @@ IF:aliases

External Aliases

+ START:aliases - %old_name% -> %new_name%
+ + + + + +IF:desc + + + + +ENDIF:desc END:aliases +
%old_name%->%new_name%
 %desc%
ENDIF:aliases @@ -630,6 +642,8 @@ INDEX = %{ } + end # module Page end # class RDoc +require 'rdoc/generators/template/html/one_page_html' diff --git a/lib/rdoc/generators/template/html/old_html.rb b/lib/rdoc/generators/template/html/old_html.rb index 3398dc808..de19b6696 100644 --- a/lib/rdoc/generators/template/html/old_html.rb +++ b/lib/rdoc/generators/template/html/old_html.rb @@ -721,48 +721,8 @@ END:method_list ENDIF:method_list } -######################################################################## - -ONE_PAGE = %{ - - - - %title% - - - -START:files -

File: %short_name%

- - - -
Path:%full_path%
Modified:%dtm_modified%
-} + CONTENTS_XML + %{ -END:files - -IF:classes -

Classes

-START:classes -IF:parent -

%classmod% %full_name% < HREF:par_url:parent:

-ENDIF:parent -IFNOT:parent -

%classmod% %full_name%

-ENDIF:parent - -IF:infiles -(in files -START:infiles -HREF:full_path_url:full_path: -END:infiles -) -ENDIF:infiles -} + CONTENTS_XML + %{ -END:classes -ENDIF:classes - - -} end end + +require 'rdoc/generators/template/html/one_page_html' -- cgit