From d464704f111d211c1f1ff9ef23ef1d755054be00 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 15 Aug 2007 19:08:43 +0000 Subject: add tag v1_8_5_54 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_54@12952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .../rdoc/generators/template/html/one_page_html.rb | 122 +++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 ruby_1_8_5/lib/rdoc/generators/template/html/one_page_html.rb (limited to 'ruby_1_8_5/lib/rdoc/generators/template/html/one_page_html.rb') diff --git a/ruby_1_8_5/lib/rdoc/generators/template/html/one_page_html.rb b/ruby_1_8_5/lib/rdoc/generators/template/html/one_page_html.rb new file mode 100644 index 0000000000..19441f4725 --- /dev/null +++ b/ruby_1_8_5/lib/rdoc/generators/template/html/one_page_html.rb @@ -0,0 +1,122 @@ +module RDoc +module Page +###################################################################### +# +# The following is used for the -1 option +# + +CONTENTS_XML = %{ +IF:description +%description% +ENDIF:description + +IF:requires +

Requires:

+ +ENDIF:requires + +IF:attributes +

Attributes

+ +START:attributes + +END:attributes +
%name%%rw%%a_desc%
+ENDIF:attributes + +IF:includes +

Includes

+ +ENDIF:includes + +IF:method_list +

Methods

+START:method_list +IF:methods +START:methods +

%type% %category% method: +IF:callseq +%callseq% +ENDIF:callseq +IFNOT:callseq +%name%%params%

+ENDIF:callseq + +IF:m_desc +%m_desc% +ENDIF:m_desc + +IF:sourcecode +
+%sourcecode%
+
+ENDIF:sourcecode +END:methods +ENDIF:methods +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 -- cgit v1.2.3