oldskool-puppet 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/oldskool/puppet_handler.rb +5 -1
- metadata +3 -3
@@ -14,7 +14,11 @@ module Oldskool
|
|
14
14
|
def handle_request(keyword, query)
|
15
15
|
type = Puppetdoc.new(query)
|
16
16
|
|
17
|
-
{:
|
17
|
+
menu = [{:title => "Type Reference", :url => "http://docs.puppetlabs.com/references/stable/type.html"},
|
18
|
+
{:title => "Function Reference", :url => "http://docs.puppetlabs.com/references/stable/function.html"},
|
19
|
+
{:title => "Language Guide", :url => "http://docs.puppetlabs.com/guides/language_guide.html"}]
|
20
|
+
|
21
|
+
{:template => plugin_template(:type), :type => type.doc, :topmenu => menu}
|
18
22
|
end
|
19
23
|
end
|
20
24
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oldskool-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- R.I.Pienaar
|