summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-03-17 06:45:42 +0100
committerLuke Kanies <luke@madstop.com>2008-03-17 06:45:42 +0100
commit13c6de34951faa574ca53bba99505ddb9daa6c71 (patch)
tree878bed5668ed26e0893bdaea156733a7435fc654 /Rakefile
parent0e26a072fe48cbbb67cb54e6393369de6fe833f8 (diff)
downloadpuppet-13c6de34951faa574ca53bba99505ddb9daa6c71.tar.gz
puppet-13c6de34951faa574ca53bba99505ddb9daa6c71.tar.xz
puppet-13c6de34951faa574ca53bba99505ddb9daa6c71.zip
Adding a rake taks for updating the trac docs
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index f67ad923e..0f2a05b90 100644
--- a/Rakefile
+++ b/Rakefile
@@ -134,3 +134,11 @@ task :dailyclean do
File.unlink(file)
end
end
+
+task :tracdocs do
+ require 'puppet'
+ require 'puppet/util/reference'
+ Puppet::Util::Reference.references.each do |ref|
+ sh "puppetdoc -m trac -r #{ref.to_s}"
+ end
+end