diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-21 15:10:11 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-21 15:10:11 +0000 |
| commit | 8e25115d46966bebeb5c7a9d03ab14c4f5785609 (patch) | |
| tree | 8c47841851d680fc1951224f7b77e8819e5052b2 /bin/puppetdoc | |
| parent | 041c07bb9be409b22d443e8db18d6425bccf4f13 (diff) | |
| download | puppet-8e25115d46966bebeb5c7a9d03ab14c4f5785609.tar.gz puppet-8e25115d46966bebeb5c7a9d03ab14c4f5785609.tar.xz puppet-8e25115d46966bebeb5c7a9d03ab14c4f5785609.zip | |
Fixing puppetdoc's output
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1410 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetdoc')
| -rwxr-xr-x | bin/puppetdoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/puppetdoc b/bin/puppetdoc index 1ef00fdd8..2d1a7ea4c 100755 --- a/bin/puppetdoc +++ b/bin/puppetdoc @@ -131,9 +131,9 @@ end def self.arguments puts %{--- inMenu: true -title: Executable Reference +title: Configuration Reference --- -# Puppet Executable Reference +# Puppet Configuration Reference Every Puppet executable (with the exception of ``puppetdoc``) accepts all of these arguments, but not all of the arguments make sense for every executable. @@ -158,7 +158,8 @@ Any default values are in ``block type`` at the end of the description. docs.sort { |a, b| a[0].to_s <=> b[0].to_s }.each do |name, object| - puts "#### #{name.to_s} (<em>#{object.section.to_s}</em>)" + # Make each name an anchor + puts %{#### <a name="#{name.to_s}">#{name.to_s}</a> (<em>#{object.section.to_s}</em>)} puts "" default = "" |
