summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/generators
diff options
context:
space:
mode:
authorIan Taylor <ian@lorf.org>2009-06-05 12:39:04 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-06-06 09:12:00 +1000
commit4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch)
tree126540beec3c65448e01e1b48d27275ec4ee6ea4 /lib/puppet/util/rdoc/generators
parent97e6975d69f239e24993315a25a3117b1daa48c3 (diff)
downloadpuppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.gz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.xz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.zip
Removed extra whitespace from end of lines
Diffstat (limited to 'lib/puppet/util/rdoc/generators')
-rw-r--r--lib/puppet/util/rdoc/generators/puppet_generator.rb10
-rw-r--r--lib/puppet/util/rdoc/generators/template/puppet/puppet.rb26
2 files changed, 18 insertions, 18 deletions
diff --git a/lib/puppet/util/rdoc/generators/puppet_generator.rb b/lib/puppet/util/rdoc/generators/puppet_generator.rb
index 22f001164..bf2609fd6 100644
--- a/lib/puppet/util/rdoc/generators/puppet_generator.rb
+++ b/lib/puppet/util/rdoc/generators/puppet_generator.rb
@@ -4,14 +4,14 @@ module Generators
# This module holds all the classes needed to generate the HTML documentation
# of a bunch of puppet manifests.
- #
- # It works by traversing all the code objects defined by the Puppet RDoc::Parser
+ #
+ # It works by traversing all the code objects defined by the Puppet RDoc::Parser
# and produces HTML counterparts objects that in turns are used by RDoc template engine
# to produce the final HTML.
- #
+ #
# It is also responsible of creating the whole directory hierarchy, and various index
# files.
- #
+ #
# It is to be noted that the whole system is built on top of ruby RDoc. As such there
# is an implicit mapping of puppet entities to ruby entitites:
#
@@ -20,7 +20,7 @@ module Generators
# Module Module
# Class Class
# Definition Method
- # Resource
+ # Resource
# Node
# Plugin
# Fact
diff --git a/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb b/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb
index c71f81915..e12b6519c 100644
--- a/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb
+++ b/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb
@@ -239,11 +239,11 @@ div.method-source-code pre { color: #ffdead; overflow: hidden; }
#####################################################################
-### H E A D E R T E M P L A T E
+### H E A D E R T E M P L A T E
#####################################################################
XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?>
-<!DOCTYPE html
+<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
}
@@ -271,7 +271,7 @@ HEADER = XHTML_PREAMBLE + %{
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -280,10 +280,10 @@ HEADER = XHTML_PREAMBLE + %{
return true;
}
-
+
// Make codeblocks hidden by default
document.writeln( "<style type=\\"text/css\\">div.method-source-code { display: none }</style>" )
-
+
// ]]>
</script>
@@ -516,7 +516,7 @@ IF:sectitle
IF:seccomment
<div class="section-comment">
%seccomment%
- </div>
+ </div>
ENDIF:seccomment
ENDIF:sectitle
END:sections
@@ -608,7 +608,7 @@ IF:sectitle
IF:seccomment
<div class="section-comment">
%seccomment%
- </div>
+ </div>
ENDIF:seccomment
ENDIF:sectitle
@@ -720,7 +720,7 @@ END:attributes
</div>
</div>
ENDIF:attributes
-
+
<!-- if method_list -->
@@ -755,7 +755,7 @@ IF:sourcecode
</a>
ENDIF:sourcecode
</div>
-
+
<div class="method-description">
IF:m_desc
%m_desc%
@@ -797,7 +797,7 @@ START:params
END:params
ENDIF:params
</div>
-
+
<div class="method-description">
IF:m_desc
%m_desc%
@@ -935,7 +935,7 @@ METHOD_INDEX = FILE_INDEX
COMBO_INDEX = XHTML_PREAMBLE + %{
<!--
- %classes_title% &amp; %defines_title%
+ %classes_title% &amp; %defines_title%
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -950,7 +950,7 @@ COMBO_INDEX = XHTML_PREAMBLE + %{
parent.docwin.location.href = url;
}
//--></SCRIPT>
-
+
</head>
<body>
<div id="index">
@@ -1019,7 +1019,7 @@ ENDIF:plugins
}
INDEX = %{<?xml version="1.0" encoding="%charset%"?>
-<!DOCTYPE html
+<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">